I have a JCL with 100 steps. I want run the Alternate steps
in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this
scenario? If It is by Cond Parameter can you provide the
Condition code for that?
Answers were Sorted based on User's Feedback
Answer / chandrakant
Hi ,
cond=even means if previous steps are terminated abnormally
that time also this step should be executed . it does not
mean to execute the steps in any specific order( even 2,4,6)
| Is This Answer Correct ? | 15 Yes | 6 No |
Answer / sathish kumar
In job card give restart=stepname2
from stepname3 to consecutive ODD steps give the below
condition
cond=(4095,GE)
This will execute the steps stepname2,4,6,8.... and
bypasses the odd steps.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / alla srikanth
small change*** no need to mention cond=EVEN on on job
statement
specify restart=step2 on job statement i.e,
execution begings at step no 2 and every step from step2
onwards executed.
for odd number jobsteps specify cond=(o,le)(condition is
ture for all return codes hence steps with this cond code is
bypassed)
hence begin at step2 and odd no steps are bypassed i.e even
steps are executed
| Is This Answer Correct ? | 7 Yes | 7 No |
Answer / rekha
In JOB card give Restart=(name of the second step).
After that for every ODD numbered step give the cond as
COND=(0,GE) because the Condition Code will starts from 0
onwards,so every odd step will be skiped and only the even
steps will be executed.
| Is This Answer Correct ? | 3 Yes | 6 No |
Answer / srk
specify restart=step2,cond=even on job statement i.e,
execution begings at step no 2 and every step from step2
onwards executed.
for odd number jobsteps specify cond=(o,le)(condition is
ture for all return codes hence steps with this cond code is
bypassed)
hence begin at step2 and odd no steps are bypassed i.e even
steps are executed
| Is This Answer Correct ? | 1 Yes | 8 No |
What is the difference between Sysin,Sysout,Sysdbout and Sysudump?
describe the dd statement,its meaning,syntax and keywords?
I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.
How can you execute a COBOL program via SYSIN in JCL?
what do you mean By spooling? Expand SPOOL?
How gdg are concatenated?
What is COND=EVEN ?
I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)
Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?
a job have 5 steps and it will executes a proc which have 5steps in it. now i have to execute step3 only when step2 of proc executes successfully
what operation is performed by job statement?
Please give me the coding for converting VB to FB and FB to VB