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


Please Help Members By Posting Answers For Below Questions

) How do u handle errors in BMS macro?

1618


What is the difference between Call and a Link?

889


Explain how you can characterize tables in cobol?

820


What are declaratives and what are their uses in cobol?

934


what are decleratives in cobol?

1999


What is comp-1 and comp-2?

936


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)?

842


What is the difference between perform … with test after and perform … with test before?

1147


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2228


What kind of error is trapped by on size error option?

954


How do you reference the fixed block file formats from cobol programs

912


What is report-item in COBOL?

894


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?

1077


Name the sections present in data division.

901


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

969