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

How do you handle empty files in a JCL ?

Answer Posted / bharani

Read first record of the file using IDCAMS, It will return
the cc=0 if the file is not empty, otherwise it returns
CC=4.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what happens in execution stage in job processing?

1129


How does the jcl specify the job to os?

1137


is there any way to execute more than one proc in the same exec statement at the same time..?

2620


Is their any limit for data sets?

1171


how can the same proc be re-used and called by many jobs?

1489


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

1277


What are the difference between jcl and jes?

1596


Is it possible to code instream data in a PROC?

1313


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

1057


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

1148


Does jcl support automatic restart?

1216


Explain the function of a dd statement?

1188


What is jcl in mainframe, and how many types of jcl statements are there for a job?

1178


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

1099


Differentiate between the joblib and the steplib statements?

1413