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


Please Help Members By Posting Answers For Below Questions

When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1133


what is the use of IEBGENER utility?

870


what is JCL?

913


What is the purpose of dd * statement in jcl?

989


how JCL works?

999


What is the use of disp parameter?

836


what JCL Procedures?

936


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2407


What is the function of the steplib dd statement?

916


what is use of dsn parameter in dd statement?

892


For what purpose steplib and joblib are used ?

863


What is the function of the dd avgrec keyword in sms datasets?

1047


What is the purpose of the dd keylen parameter?

912


What is the function of //cntl statement?

1045


what is the resolution for sb37 error

8326