I am trying to Key read a VSAM File that is in a Variable Block Format. But I am Having an Error COde 39 in the file opening. Please Help!
File Length: 4500 to 32752
SELECT FILE 1 ASSIGN TO FILE1
ORGANIZATION IS INDEXED
ACCESS MODE IS DYNAMIC
RECORD KEY IS FILE1-KEY
FILE STATUS IS FILE1-STATUS.
FD FILE1.
RECORD IS VARYING FROM 4500 TO 32752
DEPENDING ON W-REC-SIZE.
01 FILE1-RECORD.
05 FILE1-KEY PIC X(26).
05 FILLER PIC X(32726).
77 W-REC-SIZE PIC 9(05).