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?
Answers were Sorted based on User's Feedback
Answer / jagan
Narayan - A small correction LRECL for fixed - 80 and LRECL
for Variable block records is 132+4 = 136 .
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / nag(igate)
i think , for variable block we add only 2 bytes extra not
4 bytes
Is This Answer Correct ? | 0 Yes | 10 No |
What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?
How can you declare the file ?
State the various causes of s0c1, s0c5 and s0c7.
which one is better among static call and dynamic call?
What is the difference between comp and comp-3 usage?
how to convert the recors form vsam file to db2 table tru file aid
how you will define variables length in cobol.
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.
what r the types of perform statement
Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.
The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above
How are the next sentence and continue different from each other?