View previous topic :: View next topic |
Author |
Message |
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Mon Dec 06, 2004 6:56 am Post subject: How to shedule Jobs without Job shedulers???? |
|
|
How to shedule Jobs without Job shedulers????. Is there a way to shedule a job, i have heard about Internal Reader...but i don't have much info on it.can anybody throw light on this. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Mon Dec 06, 2004 7:13 am Post subject: |
|
|
vak255,
Please search before posting. The topic about internal reader has been discussed earlier. check this link.
http://www.mvsforums.com/helpboards/viewtopic.php?t=1529&highlight=intrdr
To answer your question about running a job without a scheduler, you can use the DEADLINE parameter of JES3 to submit the job at a desired time.
If your shop does not have JES3 then you can set up a windows task for the scheduled time and FTP the JCL to the mainframe which will be submitted to the intrdr. search for filetype=jes in the jcl forum and you will find examples.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Mon Dec 06, 2004 8:38 am Post subject: |
|
|
If you are a JES2 shop, and if you know your way around JES and MVS, you or one of your operators can also employ the JES "Set Automatic Command ($T)". This link provides the syntax of the command:
http://www.hansen-family.com/mvs/$TA.htm#$TA
While this command cannot actually submit a job, it can be setup to release a job that was previously submitted (with TYPRUN=HOLD) at either a pre-determined time or at a set of pre-determined intervals.
In addition, your console automation software and/or Netview both have the ability to set timers (AT or AFTER) that, when triggered, can submit jobs. |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Tue Dec 07, 2004 5:07 am Post subject: |
|
|
hi Kolusu and superk,
I just downloaded the whole contents, this is the first time iam getting into system programing and thanks for ure efforts. |
|
Back to top |
|
|
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Tue Sep 27, 2005 3:09 am Post subject: |
|
|
Hi All,
We have a similar requirement. We have three jobs A, B & C (Current Scenario). Job A submits B & C via INTRDR. But B must be a requirement for C i.e C has to start only after B's succesful execution. If B abends then C should not start.
I went through the above posts (we have JES2). Not sure how helpful the $T command will be. Is there any way to achieve this without job schedulers ?
My suggestion was to have a rexx routine in Job A which does the polling every few seconds/minutes to check if B is complete and then submit C. But that would consume lot of resources. Is there any other way to get around this ?
Thanks,
Phantom |
|
Back to top |
|
|
Mervyn Moderator
Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Tue Sep 27, 2005 4:09 am Post subject: |
|
|
Phantom,
The obvious solution is for job A to submit job B only, then job B can submit job C on successful completion.
Cheers,
Merv _________________ The day you stop learning the dinosaur becomes extinct |
|
Back to top |
|
|
acevedo Beginner
Joined: 03 Dec 2002 Posts: 127 Topics: 0 Location: Europe
|
Posted: Tue Sep 27, 2005 6:02 am Post subject: |
|
|
the obvious and, imho, the best (kiss principle ) |
|
Back to top |
|
|
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Tue Sep 27, 2005 1:02 pm Post subject: |
|
|
Thanks all for your suggestions. I will convey your views to my colleagues.
I like the kiss principle but not its expansion !!!
Thanks,
Phantom |
|
Back to top |
|
|
|
|