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 operation is performed by job statement?
How jcl is used for testing batch programs?
Explain about ISPF/TSO Commands
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
what is the purpose of coding notify parameter in job statement?
What is the function of dd disp parameter?
What is one line to pass PARM from JCL to COBOL?
How jcl work to handle various input output file operations?
write a jcl to execute a job by 7:00 am on jan 20,1986?
Is it possible to left uncode disp?
What is the function of the dd dcb keyword?
How do you access an uncatalogued dataset in a jcl?
Differentiate between the joblib and the steplib statements?
what is the use of IEBGENER utility?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?