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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

984


Define static linking and dynamic linking.

669


For rewrite, why is it mandatory that file needs to be opened?

623


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1231


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

644






Write a program to explain size error.

677


Can we change the password using ALTER? anyone tried and changed?

1549


what is the difference between COBOL2 AND COBOL390?

2455


What is the difference between binary search and sequential search?

643


What are the different types of condition in cobol and write their forms.

660


how do you reference the printer file formats from cobol programs

667


how do you reference the rrds file formats from cobol programs

802


What is static and dynamic call in cobol?

598


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.

5695


Define cobol?

866