<?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: Submiting a batch job to run automatically twice a year in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100098#M25478</link>
    <description>Great it did thanks for all your help&lt;BR /&gt;</description>
    <pubDate>Thu, 03 Apr 2008 20:29:52 GMT</pubDate>
    <dc:creator>Steve ward_3</dc:creator>
    <dc:date>2008-04-03T20:29:52Z</dc:date>
    <item>
      <title>Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100065#M25445</link>
      <description>How can I set up a batch job to run every quarter automatically. &lt;BR /&gt;&lt;BR /&gt;Ex. April 30th,  August 31st and December 31st&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Mar 2008 12:27:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100065#M25445</guid>
      <dc:creator>Steve ward_3</dc:creator>
      <dc:date>2008-03-27T12:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100066#M25446</link>
      <description>For example the following &lt;BR /&gt;&lt;BR /&gt;$       MONTHS = "//FEB/MAR/APR/MAY/JUN/JUL/AUG/SEP/OCT/NOV/DEC/JAN"&lt;BR /&gt;$       YEAR = 'F$CVT(,,"YEAR")&lt;BR /&gt;$       MONTH= 'F$CVT(,,"MONTH")'&lt;BR /&gt;$       IF MONTH .EQ. 12 THEN YEAR = YEAR + 1&lt;BR /&gt;$       MONTH = F$ELEMENT(MONTH+3, "/", MONTHS)&lt;BR /&gt;$       SUBMIT/AFTER=1-'MONTH'-'YEAR' 'f$env("procedure")&lt;BR /&gt;&lt;BR /&gt;submits for the first day every 3 months.&lt;BR /&gt;&lt;BR /&gt;I search for a trick to find the last day of month easily, but I guess others will have posted in the meantime...</description>
      <pubDate>Thu, 27 Mar 2008 12:42:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100066#M25446</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-03-27T12:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100067#M25447</link>
      <description>You can also have it resubmit itself every&lt;BR /&gt;day, but only _do_ something on particular&lt;BR /&gt;days.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] automatically twice a year&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] every quarter [...]&lt;BR /&gt;&lt;BR /&gt;Around here, "every quarter" would involve&lt;BR /&gt;more than "twice a year".  (And perhaps once&lt;BR /&gt;between April and August.)</description>
      <pubDate>Thu, 27 Mar 2008 13:00:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100067#M25447</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-03-27T13:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100068#M25448</link>
      <description>$ Temp = F$CVTIME(,"ABSOLUTE")&lt;BR /&gt;$ Temp = F$CVTIME("01"+(Temp-F$ELEMENT(0,"-",Temp))+"+125-","ABSOLUTE")&lt;BR /&gt;$ Last3 = F$CVTIME("01"+(Temp-F$ELEMENT(0,"-",Temp))+"-1-",-&lt;BR /&gt;        "ABSOLUTE","DATE")&lt;BR /&gt;$ submit /after='last3 'f$env("procedure")</description>
      <pubDate>Thu, 27 Mar 2008 13:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100068#M25448</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-03-27T13:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100069#M25449</link>
      <description>How about if I want to submit it on a certain day Ex. On every 2nd week on Friday for april august and december? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Mar 2008 13:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100069#M25449</guid>
      <dc:creator>Steve ward_3</dc:creator>
      <dc:date>2008-03-27T13:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100070#M25450</link>
      <description>Use a data file to store the names of months you want to run the job. Have the job resubmit itself everyday, but only _do_ something on all the three condition getting satisfied. For 2nd week of a month the days must be between 8 to 14 and run the job if it is Friday of a month mentioned in the data file</description>
      <pubDate>Thu, 27 Mar 2008 13:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100070#M25450</guid>
      <dc:creator>Shankar Bose</dc:creator>
      <dc:date>2008-03-27T13:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100071#M25451</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;In 2004 I posted this to dcl.openvms.org:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dcl.openvms.org/stories.php?story=04/10/15/8590853" target="_blank"&gt;http://dcl.openvms.org/stories.php?story=04/10/15/8590853&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;A procedure that lets you specify all kinds of variables for calculating next submit.&lt;BR /&gt;&lt;BR /&gt;eg: Last sunday of every month, or (your latest question) first Friday after 8th of month where month # a certain multiple.&lt;BR /&gt;&lt;BR /&gt;This procedure contains a fairly extended "manual" in its comments.&lt;BR /&gt;&lt;BR /&gt;hth&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, 27 Mar 2008 13:55:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100071#M25451</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-03-27T13:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100072#M25452</link>
      <description>Instead of data file you can keep the months name in a variable also. It is easier that way.</description>
      <pubDate>Thu, 27 Mar 2008 13:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100072#M25452</guid>
      <dc:creator>Shankar Bose</dc:creator>
      <dc:date>2008-03-27T13:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100073#M25453</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;April, August, and December is three times a year, neither two nor four!&lt;BR /&gt;&lt;BR /&gt;That said, the approach of adding to the current month will work. You can use the F$CVTIME lexical function within the DCL procedure to extract the current month from the current time (which can be obtained using F$TIME).&lt;BR /&gt;&lt;BR /&gt;The "second Friday" part is trickier. If I were doing the computation, I would likely get the weekday (also available using F$CVTIME) for the 1st of the month and then compute the adjustment, or I could compute the day of the week for the 13th (the earliest date within a month that can be the second Friday), and adjust accordingly.&lt;BR /&gt;&lt;BR /&gt;Note that F$CVTIME when used in "COMPARISON" mode returns numeric values, which are easier to process in this situation.&lt;BR /&gt;&lt;BR /&gt;One should also take care in the event that the procedure is run at some other time that the calculations do not misfire.&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, 27 Mar 2008 14:36:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100073#M25453</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-03-27T14:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100074#M25454</link>
      <description>@ Bob:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt; for the 13th (the earliest date within a month that can be the second Friday), &lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;In MY book, when the 1st of any month is a Friday, that month the 8th is counted as the second Friday...  :-)&lt;BR /&gt;&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, 27 Mar 2008 14:50:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100074#M25454</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-03-27T14:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100075#M25455</link>
      <description>If you do not have to submit too often, may be a simple solution is to put the dates in the dcl&lt;BR /&gt;and from time to time update the command file.&lt;BR /&gt;&lt;BR /&gt;You do not need to resubmit it, just do, if your command file is a.com, after modfying it&lt;BR /&gt;from a.com;1 to a.com;2&lt;BR /&gt;&lt;BR /&gt;$ copy/overlay a.com;2 a.com;1&lt;BR /&gt;&lt;BR /&gt;and the "new" a.com will be used for the next submit.</description>
      <pubDate>Thu, 27 Mar 2008 15:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100075#M25455</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-03-27T15:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100076#M25456</link>
      <description>Jan, &lt;BR /&gt;&lt;BR /&gt;Indeed, I mis-spoke[sic].&lt;BR /&gt;&lt;BR /&gt;The second Friday of the month ranges from the 9th (when the month starts on a Thursday), to the 15th (when the month starts on a Friday).&lt;BR /&gt;&lt;BR /&gt;(smile) Obviously, one needs to exercise caution when dealing with the fourth and fifth weeks of the month.&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, 27 Mar 2008 17:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100076#M25456</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-03-27T17:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100077#M25457</link>
      <description>To all,&lt;BR /&gt;&lt;BR /&gt;My apologies, this does not seem to be my day for calendars.&lt;BR /&gt;&lt;BR /&gt;The lowest day of month for the "second Friday" is the 8th (if the month starts on the previous Friday). The highest day of month is the 14th (if the month started on a Saturday).&lt;BR /&gt;&lt;BR /&gt;My apologies for the errata.&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, 27 Mar 2008 19:49:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100077#M25457</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-03-27T19:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100078#M25458</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;The "trick" to get the last day of the month is to use "one day before the start of the next month", to wit:&lt;BR /&gt;&lt;BR /&gt;$ LASTDATE = F$CVTIME("1-MAR-2008-1-0",,"DATE)&lt;BR /&gt;&lt;BR /&gt;Yields 29-Feb-2008. Note that this automatically deals with leap years.&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, 27 Mar 2008 19:54:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100078#M25458</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-03-27T19:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100079#M25459</link>
      <description>There are numerous potential problems with having jobs submitted into the "distant" future (more than say, 1 month).&lt;BR /&gt;&lt;BR /&gt;As others have suggested, I find you're much better off having the job execute frequently (daily is easiest) and checking on each run if there's anything to be done.&lt;BR /&gt;&lt;BR /&gt;A few tricks to make coding easier and clearer...&lt;BR /&gt;&lt;BR /&gt;For a job that should do something each week day:&lt;BR /&gt;&lt;BR /&gt;$ SUBMIT self for tomorrow&lt;BR /&gt;$ GOTO 'F$CVTIME(,,"WEEKDAY")&lt;BR /&gt;$&lt;BR /&gt;$ Saturday:&lt;BR /&gt;$ Sunday:&lt;BR /&gt;$ EXIT&lt;BR /&gt;$&lt;BR /&gt;$ Monday:&lt;BR /&gt;$ Tuesday:&lt;BR /&gt;$ Wednesday:&lt;BR /&gt;$ Thursday:&lt;BR /&gt;$ Friday:&lt;BR /&gt;$ ! Do work here&lt;BR /&gt;&lt;BR /&gt;Obvious modifications for doing different things on specific weekdays.&lt;BR /&gt;&lt;BR /&gt;For first of the month:&lt;BR /&gt;&lt;BR /&gt;$ IF F$CVTIME(,,"DAY").EQS."01"&lt;BR /&gt;$ THEN&lt;BR /&gt;$   ! Today is first of month&lt;BR /&gt;$ ENDIF&lt;BR /&gt;&lt;BR /&gt;For last day of month&lt;BR /&gt;&lt;BR /&gt;$ IF F$CVTIME(,,"MONTH").NES.F$CVTIME("+1-",,"MONTH")&lt;BR /&gt;$ THEN&lt;BR /&gt;$   ! Today is last day of month&lt;BR /&gt;$ ENDIF&lt;BR /&gt;&lt;BR /&gt;For a calendar of arbitrary dates, store them in a file:&lt;BR /&gt;&lt;BR /&gt;$ PIPE SEARCH ACTION_DATES.DAT "''F$CVTIME(,"ABSOLUTE","DATE")'" &amp;gt;nl: 2&amp;gt;nl:&lt;BR /&gt;$ IF $SEVERITY.EQS."1"&lt;BR /&gt;$ THEN&lt;BR /&gt;$   ! today is listed in ACTION_DATES.DAT &lt;BR /&gt;$ ENDIF&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Mar 2008 00:13:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100079#M25459</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-03-28T00:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100080#M25460</link>
      <description>Can someone just give me a simple if then else command to achieve what I am looking for. &lt;BR /&gt;&lt;BR /&gt;I want to be able to execute a job that will check for a certain date and if it is that date to submit it automatically. &lt;BR /&gt;&lt;BR /&gt; Let's say i want this job to run on the 2nd week on a particular day {tuesday) in June and then again in Decemember? &lt;BR /&gt;&lt;BR /&gt;Is there a simple DCL command to do this, without making it too complicated! &lt;BR /&gt;&lt;BR /&gt;Ex. &lt;BR /&gt;&lt;BR /&gt;Maybe something that says &lt;BR /&gt;&lt;BR /&gt;if today is the 14th of june or Decemeber and the day is tuesday then submit this job? &lt;BR /&gt;&lt;BR /&gt;Something to that effect? &lt;BR /&gt;&lt;BR /&gt;Just want somethinmg simple if at all possible. &lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Apr 2008 16:38:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100080#M25460</guid>
      <dc:creator>Steve ward_3</dc:creator>
      <dc:date>2008-04-01T16:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100081#M25461</link>
      <description>&amp;gt; Can someone just give me a simple [...]&lt;BR /&gt;&lt;BR /&gt;Perhaps, but I doubt it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] check for a certain date [...]&lt;BR /&gt;&lt;BR /&gt;I think that that's been provided already.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Let's say i want this job to run on the 2nd&lt;BR /&gt;&amp;gt; week on a particular day {tuesday) [...]&lt;BR /&gt;&lt;BR /&gt;No problem.  Define "2nd week".&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Just want somethinmg simple if at all&lt;BR /&gt;&amp;gt; possible.&lt;BR /&gt;&lt;BR /&gt;A clear, unambiguous description of the&lt;BR /&gt;problem can be a big help.  I haven't seen&lt;BR /&gt;one yet.  Some thought may be required.  Get&lt;BR /&gt;used to it.  If you can't specify the problem&lt;BR /&gt;clearly enough for someone else to do your&lt;BR /&gt;job for you, then you may need to do some&lt;BR /&gt;playing around with the suggestions you get,&lt;BR /&gt;to see if you can adapt the concepts to&lt;BR /&gt;whatever it is that you actually want to do.&lt;BR /&gt;&lt;BR /&gt;Am I being too grumpy again?</description>
      <pubDate>Tue, 01 Apr 2008 17:01:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100081#M25461</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-04-01T17:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100082#M25462</link>
      <description>The com file is out there but for some reason it doesn't execute the submit command when it does find it?? &lt;BR /&gt;&lt;BR /&gt;Am I missing something? &lt;BR /&gt;&lt;BR /&gt;$       if (f$search("steve_ward:'node'_ward.com") .eqs. "")&lt;BR /&gt;$       then&lt;BR /&gt;$               write sys$output "WARD.COM file missing!  Program will NOT run."&lt;BR /&gt;$               goto the_end&lt;BR /&gt;$ else&lt;BR /&gt;$ SUBMIT/NOPRINT/QUE=SYS$BATCH/LOG=STEVE_WARD:[000000]'node'_WARD.COM</description>
      <pubDate>Thu, 03 Apr 2008 13:44:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100082#M25462</guid>
      <dc:creator>Steve ward_3</dc:creator>
      <dc:date>2008-04-03T13:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100083#M25463</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;if (f$search("steve_ward:'node'_ward.com") .eqs. "")&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;Is this an exact copy/paste, or a nearly accurate attempt to re-type?&lt;BR /&gt;&lt;BR /&gt;It SHOULD be  (and for clarity I added spaces, which do NOT belong!)&lt;BR /&gt;if (f$search(" steve_ward: ' ' node ' _ward.com") .eqs. "")&lt;BR /&gt;&lt;BR /&gt;Notice: Between double quotes, you need TWO apostrophes to begin synbol substitution, and one to end it.&lt;BR /&gt;&lt;BR /&gt;And why do you f$search&lt;BR /&gt;"steve_ward:'node'_ward.com") &lt;BR /&gt;but if you find it, you SUBMIT&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;STEVE_WARD:[000000]'node'_WARD.COM&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;It will work a lot better of you SUBMIT STEVE_WARD:'node'_WARD.COM&lt;BR /&gt;&lt;BR /&gt;Explanation:&lt;BR /&gt;In the search, STEVE_WARD obviously is a logical name for a directory (or you would not find anything)&lt;BR /&gt;But in STEVE_WARD:[000000] you specify a DEVICE )potentially a Concealed Device) named STEVE_WARD; which has a top-directory [000000] (for concealed devices that would be the pseudo directory, pointing to the root level itself), where the .COM file should reside.&lt;BR /&gt;But, STEVE_WARD can NEVER be simaultabiously both a Device spec AND a Directory-spec.&lt;BR /&gt;&lt;BR /&gt;hth&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, 03 Apr 2008 14:07:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100083#M25463</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-04-03T14:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Submiting a batch job to run automatically twice a year</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100084#M25464</link>
      <description>Duh&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;simaultabiously &lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;read that as simultanously&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, 03 Apr 2008 14:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-batch-job-to-run-automatically-twice-a-year/m-p/5100084#M25464</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-04-03T14:08:56Z</dc:date>
    </item>
  </channel>
</rss>

