Corrective action for OPEN statement failing for VSAM files (FILE STATUS 39)
Change your program file definitions or the RECORDSIZE defined in your VSAM files associated with IDCAMS to match according to the following table. The following rules apply to VSAM ESDS, KSDS, and RRDS file definitions:
File type
|
Rules |
---|---|
ESDS and
KSDS VSAM |
RECORDSIZE(avg,m) is specified where avg is the average size of the COBOL records, and is strictly less than m; m is greater than or equal to the maximum size of a COBOL record. |
RRDS VSAM
|
RECORDSIZE(n,n) is specified where n is greater than or equal to the maximum size of a COBOL record. |