<?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: DCL Synchronize command in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098359#M61267</link>
    <description>Remains to check the user of the submitting process and its privileges. Sure that there is only one job LOAD_CERNER executing? To make sure to synchronize on the right process you might want to use the $ENTRY variable:&lt;BR /&gt;$ SUBMIT ...&lt;BR /&gt;$ ENTRY = $ENTRY&lt;BR /&gt;$ SYNCHRONIZE/ENTRY='ENTRY'</description>
    <pubDate>Tue, 21 Oct 2003 08:40:23 GMT</pubDate>
    <dc:creator>Thomas Pauli</dc:creator>
    <dc:date>2003-10-21T08:40:23Z</dc:date>
    <item>
      <title>DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098353#M61261</link>
      <description>I have several command procedures that use the SYNCHRONIZE command to maintain timing inside the procedure.  The next step depends on the previous one completing normally before continuing.&lt;BR /&gt;&lt;BR /&gt;My problem is that the command does not work consistantly.  It will work perfectly for 4 or 5 days and then simply fail.  I have ensured that the next command procedure is submitted with the same user as the main procedure.  I would really appreciate help with this problem.&lt;BR /&gt;&lt;BR /&gt;Here is a sample of the code.&lt;BR /&gt;&lt;BR /&gt;$                Submit/log=hisd_workdir:load_cerner1020.log -&lt;BR /&gt;                 /name=load_cerner/USER=CHAMBJX -&lt;BR /&gt;                 /param=("10/20/2003","1020") HISD_WORKDIR:LOAD_cerner_CHARGE&lt;BR /&gt;Job LOAD_CERNER (queue UPENN2_SYSBATCH, entry 3195) started on UPENN2_SYSBATCH&lt;BR /&gt;$!wait for load_cerner_charge to finish and check if it is successful&lt;BR /&gt;$               show time&lt;BR /&gt;  21-OCT-2003 08:00:01&lt;BR /&gt;$               SYNCHRONIZE LOAD_CERNER&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Oct 2003 07:36:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098353#M61261</guid>
      <dc:creator>Jesse Chambless</dc:creator>
      <dc:date>2003-10-21T07:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098354#M61262</link>
      <description>Hello,&lt;BR /&gt;the documentation of the SYNCHRONIZE command emphasizes the need for delete (d)&lt;BR /&gt;access of the job. Is there a chance that the job runs on diferent queues on&lt;BR /&gt;different opportunities? For example through a generic queue? That this queues&lt;BR /&gt;have different access rights? This might explain the strange bahavior!&lt;BR /&gt;Regards,&lt;BR /&gt;T. Pauli&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Oct 2003 07:52:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098354#M61262</guid>
      <dc:creator>Thomas Pauli</dc:creator>
      <dc:date>2003-10-21T07:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098355#M61263</link>
      <description>The job is submitted to the same queue each time.  It re-queues itself each run to the same queue that it is currently running on.  I could set the process to have all privs -bypass as the jobs starts but don't know if that will help.&lt;BR /&gt;&lt;BR /&gt;I am willing to try just about anything at this point.&lt;BR /&gt;&lt;BR /&gt;It does appear that when the job fails, it is smaller than the other times.  I do not know if that would have any bearing or not.&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Tue, 21 Oct 2003 07:58:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098355#M61263</guid>
      <dc:creator>Jesse Chambless</dc:creator>
      <dc:date>2003-10-21T07:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098356#M61264</link>
      <description>I checked the protection on the batch queue and found that world had S priv.  I reset the world protection to SD.  I will keep an eye on it.&lt;BR /&gt;&lt;BR /&gt;As a side note, is there a way to extract/look at the DCLTABLE.EXE entries to see how the commands are defined?&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Tue, 21 Oct 2003 08:28:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098356#M61264</guid>
      <dc:creator>Jesse Chambless</dc:creator>
      <dc:date>2003-10-21T08:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098357#M61265</link>
      <description>But is this queue a generic queue?</description>
      <pubDate>Tue, 21 Oct 2003 08:31:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098357#M61265</guid>
      <dc:creator>Thomas Pauli</dc:creator>
      <dc:date>2003-10-21T08:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098358#M61266</link>
      <description>Nope.  Batch execution queue.  Here is the defination.&lt;BR /&gt;&lt;BR /&gt;Batch queue UPENN2_SYSBATCH, idle, on UPENN2::&lt;BR /&gt;  /BASE_PRIORITY=10 /JOB_LIMIT=20 /OWNER=[1,4] /PROTECTION=(S:M,O:D,G:R,W:SD)&lt;BR /&gt;  /RETAIN=ERROR&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Oct 2003 08:33:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098358#M61266</guid>
      <dc:creator>Jesse Chambless</dc:creator>
      <dc:date>2003-10-21T08:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098359#M61267</link>
      <description>Remains to check the user of the submitting process and its privileges. Sure that there is only one job LOAD_CERNER executing? To make sure to synchronize on the right process you might want to use the $ENTRY variable:&lt;BR /&gt;$ SUBMIT ...&lt;BR /&gt;$ ENTRY = $ENTRY&lt;BR /&gt;$ SYNCHRONIZE/ENTRY='ENTRY'</description>
      <pubDate>Tue, 21 Oct 2003 08:40:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098359#M61267</guid>
      <dc:creator>Thomas Pauli</dc:creator>
      <dc:date>2003-10-21T08:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098360#M61268</link>
      <description>Thanks.  I will give that a try.   I wasn't aware that I could get the entry in that manner.</description>
      <pubDate>Tue, 21 Oct 2003 08:42:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098360#M61268</guid>
      <dc:creator>Jesse Chambless</dc:creator>
      <dc:date>2003-10-21T08:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098361#M61269</link>
      <description>I have also discovered that using the mis-spelled work SYNCRONIZE will also work.  I have tested the entry suggestion and it appears to work with my small test.  I have searched for any .CLD files that would have re-defined the SYNCHRONIZE command but have found none on the system.</description>
      <pubDate>Tue, 21 Oct 2003 09:12:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098361#M61269</guid>
      <dc:creator>Jesse Chambless</dc:creator>
      <dc:date>2003-10-21T09:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098362#M61270</link>
      <description>Well, DCL does not care very much after the first 4 characters, so essentially the stuff after sync... may contain spelling errors. &lt;BR /&gt;&lt;BR /&gt;Other example:&lt;BR /&gt;&lt;BR /&gt;$ renane temp.txt temp1.txt&lt;BR /&gt;&lt;BR /&gt;works perfectly fine :-)</description>
      <pubDate>Tue, 21 Oct 2003 09:51:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098362#M61270</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2003-10-21T09:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098363#M61271</link>
      <description>Could it be that you've got SYNCHRONIZE problems because qmgr reused an entry number between the time the original job was submitted and the batch stream went to synchronize with it?&lt;BR /&gt; &lt;BR /&gt;One possible workaround is to subm/retain=until="TOMORROW"&lt;BR /&gt;to make sure you sync against correct entry.&lt;BR /&gt; &lt;BR /&gt;You might want to delete the entry at the end of your procedure to clean up the queue.&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Oct 2003 11:00:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098363#M61271</guid>
      <dc:creator>Åge Rønning</dc:creator>
      <dc:date>2003-10-21T11:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098364#M61272</link>
      <description>re your side note about seeing how commands are defined - see Joe Meadows VERB utility from e.g &lt;A href="http://vms.process.com/scripts/fileserv/fileserv.com?VERB" target="_blank"&gt;http://vms.process.com/scripts/fileserv/fileserv.com?VERB&lt;/A&gt;</description>
      <pubDate>Tue, 21 Oct 2003 11:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098364#M61272</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2003-10-21T11:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098365#M61273</link>
      <description>Regarding your batch queue definition:&lt;BR /&gt;&lt;BR /&gt;Batch queue UPENN2_SYSBATCH, idle, on UPENN2::&lt;BR /&gt;/BASE_PRIORITY=10 /JOB_LIMIT=20 /OWNER=[1,4] /PROTECTION=(S:M,O:D,G:R,W:SD)&lt;BR /&gt;/RETAIN=ERROR &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Adding W:SD allows anyone on the system to submit (S) to the queue and delete (D) any job in the queue.  The delete access you need is already available with O:D (owner of job may delete it).</description>
      <pubDate>Tue, 21 Oct 2003 16:03:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098365#M61273</guid>
      <dc:creator>Mike O'Malley</dc:creator>
      <dc:date>2003-10-21T16:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098366#M61274</link>
      <description>Hi,&lt;BR /&gt;I have same problem. Some year ago I've used SYNCHRO command but DCL procedure sometimes fails; now I don't remember the reason but now I use a DCL procedure to synchonize work.&lt;BR /&gt;You can see the example DCL procedure that you can change.&lt;BR /&gt;If you are interesting I can search in my old documentation to discover exactly reason of this problem.&lt;BR /&gt; &lt;BR /&gt;Bye&lt;BR /&gt;Antoniov&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Oct 2003 00:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098366#M61274</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2003-10-22T00:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098367#M61275</link>
      <description>OOPS&lt;BR /&gt;file .com means binary in windows; you cannot see attachment.&lt;BR /&gt;Now I changed name to SYNCHRO.TXT.&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Oct 2003 00:36:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098367#M61275</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2003-10-22T00:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098368#M61276</link>
      <description>To all who responded.&lt;BR /&gt;&lt;BR /&gt;Many thanks!  I have made several modifications to the command procedure but the following seems to have fixed/worked around the problem.&lt;BR /&gt;&lt;BR /&gt;I added a 30 second delay before the synchronize command to give the job controller time to get everything set up and open.  I also am using the entry number vice the name in the procedures.&lt;BR /&gt;&lt;BR /&gt;Again,  many thanks to all who responded.</description>
      <pubDate>Tue, 11 Nov 2003 08:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098368#M61276</guid>
      <dc:creator>Jesse Chambless</dc:creator>
      <dc:date>2003-11-11T08:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Synchronize command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098369#M61277</link>
      <description>Hi Jessie&lt;BR /&gt;Sumbit som point to Pauli has helped giving a good idea.&lt;BR /&gt; &lt;BR /&gt;Bye&lt;BR /&gt;Antoniov&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Nov 2003 08:52:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-synchronize-command/m-p/3098369#M61277</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2003-11-11T08:52:38Z</dc:date>
    </item>
  </channel>
</rss>

