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 

Run job after sometime

 
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
whizkid79
Beginner


Joined: 29 Sep 2004
Posts: 53
Topics: 14

PostPosted: Thu Jan 13, 2005 2:34 pm    Post subject: Run job after sometime Reply with quote

Hi,
How can i make a job run at a particular time. Suppose I submitted thejob at 3:00 Pm. I want it to start running at 4:00PM.

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


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Thu Jan 13, 2005 3:05 pm    Post subject: Reply with quote

You will, of course, have to submit your job with a TYPRUN=HOLD parameter on the job card.

Then, you can define a JES "Set Automatic" command on a system console:

$TA,T=16.00,'$A''MYJOB'''

This JES $TA command is documented here:
http://www.tommysprinkle.com/mvs/jes2cmds/SetAutomaticCommand.htm

and the JES $A command is documented here:

http://www.tommysprinkle.com/mvs/jes2cmds/ReleaseJobs.htm
Back to top
View user's profile Send private message
whizkid79
Beginner


Joined: 29 Sep 2004
Posts: 53
Topics: 14

PostPosted: Thu Jan 13, 2005 3:15 pm    Post subject: Reply with quote

Thanks for the solution. But can you please give me an example. Where should i enter the 'set automatic' command?

Thanks
Whizkid79
Back to top
View user's profile Send private message
whizkid79
Beginner


Joined: 29 Sep 2004
Posts: 53
Topics: 14

PostPosted: Thu Jan 13, 2005 3:59 pm    Post subject: Reply with quote

Hi,


I tried using the JES3 command //*MAIN DEADLINE=(0400,A). But i'm getting interpreter error. Can you let me know the exact syntax.

Thans,
Whizkid79
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