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 / nag(igate)
i think , for variable block we add only 2 bytes extra not
4 bytes
Is This Answer Correct ? | 0 Yes | 10 No |
Post New Answer View All Answers
What is the utilization of copybook in cobol?
) how do u code after getting data?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is Pic 9v99 Indicates in COBOL?
How to remove 2 duplicate records and copy only one using job control language?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
How many bytes S(8) comp field occupy and its maximum value?
What is the difference between PIC 9.99 and PIC9v99?
What is the difference between comp and comp-3 usage?
Can we redefine the field of x(200) to less than 200?
How to know whether the module is dynamical or statistical?
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?
How do you reference the fixed block file formats from cobol programs
What is the default value(s) for an initialize and what keyword allows for an override of the default?