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
 

 

To schedule a TEST job after completion of Production Job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: To schedule a TEST job after completion of Production Job
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

Moderator Team Head


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

PostPosted: Thu Feb 26, 2009 6:27 pm    Post subject: Reply to: To schedule a TEST job after completion of Product
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: 8593
Location: Back in jolly old England

PostPosted: Thu Feb 26, 2009 6:33 pm    Post subject:
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: 2360
Location: Israel

PostPosted: Thu Feb 26, 2009 6:34 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Feb 26, 2009 6:51 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts COOLGEN - TSO TEST FACILITY indianrajput CA Products 4 Wed Nov 02, 2016 9:28 pm
This topic is locked: you cannot edit posts or make replies. How to supply called sub-program from... dchristensen JCL & VSAM 25 Wed Sep 14, 2016 11:36 pm
No new posts How to find jobs that are in schedule... anilkumar922 All Other Mainframe Topics 5 Tue Jun 28, 2016 10:01 am
No new posts JCL to fetch schedule status from act... parasmalik20 CA Products 1 Thu Jun 02, 2016 7:11 pm


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