Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Restart Parameters

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
lagneshp

New User


Joined: 15 Aug 2009
Posts: 29
Location: Chennai

PostPosted: Wed Aug 11, 2010 7:27 pm    Post subject: Restart Parameters
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Aug 11, 2010 7:32 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Aug 11, 2010 7:47 pm    Post subject:
Reply with quote

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
View user's profile Send private message
santy
Warnings : 1

New User


Joined: 19 Jul 2007
Posts: 22
Location: mumbai

PostPosted: Tue Aug 17, 2010 11:04 am    Post subject: Reply to: Restart Parameters
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Aug 17, 2010 1:27 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts Multiple parameters Csongor All Other Mainframe Topics 16 Thu Jun 09, 2016 7:54 pm
No new posts SYSUT2 - CONFLICTING DCB PARAMETERS raulravi7 JCL & VSAM 6 Thu May 19, 2016 9:43 am
No new posts Number of parameters in Linkage kregen COBOL Programming 4 Wed Jan 27, 2016 5:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us