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 | 5 No |
Post New Answer View All Answers
What dd statement is used to supply the name of a dataset?
What is the syntax of JCL statement?
In job processing, what happens in execution stage?
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 are the parameter we cannot use in procedure? How many instream we can write in single jcl?
Can I send output of job to my remote device careerride123?
Is acct parameter mandatory?
What statement can be used to send data to another mvs jes3 node?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Explain how can the attributes of one sms dataset be copied to another dataset?
which utility is used to sort a file in jcl?
how you can direct the data to spool using SYSOUT option?
Explain the purpose of dd dummy statement?
What is the purpose of the dd keylen parameter?
what is the compile process of cobol program expalin with code