<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: batch job to run every day automatically. in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324429#M15945</link>
    <description>Shiva,&lt;BR /&gt;&lt;BR /&gt;This topic reappears every few months in the ITRC Forum.&lt;BR /&gt;&lt;BR /&gt;While they are dated, doing a search on prior threads for "openvms daily batch job" points to a prior Forum thread at &lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1229483623254+28353475&amp;amp;threadId=960315" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1229483623254+28353475&amp;amp;threadId=960315&lt;/A&gt; as well as an Ask The Wizard item entitled "Periodic Rescheduling of Batch Jobs" at &lt;A href="http://h71000.www7.hp.com/wizard/wiz_2585.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_2585.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For a start, I have supplied pointers rather tban reproducing the entire discussion.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
    <pubDate>Wed, 17 Dec 2008 03:17:50 GMT</pubDate>
    <dc:creator>Robert Gezelter</dc:creator>
    <dc:date>2008-12-17T03:17:50Z</dc:date>
    <item>
      <title>batch job to run every day automatically.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324428#M15944</link>
      <description>Can u pl. help someone.&lt;BR /&gt;How can I set up a batch job to run every day automatically. &lt;BR /&gt;Ex.Monday 06:00 , Tuesday 06:00 and so on...&lt;BR /&gt;&lt;BR /&gt;OpenVMS:V7.3-2.&lt;BR /&gt;&lt;BR /&gt;I tried to run the job as below command but it ran only one day.&lt;BR /&gt;$Submit/log=xyz/noprint/keep/AFTER="TODAY+1-06:00" ABC.com;</description>
      <pubDate>Wed, 17 Dec 2008 02:53:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324428#M15944</guid>
      <dc:creator>shiva27</dc:creator>
      <dc:date>2008-12-17T02:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: batch job to run every day automatically.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324429#M15945</link>
      <description>Shiva,&lt;BR /&gt;&lt;BR /&gt;This topic reappears every few months in the ITRC Forum.&lt;BR /&gt;&lt;BR /&gt;While they are dated, doing a search on prior threads for "openvms daily batch job" points to a prior Forum thread at &lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1229483623254+28353475&amp;amp;threadId=960315" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1229483623254+28353475&amp;amp;threadId=960315&lt;/A&gt; as well as an Ask The Wizard item entitled "Periodic Rescheduling of Batch Jobs" at &lt;A href="http://h71000.www7.hp.com/wizard/wiz_2585.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_2585.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For a start, I have supplied pointers rather tban reproducing the entire discussion.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Wed, 17 Dec 2008 03:17:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324429#M15945</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-12-17T03:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: batch job to run every day automatically.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324430#M15946</link>
      <description>shiva,&lt;BR /&gt;  the job has to resubmit itself. Here's a sample:&lt;BR /&gt;&lt;BR /&gt;  symbols may be defined elsewhere &lt;BR /&gt;$ queue="queue name"&lt;BR /&gt;$ after="time to run"&lt;BR /&gt;$ log="log file name"&lt;BR /&gt;$ params="/PARAMS=(p1,p2,p3...)"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ self=F$PARSE(";",F$ENVIRONMENT("PROCEDURE"))&lt;BR /&gt;$ IF "''log'".NES."" THEN log="/LOG=''log'"&lt;BR /&gt;$ IF "''after'".EQS."" THEN after="TOMORROW+6:00" ! Default run time&lt;BR /&gt;$ IF "''queue'".EQS."" THEN queue=F$GETQUI("DISPLAY_ENTRY","QUEUE_NAME",,"THIS_JOB")&lt;BR /&gt;$ IF "''queue'".NES."" THEN queue="/QUEUE="+queue&lt;BR /&gt;$ SUBMIT/KEEP/NOPRINT 'self' /AFTER="''after'" 'queue' 'log' 'params'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You should perform this early in the procedure so that errors or premature exits don't break the chain of jobs.</description>
      <pubDate>Wed, 17 Dec 2008 04:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324430#M15946</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-12-17T04:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: batch job to run every day automatically.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324431#M15947</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;  Thanks for your help. Is it there any easiest way to resubmit the job everyday itself.If you provide the command it will helpful.</description>
      <pubDate>Wed, 17 Dec 2008 04:11:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324431#M15947</guid>
      <dc:creator>shiva27</dc:creator>
      <dc:date>2008-12-17T04:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: batch job to run every day automatically.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324432#M15948</link>
      <description>Shiva,&lt;BR /&gt;&lt;BR /&gt;Please READ and study the help provided.&lt;BR /&gt;&lt;BR /&gt;No there is no standard single command OUTSIDE the procedure to accomplish this.&lt;BR /&gt;&lt;BR /&gt;But you can put the line you used as the first line in the job itself and that will take care of care.. in a coarse way.&lt;BR /&gt;&lt;BR /&gt;John's help, and the other topics, will provided a more refined solution, but it still needs to be included into the job itself.&lt;BR /&gt;&lt;BR /&gt;If there are many jobs to manage, then some folks/companies  opt to write a 'super script' to submit other scripts will all features like repeat interval and protection against multiple submits. If you want to go that route, then I would encourage you to investigate commercial schedule tools. &lt;BR /&gt;One example, but certainly not the only one, could be JAMS.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Dec 2008 04:25:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324432#M15948</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-12-17T04:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: batch job to run every day automatically.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324433#M15949</link>
      <description>In addition to programming the resubmit(-time) into every scheduled job DCL code, there are implementations of the Unix-like "cron" features on the freeware collections. &lt;BR /&gt;Look for CRON or KRONOS files/directories.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Dec 2008 09:31:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324433#M15949</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2008-12-17T09:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: batch job to run every day automatically.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324434#M15950</link>
      <description>Thanks all for help.&lt;BR /&gt;&lt;BR /&gt;Issued has been fixed.</description>
      <pubDate>Thu, 18 Dec 2008 09:49:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324434#M15950</guid>
      <dc:creator>shiva27</dc:creator>
      <dc:date>2008-12-18T09:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: batch job to run every day automatically.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324435#M15951</link>
      <description>Shiva,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;Thanks for all help&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;So, please read&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;about HOW to say thanks in these forums.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Thu, 18 Dec 2008 10:20:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324435#M15951</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-12-18T10:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: batch job to run every day automatically.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324436#M15952</link>
      <description>Shiva,&lt;BR /&gt;Since I don't see any error in your command, I wonder how you fixed the problem.&lt;BR /&gt;Regards --- Teofil</description>
      <pubDate>Thu, 18 Dec 2008 11:50:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324436#M15952</guid>
      <dc:creator>Teofil Smolowicz</dc:creator>
      <dc:date>2008-12-18T11:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: batch job to run every day automatically.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324437#M15953</link>
      <description>Teofil,&lt;BR /&gt;&lt;BR /&gt;The is no error in the command, but it is just a single shot command submitting ABC.com for tomorrow.&lt;BR /&gt;&lt;BR /&gt;It has to be moved into ABC.com to make it resubmit it self. The command can be copied just as it is, or dressed up a little with F$ENV("PROCEDURE") and stuff like that to make is more manageable.&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2008 12:15:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324437#M15953</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-12-18T12:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: batch job to run every day automatically.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324438#M15954</link>
      <description>Hein, &lt;BR /&gt;Ic.&lt;BR /&gt;I've always wondered why submit hasn't got qualifier like /REPEAT with or w/o some keywords.&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;Regards --- Teofil</description>
      <pubDate>Thu, 18 Dec 2008 14:03:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324438#M15954</guid>
      <dc:creator>Teofil Smolowicz</dc:creator>
      <dc:date>2008-12-18T14:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: batch job to run every day automatically.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324439#M15955</link>
      <description>Teofil,&lt;BR /&gt;&lt;BR /&gt;While I have never worked for OpenVMS Engineering, I suspect that "Repeat at interval" was not done for a variety of reasons, one of which is that including the SUBMIT command in the command file is straightforward.&lt;BR /&gt;&lt;BR /&gt;It is true that rescheduling precisely (and I mean "precisely") the same job could be done by merely adding a delta time field to the queue record, many, many repeating jobs are not so simple. Often parameters, both as inputs to the job, and to the job controller, vary in many ways. It is not easy, and may be impossible, to embrace all of the desired variability.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Thu, 18 Dec 2008 14:24:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-to-run-every-day-automatically/m-p/4324439#M15955</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-12-18T14:24:53Z</dc:date>
    </item>
  </channel>
</rss>

