Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?
Answer Posted / saikat
By using a simple selcopy we can determine whether the file
is empty or not. IF file is empty then we can set the
return code of the step in the selcopy code.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
which utility is used to run a cobol-db2 program?
what is the compile process of cobol program expalin with code
what is the use of IEBGENER utility?
What are the 2 types of parameters in dd statement?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
whats the diff bw the evaluate also and and?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
Explain dfsort utility?
which parameter is used to check the syntax of a jcl without executing it?
what is the purpose of coding class parameter in job statement?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
what sort card you will use to copy the data from one dataset to another dataset?
Where can program checkpoints be stored for use in a restart?
When space is allocated for an output dataset, what units can be used?
Are there any set of rules for the names of the steps used in a job?