i have a jcl calling proc which has 10 steps, i want to
execute from step5 to step10, where can i code RESTART and
COND parameter?
Answers were Sorted based on User's Feedback
Answer / karthikeyan
in job card itself you can give this
restart=procname.step5
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / rajkanya
The RESTART parameter can be coded at JOB CARD level as:
RESTART=PROCNAME.STEPNAME ( in this case STEP5 )
and the COND parameter can be coded at both JOB and STEP
level. At STEP5, as:
//STEP5 EXEC PGM=.....,COND=EVEN
COND=ONLY it allows step execution if any prior step is
ABENDED
COND=EVEN it allows step execution even if the prior step
is ABENDED
| Is This Answer Correct ? | 2 Yes | 0 No |
What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ?
suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?
Can you give the sort card to arrange the specific column in the version of GDG.
which utility is used to run a cobol-db2 program?
Explain COND used in JCL?
I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?
using cursor how can you fetch more than one record into a variable
What is jcl in mainframe?
List the different components of jcl statement?
In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?
What statement can be used to send data to another mvs jes3 node?
Are there any set of rules for the names of the steps used in a job?