WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH &
WHAT IT CONTAIN IN THAT LENGTH
Answer Posted / narinder
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.
Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
) How do u handle errors in BMS macro?
What is the difference between Call and a Link?
Explain how you can characterize tables in cobol?
What are declaratives and what are their uses in cobol?
what are decleratives in cobol?
What is comp-1 and comp-2?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the difference between perform … with test after and perform … with test before?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What kind of error is trapped by on size error option?
How do you reference the fixed block file formats from cobol programs
What is report-item in COBOL?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
Name the sections present in data division.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?