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
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
what are the types of abends that occur on job failure? And explain the possible causes of these
when can a job time-out occur? How to overcome that?
a dd statement has 2 types of parameters. Name them?
Explain about LMFREE�free data set from its association with data ID
what are the various stages of job processing?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
how would you create a temporary dataset? And where will you use them?
Which statement is used to identify the private libraries in job?
what is use of dcb parameter in dd statement?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
In job processing, what happens in execution stage?
what is use of space parameter in dd statement?
what is the use of IEBGENER utility?