How to execute only th 15th step of JCL consisting of 50 steps?
Answer Posted / muttaiah
There are 3 ways to achieve the above task.
1) Using restart & Cond:
Code restart=step15,cond=(0,le)
2) using restart & Null stmt
restart=step15, Code a null stmt(//) after step15.
3) Using Iebedit
//jobcard
//stepname exec pgm=iebedit
//sysut1 dd dsn=actual pds/ps that has the jcl
//sysut2 dd sysout=(*,intrdr)
//sysin dd *
edit type=include,stepname=step15
/*
Using option 1 & 2 will require the jcl to be copied to ur
personal pds and edit the jcl and pass it on to Operation
team to restart the job with the override pds
using option3 we can directly send this jcl to run without
editing the actual jcl
best way would be create a iebedit jcl in ur program
whenever the job needs to run for particular steps change
the iebedit jcl and send it to the team who will run the job
Hope this will give complete idea regarding restarting a
job.
Corrections are heartily welcomed.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
what JCL Procedures?
What is the significance of addrspc parameter in the exec statement?
what is a jcl?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
How to pass data to a program that is coded in an exec statement?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
How gdg are concatenated?
How is the record format of an output dataset specified?
What are the parameter we cannot use in procedure?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
How does jcl act on code(if you take a cobol program)?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Is automatic restart possible in jcl?
what happens in conversion stage in job processing?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC