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 a subscript ?
how do you reference the variable unblock file formats from cobol programs
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please
how to check whether the open command of a sequential file is successful? or not?
how do you reference the fixed unblock file formats from cobol programs
how to convert vsam table into DB2 table?
created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How do you submit JCL via a Cobol program?
Whats the use of Examine command? can someone help me?