Definition of COND parameter in JCL

Answers were Sorted based on User's Feedback



Definition of COND parameter in JCL..

Answer / guest

COND is a condition parameter, consists of 2 sub parameters,
1st - return code from the previous step, 2nd - condition.
If COND is true, the step on which COND is coded will be
BYPASSED.

Is This Answer Correct ?    30 Yes 5 No

Definition of COND parameter in JCL..

Answer / suresh

If the condition satisfies it won't execute the current
step..it will bypass the current step..

Is This Answer Correct ?    15 Yes 2 No

Definition of COND parameter in JCL..

Answer / kavya

COND parameter specifies the return code test which the
system uses to determine whether a JOB wil continue
processing or not.If the test is not specified then the
system executes the job step else system bypasses all the
remaining steps.

Is This Answer Correct ?    11 Yes 6 No

Definition of COND parameter in JCL..

Answer / vish

To be more specific, COND parameter is used to determine
whether to execute a particular steps or steps based on the
return from a previous step (s). e.g. you may want to send
an email notification to someone ONLY if a particular Job
step abends or return a return code greater than acceptable
norm. In such situation the EMAIL STEP (ideally should be
the next step of the step whose notification is needed if
abend occurs) can be coded with COND=ONLY. Similarly
COND=EVEN will execute a step EVEN if the previous step
abended. We can specify two parameters for COND in oder for
the Job to decide whether to execute the step or not. e.g.
COND=(0,LE) - This will execute the step only if the return
code of the previous step is Zero.

Is This Answer Correct ?    10 Yes 9 No

Definition of COND parameter in JCL..

Answer / lavanya

hi,

we can code cond parameter on both job and exec
stmts.very step has to be executed a return code upon
completion.that is known as condition code.condition is
used to control the execution of the subsequent
steps.always the condition parameter based on the previous
step.suppose the given cond is true,the step is not
executed,otherwise it will bypassed to its next step.
FOR EX:-
JOB CARD
//STEP1 EXEC PGM=ABC
//STEP2 EXEC PGM=XYZ,COND=(4,LT,STEP1)
HERE THE CONDITION IS TRUE,
so,step will not executed.

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More JCL Interview Questions

Name what parameter directs the output of the job log dataset?

0 Answers  


How do you find which GDG is using which dataset?

3 Answers   Patni,


When space is allocated for an output dataset, what units can be used?

0 Answers  


Is there a limit of 3273 DD statements for a JCL or for every EXEC step in a JCL?

2 Answers  


What is the purpose and meaning of the TIME keyword and what JCL statement is it associated with?

1 Answers  






Suppose I have five jobs to do. But I want to hold one?

0 Answers  


What are the kinds of job control statements?

3 Answers  


In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???

10 Answers   Perot Systems,


if we are specifing joblib as well as steplib in job then at the time of execution how the process will complete

4 Answers  


GDG Create syntax ?

4 Answers   Xansa,


TIME parameter in JOB statement or EXEC statement specifies What type of time (CPU time or execution time)?

5 Answers   CTS,


Is automatic restart possible in jcl?

0 Answers  


Categories