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 

How to shedule Jobs without Job shedulers????

 
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
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Mon Dec 06, 2004 6:56 am    Post subject: How to shedule Jobs without Job shedulers???? Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Mon Dec 06, 2004 7:13 am    Post subject: Reply with quote

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 - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Mon Dec 06, 2004 8:38 am    Post subject: Reply with quote

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
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue Dec 07, 2004 5:07 am    Post subject: Reply with quote

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. Smile
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Sep 27, 2005 3:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Tue Sep 27, 2005 4:09 am    Post subject: Reply with quote

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
View user's profile Send private message
acevedo
Beginner


Joined: 03 Dec 2002
Posts: 127
Topics: 0
Location: Europe

PostPosted: Tue Sep 27, 2005 6:02 am    Post subject: Reply with quote

the obvious and, imho, the best (kiss principle Wink )
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Sep 27, 2005 1:02 pm    Post subject: Reply with quote

Thanks all for your suggestions. I will convey your views to my colleagues.

I like the kiss principle but not its expansion !!! Laughing

Thanks,
Phantom
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