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 hierarchy levels in jcl?

1471


State the uses of syspring, sysin, sort fields, sum fields and dummy.

1023


if the submitter of a job wants to inform another user about the job completion, how can it be done?

1189


Give the syntax of job specifying jcl statement.

1084


A dd statement consists of 4 fields. Name them?

1374


what sort card you will use to copy the data from one dataset to another dataset?

1138


which parameter is use to declare the name of dataset in dd statement?

1194


What is the function of //cntl statement?

1269


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

1389


what is use of disp parameter in dd statement?

1044


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2179


what JCL Procedures?

1190


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

2097


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2502


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2617