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 is DD statement is used in JCL?

1249


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1349


Explain the purpose of dd dummy statement?

1277


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

1347


Explain how can a jobs execution priority be modified?

1262


what is the difference between JES3 and JES2?

1199


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1440


I need exexution process for JCL programs

2319


How to run cobol program using jcl?

1294


How do you create a temporary dataset?

1246


What are the rules employed while naming the steps in a job?

1210


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

1220


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

1230


how would you create a temporary dataset? And where will you use them?

1499


What are the parameter we cannot use in procedure?

1198