IDC3302I ACTION ERROR ON an Endevor BDAM ELIB
search cancel

IDC3302I ACTION ERROR ON an Endevor BDAM ELIB

book

Article ID: 108048

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Running an IDCAMS Repro from a VSAM ELIB to BDAM elib and getting the following errors:

IDC3302I  ACTION ERROR ON targetbdamname  
IDC3309I ** RECORD X'0000000100' NOT WRITTEN.  LENGTH INVALID

Resolution

The error is coming  from the target BDAM file, the LRECL is not equal to the page size of the original ELIB.
If PAGE = 4088, the BDAM file must be define with the same LREC, i.e. DCB=(DSORG=DA,BLKSIZE=4088,LRECL=4088,RECFM=FBS)