You can also check out the AUTO program on CBT file 098. Al Staller | Z Systems Programmer | KBM Group | (Tel) 972 664 3565 | allan.stal...@kbmg.com
-----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