COND ->
step1
.
.
step2,
Step2, Executes if the CC of step1 is 0.
But even if it is NOT 0 and if we dont give COND, will step2
be executed ?
Answers were Sorted based on User's Feedback
Answer / rup
STEP1
. .
. .
STEP2 COND(4,GE,STEP1)
STEP2 EXECUTES IF STEP1 CC=0, IF NOT 0 step2 will not
execute i.e step1 is 4 or >4 then step2 will not execute.
If condition is not giving in step2, then step2 will execute.
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / sandhya
In the job card we have to give cond=(0,gt)
then if even step1 is abended then also step2 will execute
| Is This Answer Correct ? | 0 Yes | 3 No |
HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?
What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?
If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???
define cond parameter in jcl?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
If Region=0k means What Happen?
How to skip first step of a job? Can we use COND on the first step?
Can you delete the GDG base without deleting GDG generations ?
What is the difference between catalogue procedure and In-Stream procedure?
How to search strings in multiple dataset with conditions 'string1 & string2'?
What happens if both JOBLIB and STEPLIB is specified ?
In job processing, what happens in conversion stage?