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

Can an individual step be restricted from using all the jobs allowed cpu time?

1603


Explain dd statement in jcl?

1182


Is condition checking possible in jcl?

1258


What is the purpose of disp parameter?

1174


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1190


what is DSN in JCL and what are the parameters to declare the DSN?

1249


What are s0c1, s0c4, s0c5, s0c7 and socb?

1218


How gdg are concatenated?

1166


How does jcl specify the job to the operating system?

1308


How to alter the parameters for the existing gdg?

1256


Suppose I have five jobs to do. But I want to hold one?

1178


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

4968


What does a disposition of (new,catlg,keep) for a dsn mean?

1197


How can a stopped job be started again?

1242


What is the purpose of dd * statement in jcl?

1332