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...

We are using 2 files , file one has data, file two is
empty.Using jcl how can we find the other file is empty?

Answer Posted / sundar

Using IDCAMS utility

In SYSIN:
PRINT(infile) COUNT(1)

If this step return 4 then the file is empty otherwise if
return 0 then the file is not empty.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to left uncode disp? If yes, how?

1142


Explain the purpose of dd * statement in jcl?

1021


what are the types of abends that occur on job failure? And explain the possible causes of these

1573


Explain the hierarchy levels in jcl?

1642


What do you know about jcl?

1097


What is condition checking in jcl? Is this possible?

1070


Explain how can the submitting users racf authority be overridden in a job stream?

1090


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

1022


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?

1262


State the uses of syspring, sysin, sort fields, sum fields and dummy.

1032


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2193


how JCL works?

1218


which utility is used to sort a file in jcl?

1180


Explain the purpose of dd dummy statement?

1169


Define concatenating?

1058