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

There are 5 steps in a Job. How to bypass the first step
by making use of only COND Parameter and not using any
Restart and IF/THEN/ELSE parameter?

Answer Posted / ajayre

Guys Sorry to say Option Cond=(O,LE) wont work in this case.

Please find the below .

//X5PAKR5J JOB (X5P,AKR,5,00000),'TEST CONDITION',
//MSGLEVEL=(1,1),CLASS=Z,MSGCLASS=Z,PRTY=04,NOTIFY=&SYSUID
//STEP5 EXEC PGM=IEFBR14,
// COND=only
//SYSPRINT DD SYSOUT=*
//SYSOUT DD *
//STEP6 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//SYSOUT DD *
//STEP7 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//SYSOUT DD *
//STEP8 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//SYSOUT DD *

Result:-
STEP5 - STEP WAS NOT RUN BECAUSE OF COND = ONLY
STEP5 - STEP WAS NOT EXECUTED.
STEP6 - STEP WAS EXECUTED - COND CODE 0000
STEP7 - STEP WAS EXECUTED - COND CODE 0000
STEP8 - STEP WAS EXECUTED - COND CODE 0000

COND=(0,LE) will not work.Please try it .

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of disp parameter?

1134


Explain the purpose of dd dummy statement?

1204


which utility is used to sort a file in jcl?

1211


Name the statement which can be used to send data to another mvs jes3 node?

1171


What is the function of the dd dcb keyword?

1328


Explain the job statement in jcl?

1154


Name a few IBM utility programs, and explain its function.

4959


Define concatenating?

1093


I need exexution process for JCL programs

2268


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2286


Is it possible to define dd statements as you want?

1105


What is the function of the dd mgmtclas keyword in sms datasets?

1222


In job processing, what happens in conversion stage?

1185


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9736


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

2247