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 / narayan
For Fixed block LRECL=8
and for Variable block LRECL=136 (132+4)
| Is This Answer Correct ? | 21 Yes | 5 No |
Post New Answer View All Answers
Define cobol?
What are the various section in data division and briefly explain them.
Name the sections present in data division.
How do u write test cases?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
what is difference between cobol and cobol/400
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
A table has two indexes defined. Which one will be used by the SEARCH?
What type of SDLC u followed? Why?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
How do you get the data to code the BMS macro?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Write the code to count the sum of n natural numbers.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Can we redefine the field of x(200) to less than 200?