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 can you get the ksds file records into your cobol program?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
what happens if parmparameter passes zero bytes to the program
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the difference between comp and comp-3 usage?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
how do you define single dimensional array and multidimensional array in your cobol?
Name the sections present in data division.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Can we change the password using ALTER? anyone tried and changed?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is a scope terminator give example?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Write down the divisions of cobol program?