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?

Answers were Sorted based on User's Feedback



There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and ..

Answer / sakkara

give COND=ONLY in the JCL for that step.

Is This Answer Correct ?    25 Yes 4 No

There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and ..

Answer / marekj

Answer #1 is correct.

Is This Answer Correct ?    7 Yes 2 No

There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and ..

Answer / 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

There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and ..

Answer / chiru

COND=ONLY will by pass the first step.I checked and this
is working.

Is This Answer Correct ?    4 Yes 1 No

There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and ..

Answer / nagesh

There is no way you can skip the first step of a job from
executing. However further steps can be bypassed by coding
cond=(o,le,).

Is This Answer Correct ?    8 Yes 6 No

There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and ..

Answer / sivakumar sekharannair

That was correct. cond=(0,le) won't work for first step of
jcl.
Sysout details when cond=(0,le) was coded
-JOBNAME STEPNAME PROCSTEP RC
-ESNKMAA PS0010 00
-ESNKMAA PS0020 00
-ESNKMAA PS0030 00

Sysout details when cond=ONLY was coded
-ESNKMAA PS0010 FLUSH
-ESNKMAA PS0020 00
-ESNKMAA PS0030 00

Is This Answer Correct ?    2 Yes 0 No

There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and ..

Answer / amit

Restart the Job from 2nd step: First step will be Skipped
automatically :)

Is This Answer Correct ?    0 Yes 0 No

There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and ..

Answer / ibm

just comment it out the step....

Is This Answer Correct ?    0 Yes 1 No

There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and ..

Answer / ch.mohan

we can't use first step in cond parameter

Is This Answer Correct ?    0 Yes 1 No

There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and ..

Answer / prasad

cond=(o,le)

Is This Answer Correct ?    7 Yes 10 No

Post New Answer

More JCL Interview Questions

How is a GDG base created?

5 Answers  


When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?

6 Answers  


how to run batch program without jcl?

3 Answers   HSBC, IBM,


i created one base gdg with lrecl = 100 , now i need to create versions with different lrecl =150,200 can it be possible to create like tht ?

1 Answers   Patni, Syntel,


What is a procedure?

1 Answers  


In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?

2 Answers   HP,


There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem?

9 Answers   Infosys,


We are aware of eliminating the duplicate records from outyput fiel using sort utility. Can we get the duplicate records in to another file in the Same sort utility?

2 Answers  


Explain how can a stopped job be started again?

0 Answers  


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

0 Answers   Keane India Ltd,


How many days does a job remain in spool

7 Answers   Syntel,


I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.

2 Answers   Syntel,


Categories