View previous topic :: View next topic
|
Author |
Message |
lagneshp
New User
Joined: 15 Aug 2009 Posts: 29 Location: Chennai
|
|
|
|
Hi,
I have 10 steps in my jcl and i am using cataloge procedure at 11th step in my JCL which has 15 steps in it.
i want to execute 2nd & 3rd step from my jcl and my catalog proc starts at 11th step in JCL, And i need to execute 6 - 10 step from catalog proc.
i Tried with following code:
//DIMA3135 JOB (DIMAD,DEVL),'CREATE NON MON FILE',
// CLASS=S,MSGCLASS=T,NOTIFY=&SYSUID,RESTART=IMA3135.STEP06
//*
Which is able to restart from step06 of catalog proc, but i need to execute few of the steps present in my jcl before it.
Please let me know the suitable restart parameter for the same. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What does the word RESTART mean to you. It is a parameter that says START the job from a certain place. That is it, defined, set out, complete. It does not say start here but then miss out a few steps, it merely tells the OS where a job stream will start execution from.
You need to look at using COND= or seeing if there are any IF/THEN/ ELSE statements in the PROC, because if there are I bet a penny to a pound that they are not changeable so could really throw a spanner in the works. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Is it related to some Production-abend and you want to restart with those constraints or is it for learning?
If it's for Production-abend, you need to check what is allowed at your shop and check if any of these can work for you:
- Make the PROC in-stream and comment-out/delete the unwanted steps from PROC and Job - and execute the "result-Job".
- If IEBEDIT can be you option select only
Quote: |
2nd & 3rd step from my jcl |
and PROC step, with same RESTART parameters in your Job-card which you have showed. I have not tried IEBEDIT for such a thing, however, looks like it should be doable. |
|
Back to top |
|
|
santy Warnings : 1 New User
Joined: 19 Jul 2007 Posts: 22 Location: mumbai
|
|
|
|
RESTART parameter is use to restart your from a required step.
RESTART will start your job from request step to end of the job.
e.g. after failure of job u want to restart the job from step 6, u can use the defined the RESTART parameter RESTART=JOBname.SETP06 at your jobcard.
for restarting particular steps, like step 02 and 03. i think u have to comment all other step which is not require for you.
and use the paramenter as
RESTART=jobanme.step02
it will run only step 02 and 03. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
lagneshp,
typical, sloopy, rookie, uneducated misuse of terms.
RESTART in the world of computers has only one meaning.
Start at a particular STEP and then run to completion of JOB.
running only certain steps of a job is:
running only certain steps of a job.
you will get further in this field when you bother to expand your vocabulary. |
|
Back to top |
|
|
|