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 |
What is the maximum length of a single line of jcl?
How many positional parameters are there in job statement?
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?
I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?
Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?
There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
Why block size is multiple of lrecl in jcl?
how can handle the s0c4 abend???
Explain how can values be passed from the job stream to an executable program?
Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00
How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.