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
is there any way to execute more than one proc in the same exec statement at the same time..?
How does jcl specify the job to the operating system?
Name what parameter directs the output of the job log dataset?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Why include statement is used in a jcl?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
what is the difference between JES3 and JES2?
what is JCL?
Explain the function of dd name parameter with a 2 part structure; audit.report?
Explain the function of a dd statement?
What is the function of //jcllib statement?
how to run batch program without jcl?
What is the purpose of dd dummy statement?
Explain the hierarchy levels in jcl?
What is the use of disp parameter?