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 does the IS NUMERIC clause establish ?
i need a small 3d program using inline and outline.
What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?
8 Answers Arigo Infotech, IBM,
is it possible to rename 01 level?
RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE
have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..
1) can we display the index?
I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
How to Write the RESTART Logic Using COBOL?
4 Answers GalaxE, L&T, Syntel, TCS,
How can you submit a job from COBOL programs?
can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)