How to test thru JCL if any file(PS or VSAM) is empty or
not. I do not want to use any COBOL prog or Ezytrieve and
want to do using utility.
Answer Posted / sivakumar
Use comparex/ISRSUPC utility and compare ur file with an
empty file of the same DCB parameter. Retrun code of 28
means the file is empty. return code of 1 means the file is
not empty.
Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
How can return codes be tested before execution of a job step?
What is the function of the dd dcb keyword?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
What do you understand by the term notcat 2 – gs?
How to pass the parameter in parm using linkage section ? (syntax)?
What is the motivation behind coding class parameter in job statement?
Is it possible to define dd statements as you want?
How jcl work to handle various input output file operations?
what is DSN in JCL and what are the parameters to declare the DSN?
What is the function of dd disp parameter?
What do you understand by the terms: joblib and steplib?
What is the use of symbol // in jcl?
what is a jcl?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
Explain the purpose of dd * statement in jcl?