MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Restarting a Particular job step

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
syedfasi
Beginner


Joined: 29 Jul 2004
Posts: 10
Topics: 6
Location: India

PostPosted: Tue Aug 03, 2004 4:31 pm    Post subject: Restarting a Particular job step Reply with quote

Hi,

We are running some of the job in threads, like A1, A2... A12, where A1, A2...A12 each one the individual job runs simultanously. Since all these job have similar programs accessing same tables, we are keep getting
-911 (DEAD LOCK) problems.

So we call the operator to restart this job from the abending step. Is there any way, we can restart a job from the same step, from where it is abended automatically. We are looking something to automate this process.

Any help is greatly appreciated... Thanks in advance...

Syed Fasiullah
Back to top
View user's profile Send private message MSN Messenger
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Aug 03, 2004 8:46 pm    Post subject: Reply with quote

What you described in what CA-11 from Computer Associates does for you. I would also imagine that your job scheduling software may have some capability to handle this also.

Other than that, why are these jobs not designed to be auto-restarting? By that, I mean why are they not designed to load a copy of themselves, with an appropriate RESTART statement, upon the failure of any particular step?
Back to top
View user's profile Send private message
syedfasi
Beginner


Joined: 29 Jul 2004
Posts: 10
Topics: 6
Location: India

PostPosted: Wed Aug 04, 2004 10:37 am    Post subject: Reply with quote

I don't know CA7 functionalities... because someone from our clients place submit these jobs,, they don't know anything other than paging us...

Is there any capability in JCL itself, to restart from the abending step, rather than they paging us ans we logon at mid nights...????

Thanks for help.....
Back to top
View user's profile Send private message MSN Messenger
NutCracker
Beginner


Joined: 13 Dec 2002
Posts: 45
Topics: 3
Location: 3rd Block from the SUN

PostPosted: Wed Aug 04, 2004 10:58 am    Post subject: Reply with quote

Quote:

<snip> ... because someone from our clients place submit these jobs,, they don't know anything other than paging us... <snip>


Those someone are none but the SysOps guys. And they sure do know what they are doing. Smile

Quote:

<snip> Is there any capability in JCL itself, to restart from the abending step, rather than they paging us ans we logon at mid nights...????


Till date, IBM has not put in the capability in the JCL to re-start itself. And I would not think it would in the future. Its the job for the Support Analysts to analyse the abend & inform the SysOps to restart

I hope this answers your queries. Rolling Eyes
Back to top
View user's profile Send private message
Ganti
Beginner


Joined: 04 Dec 2002
Posts: 8
Topics: 3
Location: St.Louis, MO, USA

PostPosted: Thu Aug 05, 2004 3:28 pm    Post subject: Reply with quote

Quote:

Is there any capability in JCL itself, to restart from the abending step, rather than they paging us ans we logon at mid nights...????


At the previous shop that I was working on, they could partially achieve this by loading the restart instructions as OPC cards, right after the PROC/JCL definition.

These would look like:
%OPC, STEPNAME.RC=04,RESTART=STEPNAME %

Another way to achieve this, could be by using 'coding' in the stepname.
For example,
You could have STY001 or STN001, to indicate if the step can be a restart step or not.

This is about brining a discpline in the way the application programmers code the JCLs. This could than be automated to have the restart instructions.

Needless to state, the stepnames should be fully qualified, ie if you have a JCL that has multiple PROC calls, then the restart instruction should be PROC.STEPNAME.

I am not aware how OPC achieves this, though.
Any inputs ??
_________________
Ganti
Back to top
View user's profile Send private message
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Fri Aug 06, 2004 9:16 pm    Post subject: Reply with quote

The link below may be what you're looking for if you're running a fairly current zOS system. I haven't taken the time to read through it., have fun and let us know what additional info you've found.

http://www.redbooks.ibm.com/redpapers/pdfs/redp0173.pdf
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group