No, they will not execute immediately, only on the specified time
starting the next day.

Kees.

"Dennis Trojak" <dennis.tro...@radioshack.com> wrote in message
news:<3d40fdfc24014e459f11e569c730d98e010...@ntexmbapb.corp.radioshack.n
et>...
> That's because you issued the $TA commands for a time "earlier" than
the current time. WAD according to the JES2 Commands manual. Add 24
hours to your T= time and it will execute immediately and then at the
scheduled time you expect.
> /*$ T A0015,T=34.00,I=86400,'$VS,''S SENDSMF'''
> /*$ T A0016,T=36.00,I=86400,'$VS,''S SENDSMF'''
> /*$ T A0017,T=38.00,I=86400,'$VS,''S SENDSMF'''
> Dennis
> 
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
Behalf Of Howard Evans
> Sent: Tuesday, October 04, 2011 9:18 AM
> To: IBM-MAIN@bama.ua.edu
> Subject: Scheduling Tasks via JES2 automatic commands
> 
> I am trying to schedule a task to be run at 3 specific times of the
day, every day using the JES2 automatic command facility and am not
having much luck.
> I have added the following commands to JES2 startup:
> 
> /*$ T A0015,T=10.00,I=86400,'$VS,''S SENDSMF'''
> /*$ T A0016,T=12.00,I=86400,'$VS,''S SENDSMF'''
> /*$ T A0017,T=14.00,I=86400,'$VS,''S SENDSMF'''
> 
> The intent is to start the SENDSMF task at 10.00, 12.00 and 14.00
every day.
> 
> So the system was IPL'd at 21.00. 3 instances of SENDSMF were started
when JES started at 21:00 and have been started at 21:00 every evening
since.
> 
> Is there a way to do what I want to do using using JES2?
> 
> This is a small LPAR used for development work and there is no job
scheduler or NETVIEW running. 
> 
> I know I could write a simple program that starts at IPL time and runs
eternally and submits the task at specific times but I was hoping to
avoid writing code.
> 
> Thanks. 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
********************************************************
For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt. 
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286
********************************************************
                        

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to