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

i have records from 1 t0 100 . i need to open records from 10 to 18 and change the values in tht ? how can i do tht ?

2 Answers   Syntel,


What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.

0 Answers  


My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP = NEW //STP4 A(+1), DISP = OLD STP3 was abended and I want restart my JCL from STP3 onwards & what are the precaution I want to take & what are the changes I need to make. Pls let me know.

4 Answers   CTS,


What is the maximum length of a single line of jcl?

0 Answers  


Why we will create load module in PDS only, Why nt in PS?

2 Answers   TCS,






How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

0 Answers  


Explain about User Information

1 Answers  


How to find in aparticular step how many versions a paricular gdg base have?

4 Answers   TCS,


Max. No of DD statements in a job ?

4 Answers   CSI,


Hi, If a catolog proc has another proc in it, both have ddnames dd1 and dd2. what proc will override if gave override parameter. Here both have same step names.

2 Answers   UHG,


The maximum number of steps in a job?

4 Answers  


How to override loadlib?

0 Answers   Fiserv,


Categories