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

Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?

Answer Posted / saikat

By using a simple selcopy we can determine whether the file
is empty or not. IF file is empty then we can set the
return code of the step in the selcopy code.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a jcl to execute a job by 7:00 am on jan 20,1986?

1162


What is timing concept in mainframe?

2264


In sms datasets, what is the function of the dd avgrec keyword?

1155


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

1685


When space is allocated for an output dataset, what units can be used?

1326


what are JCLLIB and STEPLIB in JCL?

1227


What are the difference between jcl and jes?

1657


What is the function of a dd statement?

1251


What is use of restart and how to use it?

1358


what is DSN parameter and DISP parameter is used for?

1207


What are the parameters that are used in creating a gdg?

1272


what is the purpose of coding notify parameter in job statement?

1199


How to override loadlib?

2110


List in order the hierarchical levels of jcl?

1147


How to run cobol program using jcl?

1291