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

MOD, DELETE; What does a disposition of (,DELETE) mean ?

3 Answers  


How can i execute 5th step without executing first 4 steps?

4 Answers  


What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?

2 Answers   IBM,


what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.

1 Answers  


Name some of the JCL statements that are not allowed in procs.?

1 Answers  






What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?

5 Answers   CitiGroup,


when can a job time-out occur? How to overcome that?

0 Answers   IBM,


what is use of dcb parameter in dd statement?

0 Answers   IBM,


What is a COND parameter in JCL?

10 Answers   TCS,


What are steplib and joblib? What for they are used?

0 Answers  


What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?

2 Answers  


A dd statement consists of 4 fields. Name them?

0 Answers  


Categories