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
By adding an ICETOOL (DFSORT) step you can force a return
code on empty with the COUNT (dd) EMPTY this will set RC to
12 so your Batch scheduler may not like it.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What parameter of the job statement is used to limit the cpu time consumed by the job?
how do you access an uncataloged dataset in a jcl?
when does a dataset go uncataloged?
Explain the hierarchy levels in jcl?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
When output dataset space is required, what quantity categories are used?
What is the function of //cntl statement?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What does a disposition of (MOD,DELETE,DELETE) mean ?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Differentiate between addressing mode and run mode.
Explain the function of //cntl statement?
How do you overcome this limitation ?
How dummy is used in jcl?