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

Suppose i have 2 steps in my pgm. Step1- creates a file,
Step2 - generates report from file in step1, What changes
have to be made in Step2, so that if the file in Step1 is
empty Step2 should not be executed? No changes to be made to
Step1.

Answer Posted / sreedhar naidu dhekodna

In the above Question there are no details about how the
file is getting created say, whether they are creating a
file using a program which may or may not populate data
into the file or using some IBM utilities for the sake of
only creation of file.

Consider the first Case: If file is getting created in a
step where the program may or maynot populate the file,

Then we can use IDCAMS or INSYNC or FILEAID or some
other utilities to check the emptiness of a file.

If it is the other case: Using file creation utilities only
for the sake of creation then only we can use cond
parameter.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name what parameter directs the output of the job log dataset?

1022


Is automatic restart possible in jcl? If yes, how?

1081


Must tape dataset definitions include vol=ser specifications?

1667


What is the function of the dd dcb keyword?

1289


What do you understand by the term notcat 2 – gs?

1208


What are some jcl statements that are not allowed in procedures?

1190


What is multithreading in jcl?

1409


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

1240


Can we call instream to catalog and catalog to instream?

1102


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1247


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

1142


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

1152


what is “Cond= even” and “Cond=only”?

1261


What is the function of a dd statement?

1161


Name the parameters which can be used to limit the number of records written to a sysout dataset?

1116