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


Please Help Members By Posting Answers For Below Questions

What is the utilization of copybook in cobol?

657


) how do u code after getting data?

1580


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


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?

1808


What is Pic 9v99 Indicates in COBOL?

729






How to remove 2 duplicate records and copy only one using job control language?

755


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.

934


How many bytes S(8) comp field occupy and its maximum value?

1634


What is the difference between PIC 9.99 and PIC9v99?

783


What is the difference between comp and comp-3 usage?

681


Can we redefine the field of x(200) to less than 200?

820


How to know whether the module is dynamical or statistical?

656


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?

6836


How do you reference the fixed block file formats from cobol programs

707


What is the default value(s) for an initialize and what keyword allows for an override of the default?

697