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 diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there discription? What is retrive nth maximum salary from salary DB2 table. Can we redefine COM-3 variable with varchar variable?
What is an in-line perform ?
can we redefine 77 level item is it possible
Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
i WANT ALL ERROR codes IN CICS and DB2
how to resolve the file status 47.......
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all
can we use COPY statement in w-s section? how?
how will u pass dadta to cobol+db2 program...?
what is jcl approach for programming?
how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please