View previous topic :: View next topic
|
Author |
Message |
Vinay N.G
New User
Joined: 15 Sep 2008 Posts: 36 Location: Bangalore
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
Vinay N.G
New User
Joined: 15 Sep 2008 Posts: 36 Location: Bangalore
|
|
|
|
Hi ofer71,
Can your solution be more elaborative???? |
|
Back to top |
|
|
|