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 are the jcl procedures?

1086


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2410


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

1262


Explain the purpose of dd * statement in jcl?

1031


What are the 2 types of parameters in dd statement?

1127


how you can access an uncataloged dataset in a JCL?

1100


what is use of disp parameter in dd statement?

1069


How would you understand error(execution phase)?

1209


What is the difference between run mode and addressing mode?

1194


How can a jobs execution priority be modified?

1257


How can a fb file convert to vb file using sort program?

1301


What is the use of disp parameter?

1106


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

1104


Differentiate between the joblib and the steplib statements?

1383


how can you check if a file is empty using jcl?

1376