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 to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Why would you use find and get rather than to obtain?
What is the difference between external and global variables in COBOL?
) How do u handle errors in BMS macro?
What is the use of intialize verb?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Which mode is used to operate the sequential file?
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)?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How to print 10 to 1 if the input have only 10 digit number?
How can you get the ksds file records into your cobol program?
What are the pertinent COBOL commands?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is report-item in COBOL?
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 ......