Question { Cap Gemini, 23662 }
WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH &
WHAT IT CONTAIN IN THAT LENGTH
Answer
In JCL, LRECL NEEDS TO BE 4 EXTRA THAN THE COBOL FILE LENGTH in case of Variable Block File. Since length of each record varies in the file, the first 4 bytes contains the length of the corresponding record.
Please correct me if I am wrong.