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 / vinay sonar

If file is empty you will get return code 4.
So put always true confition COND=(4,EQ) in step2.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does jcl specify the job to the operating system?

1308


what are the statements that are not valid to be included in an include statement?

1433


How to do automated restart when a job abend?

1477


What is the significance of addrspc parameter in the exec statement?

1131


which utility is used to sort a file in jcl?

1277


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2811


what is DD statement is used in JCL?

1245


I need exexution process for JCL programs

2319


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1611


what is JCL?

1220


Explain how can values be passed from the job stream to an executable program?

1312


What statement can be used to send data to another mvs jes3 node?

1688


Explain how can the submitting users racf authority be overridden in a job stream?

1190


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

1470


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

1203