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

Is it possible to code instream data in a PROC?

1317


How can a jobs execution priority be modified?

1279


Explain about LMQUERY�give a dialog information about a data set

1431


What is the difference between run mode and addressing mode?

1236


Explain the function of a dd statement?

1195


Is acct parameter mandatory?

1191


how to do automated restart when a job abends?

1375


how to compare two datasets without using superce because output is limited to 133 bytes

2096


a dd statement has 2 types of parameters. Name them?

1125


How can the attributes of one sms dataset be copied to another dataset?

1413


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2443


What is the purpose of the dd keylen parameter?

1208


which utility is used to sort a file in jcl?

1210


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

2343


What parameter of the job statement is used to limit the cpu time consumed by the job?

1269