WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS
ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR LRECL OF FIXED
ONE AS 80 AND 2ND RECORD AS 132. WHAT WE NEED TO DECLEAR
LRECL FOR THOSE 2 FILES IN JCL?
Answer Posted / narayan
For Fixed block LRECL=8
and for Variable block LRECL=136 (132+4)
| Is This Answer Correct ? | 21 Yes | 5 No |
Post New Answer View All Answers
Define cobol?
What are the different open modes available in cobol?
What is the difference between PIC 9.99 and PIC9v99?
What is the compute verb? How is it used?
What is the difference between perform … with test after and perform … with test before?
How do u write test cases?
What is a SSRANGE and NOSSRANGE?
When is inspect verb is used in cobol?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and 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 ......
How arrays can be defined in COBOL?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is a report item?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?