Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

is there any way to execute more than one proc in the same exec statement at the same time..?

2673


How to execute 2nd and 4th steps among 5 steps in jcl proc?

1403


How to submit jcl through a cobol program?

1191


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

1360


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1376


What are hierarchy levels in jcl?

1570


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

1518


what is the difference between JES3 and JES2?

1191


Are there any set of rules for the names of the steps used in a job? What are they?

1117


What is Cataloged Procedures?

1203


List the different components of jcl statement?

1146


Which dd parameters are required?

1243


Explain about ISPF/TSO Commands

2016


how can you check if a file is empty using jcl?

1484


What are the utility programs in jcl?

1213