WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH &
WHAT IT CONTAIN IN THAT LENGTH
Answer Posted / mainframe.rahulz
First thing is we can see this kind of differece only in VB
files not in fixed block files.
LRECL of VB file will contain the maximum record length of
a file + 4 bytes RDW(Record Descriptor Word) field which
gives the length of the record as the file contains
variable record lengths.
Example : if we have EMP-FILE VB file which contains 80
THRU 100 CHARECTERS
So the LRECL of this file is going to be 100+4 which is 104
bytes.
Please do let me know in case of any comments/queries.
| Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
What type of SDLC u followed? Why?
explain sorting techniques in cobol program?
what is the use of outrecord?
Whats the difference between search & search ALL?
IF I mention stop run in CICS what happens?
What is Pic 9v99 Indicates in COBOL?
how do you define single dimensional array and multidimensional array in your cobol?
Write a program to explain size error.
What is the difference between Call and a Link?
Explain how to differentiate call by context by comparing it to other calls?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the difference between comp and comp-3?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What are INPUT PROCEDURE and OUTPUT PROCEDURE?