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

Use the SORT utility with NULLOUT=RC04 OR RC16..If the file
is empty the step returns either 04 or 16 depending on what
you coded.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the various stages of job processing?

1345


how JCL works?

1323


How is a type of file defined in the jcl that executes the cobol program?

1239


Explain the function of dd disp parameter?

1172


Which dd parameters are required?

1242


What is the purpose of dd * statement in jcl?

1330


Explain about LMFREE�free data set from its association with data ID

1674


what is use of disp parameter in dd statement?

1150


In job processing, what happens in conversion stage?

1239


Explain dfsort utility?

1400


Matching Logic in Jcl not in cobol.Could any one please answer this question

4223


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

1310


How to override loadlib?

2110


Suppose I have five jobs to do. But I want to hold one?

1174


How jcl is used for testing batch programs?

1346