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

Is it possible to define dd statements as you want?

1122


How do you create a temporary dataset?

1194


whats the diff bw the evaluate also and and?

2352


What do you understand by the term job time – out and how can you overcome that?

1036


write a jcl to execute a job by 7:00 am on jan 20,1986?

1116


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

2265


Is there any command to check wether the ps file is in sorted order?

2893


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

1652


In job processing, what happens in conversion stage?

1204


What are hierarchy levels in jcl?

1527


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

1185


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

1088


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1416


Can we use DISP=SHR in output file in JCL

1423


Can we call instream to catalog and catalog to instream?

1150