We are using 2 files , file one has data, file two is
empty.Using jcl how can we find the other file is empty?
Answer Posted / deepak dada, jaipur
the handling would happen
if the file is empty then pass the zero to return code in
cobol program
then go to jcl step and check for the conditiom code( 0,
eq) where the program is getting called and do whatever you
want to do
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What does a disposition of (new,catlg,keep) for a dsn mean?
how can you check if a file is empty using jcl?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
what is the compile process of cobol program expalin with code
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
What is the purpose of dd dummy statement?
what is JCL?
How do you create a temporary dataset?
How can unused space allocation be returned to the system when a dataset is closed?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
What do you understand by the terms: joblib and steplib?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
What is Cataloged Procedures?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?