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 meaning by design document? who can repared for this?
COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error
What do you do to resolve SOC-7 error?
what happens if we wont give timestamp in precompilation process ?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
What are the differences bitween cobol and cobol-2?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How to retain the Duplicates in the one records?
suppose there is one PF having two members PF1 PF2.PF has one unique key Emp ID.could you tell me uniqueness in PF will be effective across members as well ? assume emp iD 3333 is in member PF1 would same Emp id be exist also in member PF2 ?
can we display comp-3 variables. if we want to display what we have to do . give me one example
I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?
I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?