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

using IDCAMS utitlity

Print infile(file name) count(1)

it will check whether the file is empty or not

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is one line to pass PARM from JCL to COBOL?

4958


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1838


List in order the hierarchical levels of jcl?

1114


How jcl is used for testing batch programs?

1285


What is the difference between run mode and addressing mode?

1253


What is jcl in mainframe, and how many types of jcl statements are there for a job?

1196


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2564


What do you understand by the terms: joblib and steplib?

1178


Why block size is multiple of lrecl in jcl?

1427


Where & How Do You Code Identifier In Jcl?

1286


Explain how can the disposition of sysout datasets be set for an entire jobstream?

1090


Explain the hierarchy levels in jcl?

1683


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

1463


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1228


how JCL works?

1269