IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To schedule a TEST job after completion of Production Job


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vinay N.G

New User


Joined: 15 Sep 2008
Posts: 36
Location: Bangalore

PostPosted: Thu Feb 26, 2009 6:14 pm
Reply with quote

Hi,

Everyday after completion of the Job stream we need to run a backup job which is not included in the schedule.

We are submitting the job manually after completion of the production Job stream.

I would like to automate this process i mean i want to submit this backup job after completion of the production job stream automatically.

Its better if i can do using REXX. if no Please let me know the ways of achieving it.


One thing i dont want to modify the Production schedule.

Thanks
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Feb 26, 2009 6:27 pm
Reply with quote

Vinay, first of all, I'm going to mention here that topics concerning the building of homemade scheduling systems are considered off-topic and not allowed in these forums. If that's not what this topic is about, then we need a whole lot more details.

First of all, where are you doing this? From my perspective, since I support automation in my shop, this is where I would recommend that this process be initiated if there is some sort of system event that could trigger the automation. You stated that:

Quote:

I want to submit this backup job after completion of the production job stream automatically.


What is used to determine when this has happened? Is there a reason why you can't have the last job of this job stream automatically submit your backup job?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Feb 26, 2009 6:33 pm
Reply with quote

Quote:
One thing i dont want to modify the Production schedule

Why not, if the backup is of production data, then there is no reason that it should not be included in the production schedule.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Feb 26, 2009 6:34 pm
Reply with quote

You can write a REXX to test for the completion of your production job. This can be achieved using batch SDSF commands, or the newer REXX/SDSF interface. This REXX can also submit your backup job.

When you are good with this REXX, you can schedule its invocation using your desktop "Scheduled tasks" Windows utility together with the FTP flavour for JES. Many examples exist in this forum.

O.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Feb 26, 2009 6:51 pm
Reply with quote

Just a passing thought- at my shop no one is allowed to "copy" a production DSN without "proper-access" - is this not the case at your end? And if yes, what's the benefit of automating the back-up process, you need, anyways, manaul intervention to get the access. Best bet would be to install this job in the production job stream as suggested earlier.
Back to top
View user's profile Send private message
Vinay N.G

New User


Joined: 15 Sep 2008
Posts: 36
Location: Bangalore

PostPosted: Mon Mar 02, 2009 11:24 am
Reply with quote

Hi ofer71,

Can your solution be more elaborative????
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Monitoring production job progress. N... JCL & VSAM 4
No new posts Zunit Test case editor error Testing & Performance 4
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts Copying GDG version(all/few) from pro... CLIST & REXX 13
No new posts REXX Test under Mask??? CLIST & REXX 3
Search our Forums:

Back to Top