<?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 job based on the day of the week in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519399#M5308</link>
    <description>&amp;gt;&amp;gt; Just a (humerous) follow on to Hein's comment (no offense intended to Hein). I strongly recommend that you check for the entire "day of week" value against a string containing all of the days of the week (e.g., "/Monday/Tuesday/Wednesday/.../Sunday/") using the F$LOCATE lexical function.&lt;BR /&gt;&lt;BR /&gt;And in that same spirit Bob, how would the French Sunday 'Dimanche' look up in your table Bob? &lt;BR /&gt;:-) :-) :-)&lt;BR /&gt;&lt;BR /&gt;Over engineering: If dcl had a day-of-the-I suppose you could determine the day of the week for today, add the appropriate days to make it weekend ask for the name of that day and so on. But then, what is a weekend?&lt;BR /&gt;Nah, I'm afraid you'r stuck with hardcoding, and in that case "S" is hust about as bad as "Saturday". Admittedly, with "Saturday" you could do the belt and suspenders thing of reporting an error if the day is not found in the table at all.&lt;BR /&gt;&lt;BR /&gt;More readable, still language dependend, solution:&lt;BR /&gt;&lt;BR /&gt;$ weekend = " Saturday Sunday "&lt;BR /&gt;$ start_hour = 5 + 2*(f$len(weekend).ne.f$loc(f$cvtime(,,"WEEKDAY"),weekend))&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 06 Apr 2005 15:54:12 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2005-04-06T15:54:12Z</dc:date>
    <item>
      <title>submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519391#M5300</link>
      <description>I a newie to VMS and i am having a problem&lt;BR /&gt;using the submit/after command.  I need to be able to submit a job every 30 mins, between the hours of 5:00am and midnight, Monday thru Friday and on the weekend (Sat &amp;amp; Sun) between the hrs of 7:00am and midnight. I tried both absolute and delta times with little success.&lt;BR /&gt;&lt;BR /&gt;Any assistance would be greatly apprciated.&lt;BR /&gt;Thanks,&lt;BR /&gt;Pat</description>
      <pubDate>Wed, 06 Apr 2005 12:50:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519391#M5300</guid>
      <dc:creator>patricia_28</dc:creator>
      <dc:date>2005-04-06T12:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519392#M5301</link>
      <description>Pat,&lt;BR /&gt;&lt;BR /&gt;I'm curious about what you tried that didn't work.  Of course there is no builtin mechanism in the VMS batch queue syntax to issue a small number of commands to create the behavior that you're looking for.&lt;BR /&gt;&lt;BR /&gt;There are commercial and freeware packages that might make it easier to do something like that.&lt;BR /&gt;&lt;BR /&gt;The most direct method is to create a command procedure that does something like this:&lt;BR /&gt;&lt;BR /&gt;Wake up&lt;BR /&gt;Is it between 5:00 AM and Midnight M-F? or between 7AM and midnight on Sat-Sun?  if so submit the job to be run&lt;BR /&gt;Generate the next time to wake up&lt;BR /&gt;(the WAIT command will accept an absolute time so that you can cause the wakeup to occur right on the hour and 30 minute intervals).  If the time is after midnight, calculate the next wakeup time as 5:00 AM or 7:00 AM depending on the day of the week.&lt;BR /&gt;Wait until next time to wake up&lt;BR /&gt;&lt;BR /&gt;The simplest way of doing this is in a DCL command procedure.  There are ways to do the same thing in an executable image of course with fancier bells and whistles, but the DCL solution is pretty straightforward.&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Wed, 06 Apr 2005 13:24:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519392#M5301</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2005-04-06T13:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519393#M5302</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;Thanks for your response.  I'm in the processing of creating a DCL command procedure. I'll let you know how it goes.</description>
      <pubDate>Wed, 06 Apr 2005 13:42:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519393#M5302</guid>
      <dc:creator>patricia_28</dc:creator>
      <dc:date>2005-04-06T13:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519394#M5303</link>
      <description>See $ help lexical or review the DCL Dictionary at &lt;A href="http://h71000.www7.hp.com/doc/732FINAL/9996/9996PRO.HTML" target="_blank"&gt;http://h71000.www7.hp.com/doc/732FINAL/9996/9996PRO.HTML&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You do exactly what you need with DCL.  Depending on your log requirements, another option might be to have 1 job running all day and pausing until the next 30 minute window.    Some DCL fragments which might help.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ DAY_OF_WEEK_NAME = F$CVTIME(,,"WEEKDAY")&lt;BR /&gt;.&lt;BR /&gt;$ if DAY_OF_WEEK_NAME .eqs. "Sunday" then goto resubmitit &lt;BR /&gt;.&lt;BR /&gt;$ XHOUR = F$INTEGER(F$EXTRACT(12,2,F$TIME()))&lt;BR /&gt;$ if xhour .lt. 2 then  . . . . &lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;$resubmitit:&lt;BR /&gt;&lt;BR /&gt;If the system is booted you'll need something in the startup or use "/restart" in your submit command.</description>
      <pubDate>Wed, 06 Apr 2005 14:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519394#M5303</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2005-04-06T14:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519395#M5304</link>
      <description>&lt;BR /&gt;I like Roberts suggestion a lot. Instead of a complicated re-submit logic, just have the job resubmit in 30 minutes all the time (/after="+0:30")&lt;BR /&gt;&lt;BR /&gt;Then just test for the right window using f$cvtime. Weekend are easy to recognize in english (and dutch) as both days start with the same unique char: S (or Z).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ weekend = ("S".eqs.f$extr(0,1,f$cvtime(,,"WEEKDAY")))&lt;BR /&gt;&lt;BR /&gt;$start_hour = 5 + 2 * weekend&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;$start_hour = 5 + 2*("S".eqs.f$extr(0,1,f$cvtime(,,"WEEKDAY")))&lt;BR /&gt;&lt;BR /&gt;the full code:&lt;BR /&gt;&lt;BR /&gt;$submi/after="+0:30" 'f$env("procedure")&lt;BR /&gt;$if f$cvtime(,,"HOUR").LT. start_hour then exit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;A possible selective submit solution (untested):&lt;BR /&gt;&lt;BR /&gt;$next=f$cvtime(" +0:30","ABSOLUTE")&lt;BR /&gt;$start_time = "05:00:00"&lt;BR /&gt;$ if "S".eqs.f$extr(0,1,f$cvtime(,,"WEEKDAY")) then start_time = "07:00:00"&lt;BR /&gt;$ next_time = f$cvtime(next,,"TIME")&lt;BR /&gt;$ next_date = f$cvtime(next,"ABSOLUTE","DATE")&lt;BR /&gt;$ if next_time.les.start_hour then next_time = start_hour&lt;BR /&gt;$ subm/after="''next_date' ''next_time'" 'f$env("procedure")&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy!&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 14:52:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519395#M5304</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-04-06T14:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519396#M5305</link>
      <description>&lt;BR /&gt;ooops. at least one typo.&lt;BR /&gt;&lt;BR /&gt;$ if "S".eqs.f$extr(0,1,f$cvtime(,,"WEEKDAY")) then start_time = "07:00:00"&lt;BR /&gt;&lt;BR /&gt;That should be:&lt;BR /&gt;&lt;BR /&gt;$ if "S".eqs.f$extr(0,1,f$cvtime(next,,"WEEKDAY")) then start_time = "07:00:00"&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 14:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519396#M5305</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-04-06T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519397#M5306</link>
      <description>I am not sure who this reply is going to, so I just say thank you to Andy and Hein.&lt;BR /&gt;&lt;BR /&gt;I'll try your suggestions tomorrow and let you know If I was successful.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Pat&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 15:00:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519397#M5306</guid>
      <dc:creator>patricia_28</dc:creator>
      <dc:date>2005-04-06T15:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519398#M5307</link>
      <description>Pat,&lt;BR /&gt;&lt;BR /&gt;Just a (humerous) follow on to Hein's comment (no offense intended to Hein). I strongly recommend that you check for the entire "day of week" value against a string containing all of the days of the week (e.g., "/Monday/Tuesday/Wednesday/.../Sunday/") using the F$LOCATE lexical function.&lt;BR /&gt;&lt;BR /&gt;If, through some strangeness (or future change in either OpenVMS or the user's configuration), you end up getting the names back in some unexpected language, you will not run "off the rails" in an uncontrolled fashion. I would not rely on the fact that (in English) the names for the weekend days (and only the weekend days) start with "S").&lt;BR /&gt;&lt;BR /&gt;The one extra line of DCL code, and the assocaited check that the name is one of the expected ones, costs little and prevents problems in the future.&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, 06 Apr 2005 15:17:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519398#M5307</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-04-06T15:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519399#M5308</link>
      <description>&amp;gt;&amp;gt; Just a (humerous) follow on to Hein's comment (no offense intended to Hein). I strongly recommend that you check for the entire "day of week" value against a string containing all of the days of the week (e.g., "/Monday/Tuesday/Wednesday/.../Sunday/") using the F$LOCATE lexical function.&lt;BR /&gt;&lt;BR /&gt;And in that same spirit Bob, how would the French Sunday 'Dimanche' look up in your table Bob? &lt;BR /&gt;:-) :-) :-)&lt;BR /&gt;&lt;BR /&gt;Over engineering: If dcl had a day-of-the-I suppose you could determine the day of the week for today, add the appropriate days to make it weekend ask for the name of that day and so on. But then, what is a weekend?&lt;BR /&gt;Nah, I'm afraid you'r stuck with hardcoding, and in that case "S" is hust about as bad as "Saturday". Admittedly, with "Saturday" you could do the belt and suspenders thing of reporting an error if the day is not found in the table at all.&lt;BR /&gt;&lt;BR /&gt;More readable, still language dependend, solution:&lt;BR /&gt;&lt;BR /&gt;$ weekend = " Saturday Sunday "&lt;BR /&gt;$ start_hour = 5 + 2*(f$len(weekend).ne.f$loc(f$cvtime(,,"WEEKDAY"),weekend))&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 15:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519399#M5308</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-04-06T15:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519400#M5309</link>
      <description>$! DAYOFWEEK.COM -- EXECUTE DAYOFWEEK PROGRAM AND PRINT IT TO SYS$OUTPUT&lt;BR /&gt;$! P1 -- global symbol to put the value into&lt;BR /&gt;$! P2 -- ,,      ,,    ,, ,,  ,,  day name into&lt;BR /&gt;$! p3 -- time to use&lt;BR /&gt;$ vfl = F$VERIFY(0)&lt;BR /&gt;$ sunday = 0&lt;BR /&gt;$ monday = 1&lt;BR /&gt;$ tuesday = 2&lt;BR /&gt;$ wednesday = 3&lt;BR /&gt;$ thursday = 4&lt;BR /&gt;$ friday = 5&lt;BR /&gt;$ saturday = 6&lt;BR /&gt;$ day_name = f$cvtime(p3,,"weekday")&lt;BR /&gt;$ day_num = 'day_name'&lt;BR /&gt;$ IF P1 .NES. "" THEN GOTO ret_parm&lt;BR /&gt;$  WRITE SYS$OUTPUT "Today is ",day_name,"."&lt;BR /&gt;$  EXIT&lt;BR /&gt;$ ret_parm:&lt;BR /&gt;$  'P1' == day_num&lt;BR /&gt;$  IF P2 .NES. "" THEN 'P2' == day_name&lt;BR /&gt;$  vfl = F$VERIFY(vfl)&lt;BR /&gt;$  EXIT&lt;BR /&gt;$!Last Modified:  16-OCT-1987 09:38:21.12, By: RLB</description>
      <pubDate>Wed, 06 Apr 2005 16:20:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519400#M5309</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2005-04-06T16:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519401#M5310</link>
      <description>re: selection control structure depending on weekday...&lt;BR /&gt;&lt;BR /&gt;For slightly more language independence give the work to DCL. You can code for several languages (but *complete* language independence might be a bit voluminous) like this:&lt;BR /&gt;&lt;BR /&gt;$ ON WARNING THEN GOTO UnexpectedDay&lt;BR /&gt;$ GOTO DAY_'F$CVTIME(,,"WEEKDAY")&lt;BR /&gt;$ UnexpectedDay:&lt;BR /&gt;$   ! Error Trap&lt;BR /&gt;$ EXIT&lt;BR /&gt;$ ...&lt;BR /&gt;$ DAY_Sunday:&lt;BR /&gt;$ DAY_Saturday:&lt;BR /&gt;$ DAY_Dimanche:&lt;BR /&gt;$ DAY_weekend-in-your-language:&lt;BR /&gt;$  ! Weekend branch&lt;BR /&gt;$ GOTO BackToMainLine&lt;BR /&gt;$&lt;BR /&gt;$ DAY_Monday:&lt;BR /&gt;$ DAY_Tuesday:&lt;BR /&gt;$ DAY_Wednesday:&lt;BR /&gt;$   etc...&lt;BR /&gt;$  ! Weekday branch&lt;BR /&gt;$ GOTO BackToMainLine&lt;BR /&gt;&lt;BR /&gt;If you're running V8.2 or higher, there are more options. Specifically we can eliminate all language dependencies.&lt;BR /&gt;&lt;BR /&gt;1-JAN-1990 was a Monday, so:&lt;BR /&gt;&lt;BR /&gt;$ J=F$DELTA("1-JAN-1990",F$TIME())&lt;BR /&gt;$ D=J-J/7*7&lt;BR /&gt;&lt;BR /&gt;will return 0 for Monday, 1 for Tuesday etc... So your test for a weekend day becomes simply:&lt;BR /&gt;&lt;BR /&gt;$ IF D.GE.5&lt;BR /&gt;$ THEN&lt;BR /&gt;$   ! weekend branch&lt;BR /&gt;$ ELSE&lt;BR /&gt;$   ! weekday branch&lt;BR /&gt;$ ENDIF  &lt;BR /&gt;&lt;BR /&gt;WARNING - since Delta times are limited to 10000 days, the above code will fail for dates after May 2017. &lt;BR /&gt;&lt;BR /&gt;I think I'll a suggestion that F$CVTIME(date,"COMPARISON","WEEKDAY") should return a number...&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 16:59:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519401#M5310</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-04-06T16:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519402#M5311</link>
      <description>&amp;gt;&amp;gt; 1-JAN-1990 was a Monday, so:&lt;BR /&gt;&amp;gt;&amp;gt; &lt;BR /&gt;&amp;gt;&amp;gt; $ J=F$DELTA("1-JAN-1990",F$TIME())&lt;BR /&gt;&amp;gt;&amp;gt; $ D=J-J/7*7&lt;BR /&gt;&lt;BR /&gt;Ah... My kinda thinking, but I did not have V8 to try. Good.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; the above code will fail for dates after May 2017. &lt;BR /&gt;&lt;BR /&gt;or you could just start closer in.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I think I'll a suggestion that F$CVTIME(date,"COMPARISON","WEEKDAY") should return a number... &lt;BR /&gt;&lt;BR /&gt;I suppose you could call it a a low impact bug, as "MONTH" already does the right thing for ABS vs COMPARE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 19:35:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519402#M5311</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-04-06T19:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519403#M5312</link>
      <description>Hein,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I suppose you could call it a a low impact bug, as "MONTH" already does the right thing for ABS vs COMPARE&lt;BR /&gt;&lt;BR /&gt;Unfortunately it's not quite as simple as it seems at first. The default output format is "COMPARISON", so to do this in a safe, upwards compatible manner, we'd have to change the default output format for "WEEKDAY" to "ABSOLUTE" and return numeric values only if the output format was explicitly "COMPARISON". It's probably more difficult to describe in the documentation than actually implement...&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Apr 2005 01:51:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519403#M5312</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-04-07T01:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519404#M5313</link>
      <description>Hi to All,&lt;BR /&gt;Sorry I didn't reply sooner. Thank you for all your responses. I "TRULY" appreciate the help.  I won't be able to work on this issue until Monday. Bosses are always changing priorities. I will keep you posted on my progress.  Thanks again.&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Pat&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Apr 2005 15:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519404#M5313</guid>
      <dc:creator>patricia_28</dc:creator>
      <dc:date>2005-04-07T15:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519405#M5314</link>
      <description>Hein,&lt;BR /&gt;&lt;BR /&gt;(Smile) Perhaps I was unclear, I did write that response in a hurry.&lt;BR /&gt;&lt;BR /&gt;I meant to say:&lt;BR /&gt;- If you find "Saturday" or "Sunday", then you are ok.&lt;BR /&gt;- If no string matches, take some appropriate action (error message: "Language not English"... If I had the time, I would delve into the multi-language support, my recollection is that there is a clean way to tell if your language is English, but it should not be too hard to find in the manual.&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, 07 Apr 2005 15:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519405#M5314</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-04-07T15:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519406#M5315</link>
      <description>$ show logical sys$language&lt;BR /&gt;&lt;BR /&gt;(LNM$SYSTEM_TABLE)&lt;BR /&gt; &lt;BR /&gt;  "SYS$LANGUAGE" = "ENGLISH"&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Thu, 07 Apr 2005 16:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519406#M5315</guid>
      <dc:creator>Doug Graver</dc:creator>
      <dc:date>2005-04-07T16:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519407#M5316</link>
      <description>It would be nice if VMS had a logical for weekend, weekend_day_1 and weekend_day_2 since system managers often have to create DCL which checks for weekend, Saturday, or Sunday.&lt;BR /&gt;A freeware international solution of the day of week might include something like this using symbols:&lt;BR /&gt;$! Is_Weekend.com&lt;BR /&gt;$! Defines weekend names.&lt;BR /&gt;$weekend==""&lt;BR /&gt;$weekend_day_1=""&lt;BR /&gt;$weekend_day_2=""&lt;BR /&gt;$if (f$trnlnm("SYS$LANGUAGE")) .eqs. "ENGLISH"&lt;BR /&gt;$THEN&lt;BR /&gt;$   weekend_table=="Saturday,Sunday"&lt;BR /&gt;$   weekend_day_1=="Saturday"&lt;BR /&gt;$   weekend_day_2=="Sunday"&lt;BR /&gt;$ELSE&lt;BR /&gt;$!    Non-English Customizations&lt;BR /&gt;$ENDIF&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;$exit&lt;BR /&gt;&lt;BR /&gt;or it could be done with system logicals.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Apr 2005 16:25:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519407#M5316</guid>
      <dc:creator>Lawrence Czlapinski</dc:creator>
      <dc:date>2005-04-08T16:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: submiting a job based on the day of the week</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519408#M5317</link>
      <description>You don't have to wait for V8.2 to take advantage of F$DELTA_TIME -- it's already in V7.3-2&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Robert</description>
      <pubDate>Sat, 09 Apr 2005 00:28:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/submiting-a-job-based-on-the-day-of-the-week/m-p/3519408#M5317</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2005-04-09T00:28:20Z</dc:date>
    </item>
  </channel>
</rss>

