How to use COND Parameter in jcl

Answers were Sorted based on User's Feedback



How to use COND Parameter in jcl..

Answer / krishna

cond statement is used for conditional execution of a
perticular step.

cond=(return code, relational operator)

it can be coded with job statement or with exec statement.

Is This Answer Correct ?    4 Yes 0 No

How to use COND Parameter in jcl..

Answer / challa srinivas

cond statement is used for conditional execution of a
perticular step.

cond=(return code, relational operator)

it can be coded with job statement or with step statement.

If COND parameter is coded both in job and step, then COND parameter of step will override JOB.

Is This Answer Correct ?    2 Yes 0 No

How to use COND Parameter in jcl..

Answer / p.ramesh

The condition statement used in job statement and also used in exec statement.
syntex
COND(Positional parameter,Conditional parameter)
EX:
COND(0,LF)

Is This Answer Correct ?    3 Yes 3 No

How to use COND Parameter in jcl..

Answer / venkat ramana

Condition is a key word parameter. '=' is mandatory.

COND = (0, LE)

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More JCL Interview Questions

What is NOTCAT ?

0 Answers  


How is a GDG base created?

5 Answers  


What are the differences between JES2 & JES3 ?

4 Answers  


What are hierarchy levels in jcl?

0 Answers  


Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?

5 Answers   Patni,






What happens if both JOBLIB & STEPLIB is specified ?

0 Answers  


How do you submit a JCL under CICS environment ?

5 Answers   Wipro,


i want to avoid the positional parameter how to code it ?

3 Answers   TCS,


How to search strings in multiple dataset with conditions 'string1 & string2'?

1 Answers   IBM,


How to change default PROCLIB?

1 Answers  


Please explain with syntax and an example, the Inrec fields and Outrec build in sort.

4 Answers   CTS, TCS,


I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.and it should not execute 18,19,20 steps??

9 Answers   IBM, Infosys, TCS, Xansa, Xchanging,


Categories