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
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
what is the use of IEBGENER utility?
what is JCL?
What is the purpose of dd * statement in jcl?
how JCL works?
What is the use of disp parameter?
what JCL Procedures?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
What is the function of the steplib dd statement?
what is use of dsn parameter in dd statement?
For what purpose steplib and joblib are used ?
What is the function of the dd avgrec keyword in sms datasets?
What is the purpose of the dd keylen parameter?
What is the function of //cntl statement?
what is the resolution for sb37 error