Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?
Answer Posted / nbohr02
You could write a REXX EXEC to read your required files then
have the exec sumbit the job to the internal reader with
either omitted steps or condition step coding. The IEBPTPCH
technique will work too.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
which utility is used to sort a file in jcl?
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?
Explain how can the attributes of one sms dataset be copied to another dataset?
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
In job processing, what happens in execution stage?
How to override loadlib?
Explain the function of the dd dcb keyword?
What are some jcl statements that are not allowed in procedures?
Explain the hierarchy levels in jcl?
In job processing, what happens in conversion stage?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
How dummy is used in jcl?
What do you understand by the term notcat 2 – gs?
How does the jcl specify the job to os?