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 / naren

IFEMPTY utility is used to check the file is empty or not,
if the return code of this step is 4 then the file is empty.

Is This Answer Correct ?    15 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

975


Explain the function of the dd dcb keyword?

931


What is the purpose of disp parameter?

835


When output dataset space is required, what quantity categories are used?

1080


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1086


What are hierarchy levels in jcl?

1235


What is NOTCAT ?

1030


what is the JCL statement consists of?

891


how JCL works?

1002


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

2251


What are the parameter we cannot use in procedure?

819


What is the function of dd name parameter with a 2 part structure; audit.report?

941


What are steplib and joblib? What for they are used?

889


Explain how can a stopped job be started again?

855


What parameter directs the output of the job log dataset?

978