WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH &
WHAT IT CONTAIN IN THAT LENGTH
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How many maximum number of procedures can we write in one COBOL program?
What is the LINKAGE SECTION used for?
sample code for read a 2nd record from last in flatfile how can do?
Hi Devolopers.. i need ur help.. i have 3 years of exp in Manual testing and SQL, next month onwards i shifted in to MAINFRAME TESTING... i have ZERO Knowledge abt mainframes.... PLS SUGGEST ME WHAT I LEARN in AMEERPET? mainframe testing or mainframe total devolopment subject... AS a devoloper u know every thing tester what to do PLSSSSSSSSS help me ITS VERY URGENT...
Minimum how many Number of Paragraphs are there in ID- Divison?
What is the different between index and subscript?
What is the difference between working storage copybook and linkage section copybook?
what are difference organizations in cobol and access mode in cobol? can you expalin what organization means while declaring for ksds,esds,rrds?
consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
i want a program using by if, evaluate , string, unstring, perform, occurs?
in real time what is the suitable exp where in-stream procedure is better then catalog procedure.