What is the meaning of the EXEC statement keyword, COND?
What is its syntax?

Answers were Sorted based on User's Feedback



What is the meaning of the EXEC statement keyword, COND? What is its syntax?..

Answer / guest

COND specifies the conditions for executing the subsequent
job step. The value after the COND= is compared to the
return codes of the preceding steps and if the comparison is
true, the step is bypassed. (If this answer confuses you,
welcome to the club - memorize it and don't ask questions!)

Is This Answer Correct ?    5 Yes 0 No

What is the meaning of the EXEC statement keyword, COND? What is its syntax?..

Answer / suresh babu

EXEC operation is meant for executing a program or
procedure. Each EXEC is known as one step. Maximum EXEC
steps in a JCL can be: 255.
The COND parameter coded on the EXEC statement applies only
to the job step that it is coded in. The job step is
executed or bypassed, depending on the condition codes
issued by one or more prior job steps.
SYNTAX: COND=(comparison-code,condition,stepname)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

Hi, can any one tell about " How do u eliminate the duplicates "

2 Answers   Cap Gemini,


What is a procedure?

1 Answers  


what is d/f b/w sysout & sysprint

4 Answers   TCS,


Name the system library from which modules are retrieved at execution

2 Answers  


Explain the job statement in jcl?

1 Answers  


can we copy a file from fixed block to variable block and vice versa ....asap

1 Answers  


What is 'S0C7' abend?

9 Answers  


Max. No of DD statements in a job ?

4 Answers   CSI,


A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)

1 Answers   IBM,


How to empty the records in jcl

1 Answers  


how do you resolve for soc7 error

6 Answers   ACS, iGate,


Describe the JOB statement, its meaning, syntax and significant keywords?

1 Answers  


Categories