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?
Answers were Sorted based on User's Feedback
You can create a NULL (//) point after the 5 step. so the
job will stop after step 5 is executed.
I don't think we can do it via JOB CARD. Please let me know
if anyone knows.
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / praveen kumar bejjanki
There are two ways in order to achieve this.
1. Give a null statement(//) after step5
2. Give the cond parameter starting from step6 through
step10 as cond=(0,le). This parameter will bypasses the
step6 through step10 as it satisfies the cond for any of
the RC(return code).
Is there any other way, kindly let me know.....
Thanks!
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / bala
Give COND=(99,NE)for all the other steps following STEP5.
Its skips those steps.
Also, a Null (//) given after STEP5 does the same.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / veer
we can achieve this with the IEBEDIT Utility......!!!
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / shivakrishna
we can bypass by giving cond parameters in step from 6 if
we know the cond codes from previous steps.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / venkataramana
It is simple after fifth step we will use cond=(0,LE) in
each step for avoiding the execution.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / veer
'to execute first 5 steps only', end of the 5th step
introduce NULL(//) character and run. first 5 steps will
run.
If you want to run step3, step5, step10 like that, use
IEBEDIT utility.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kalaiarasan
Anshuman is wrong its not EIBEDIT, its IEBEDIT
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anshuman
you can use the IBM utility EIBEDIT for this n mention step
1 to 5
Is This Answer Correct ? | 2 Yes | 4 No |
how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i want to execute from step 5 to step 10 where can i code restrat parameter or cond parameter for ths
what do you mean By spooling? Expand SPOOL?
In order to continue a job after a return code of 12 in step1, what the step2 exec statement include?
can u execute a proc from another proc?
can we modify the code in copy book? if it possible how to submit ofter the modification.
How many parameters are there to a DISP statement and what are their uses ?
What is the syntax of JCL statement?
In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
In SPACE,what is directory,RLSE
List in order the hierarchical levels of jcl?
I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....