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

Write a cobol program making use of the redefine clause.

739


How do we get current date from system with century in COBOL?

807


What are literals?

632


What are the different rules for performing sort operation?

763


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3722






In which area will you utilize 88 level items in cobol?

724


In COBOL, what is the different between index and subscript?

763


Write the code implementing the perform … varying.

646


HOw can I get the negative sign while deduct high value from low value

1792


What is the difference between goback, stop run and exit program in cobol?

932


What is the difference between binary search and sequential search?

643


how to move the records from file to array table. give with code example

2221


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2107


How do you reference the following file formats from cobol programs?

696


What is the problem of ordered sequential files access?

704