<?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: Starting a detached process from the batch queue in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920759#M32621</link>
    <description>Check the accounting with the PID you get when the RUN command is executed.&lt;BR /&gt;&lt;BR /&gt;$ ACCOUNT /FU/ID=... ACCOUNTNG&lt;BR /&gt;&lt;BR /&gt;Check for the final status code/text.&lt;BR /&gt;&lt;BR /&gt;regards Kalle&lt;BR /&gt;</description>
    <pubDate>Wed, 24 Aug 2005 10:21:52 GMT</pubDate>
    <dc:creator>Karl Rohwedder</dc:creator>
    <dc:date>2005-08-24T10:21:52Z</dc:date>
    <item>
      <title>Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920752#M32614</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;I'm trying to write a DCL command file which will restart a detached process if it has stopped. I want to use the batch queue so that the check can be performed periodically. When running from the batch queue my command file can detect that the target detached process is not running and can actually restart the process, however the process fails almost immediately. Any suggestions as to why is this happening?</description>
      <pubDate>Wed, 24 Aug 2005 09:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920752#M32614</guid>
      <dc:creator>Peter Elliott_3</dc:creator>
      <dc:date>2005-08-24T09:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920753#M32615</link>
      <description>Hi Peter,&lt;BR /&gt;Welcome to the VMS forum.&lt;BR /&gt;&lt;BR /&gt;What's the error you're getting? Anything seen in the log file of the batch job?&lt;BR /&gt;Please gives us some more info.&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2005 09:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920753#M32615</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-08-24T09:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920754#M32616</link>
      <description>There are no error messages in the log file. I get notification that the process has started: &lt;BR /&gt;%RUN-S-PROC_ID,... &lt;BR /&gt;but the process disappears immediately.  &lt;BR /&gt;&lt;BR /&gt;If I perform the same command from the DCL prompt the process starts and continues as normal.</description>
      <pubDate>Wed, 24 Aug 2005 09:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920754#M32616</guid>
      <dc:creator>Peter Elliott_3</dc:creator>
      <dc:date>2005-08-24T09:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920755#M32617</link>
      <description>Peter,&lt;BR /&gt;&lt;BR /&gt;Can you provide the EXACT commands you are using when&lt;BR /&gt;it works and when it fails along with the EXACT errors&lt;BR /&gt;you get?&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2005 09:45:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920755#M32617</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2005-08-24T09:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920756#M32618</link>
      <description>Peter,&lt;BR /&gt;You kick of a detached process by specifying either the /UIC or the /DETACHED qualifier is specified with the RUN command and you have the IMPERSONATE priv. You could change the RUN command and add the /OUTPUT=file and the /ERROR=file qualifiers, so that any conditions signalled by the created process are captured.&lt;BR /&gt;Greetz,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Wed, 24 Aug 2005 09:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920756#M32618</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-08-24T09:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920757#M32619</link>
      <description>Peter,&lt;BR /&gt;welcome to VMS forum.&lt;BR /&gt; &lt;BR /&gt;Batch queue can run a detached process: there are no limitation about this feature. Like you I use batch command to check and restart some detached processes.&lt;BR /&gt;I guess, you forgot SET DEFAULT command or something like this. Don't forget, batch command may have different login environment.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2005 10:05:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920757#M32619</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-08-24T10:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920758#M32620</link>
      <description>The command I am using &lt;BR /&gt;RUN/PROCESS=processname/DETACHED/OUTPUT=output.log process.exe&lt;BR /&gt;&lt;BR /&gt;I have now included /error=error.log and get the following error:&lt;BR /&gt;&lt;BR /&gt;%SYSTEM-F-ACCVIO, access violation, reason mask=04, ...&lt;BR /&gt;&lt;BR /&gt;Perhaps this is more useful information?&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2005 10:16:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920758#M32620</guid>
      <dc:creator>Peter Elliott_3</dc:creator>
      <dc:date>2005-08-24T10:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920759#M32621</link>
      <description>Check the accounting with the PID you get when the RUN command is executed.&lt;BR /&gt;&lt;BR /&gt;$ ACCOUNT /FU/ID=... ACCOUNTNG&lt;BR /&gt;&lt;BR /&gt;Check for the final status code/text.&lt;BR /&gt;&lt;BR /&gt;regards Kalle&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2005 10:21:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920759#M32621</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2005-08-24T10:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920760#M32622</link>
      <description>Peter,&lt;BR /&gt;&lt;BR /&gt;One possibility is that the process is getting started with insufficient quotas and is running out of something leading to the ACCVIO.&lt;BR /&gt;&lt;BR /&gt;You might try adding the /AUTHORIZE qualifier to the RUN to force it to be logged in with the quotas of the intended username.&lt;BR /&gt;&lt;BR /&gt;And, if you still get the error message(s), please provide the complete text of the error.&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Wed, 24 Aug 2005 10:22:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920760#M32622</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2005-08-24T10:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920761#M32623</link>
      <description>Adding AUTHORIZE did not help, so here is the error message in full:&lt;BR /&gt;&lt;BR /&gt;SYSTEM-F-ACCVIO, access violation, reason mask=04, virtual address=0000FFFE, PC=00040C54, PS=0000001B&lt;BR /&gt;%TRACE-F-TRACEBACK, symbolic stack dump follows&lt;BR /&gt; Image Name   Module Name     Routine Name    Line Number  rel PC      abs PC &lt;BR /&gt; RNGCLIN                                                0 00030C54    00040C54&lt;BR /&gt;                                                        0 85404170    85404170&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2005 10:34:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920761#M32623</guid>
      <dc:creator>Peter Elliott_3</dc:creator>
      <dc:date>2005-08-24T10:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920762#M32624</link>
      <description>OK maybe using /AUTHORIZE did help! The process is now being successfully restarted from the batch queue. &lt;BR /&gt;&lt;BR /&gt;A big thankyou to all who contributed to solve my problem!</description>
      <pubDate>Wed, 24 Aug 2005 11:03:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920762#M32624</guid>
      <dc:creator>Peter Elliott_3</dc:creator>
      <dc:date>2005-08-24T11:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920763#M32625</link>
      <description>Peter,&lt;BR /&gt;are you sure in interactive mode, can your command works?&lt;BR /&gt;The difference between interactive mode and batch mode are:&lt;BR /&gt;1) SYLOGIN and LOGIN: statements submitted by F$MODE()&lt;BR /&gt;2) Rarely access restricion on SYSUAF&lt;BR /&gt; &lt;BR /&gt;May be you have limited MAXDETACH in your SYSUAF, but this value is valid either in interactive either in batch mode.&lt;BR /&gt;I guess you have some limited quota.&lt;BR /&gt;Do you have process dump?&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2005 11:08:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920763#M32625</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-08-24T11:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920764#M32626</link>
      <description>A little off topic about the differences between interactive- and batchmode:&lt;BR /&gt;&lt;BR /&gt;Some DCL commands have different defaults for qualifiers depending on the mode, e.g. the lINK commands automagially adds a /MAP if run in batch, which leads to an error if you try to install VMSINSTALlable kits in batch, because VMSINSTAL sets default to MISSING:[MISSING], which makes the creation of a MAP-file quite difficult. There were some softwarekits I had to reassemble.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Wed, 24 Aug 2005 23:41:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920764#M32626</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2005-08-24T23:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920765#M32627</link>
      <description>Peter&amp;gt;&amp;gt; A big thankyou to all who contributed to solve my problem!&lt;BR /&gt;&lt;BR /&gt;Welcome to the ITRC forum Peter.&lt;BR /&gt;Good to read your problem is addressed.&lt;BR /&gt;&lt;BR /&gt;You can express you gratitude in measured steps by assigning points to answers.&lt;BR /&gt;&lt;BR /&gt;You can gracefully indicate that you are no longer interested in further discussion on this topic by 'closing' it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein. (0 point for this comment please).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;</description>
      <pubDate>Thu, 25 Aug 2005 00:08:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920765#M32627</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-08-25T00:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a detached process from the batch queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920766#M32628</link>
      <description>Use of /AUTHORIZE in the RUN/DETACHED command solved the problem. &lt;BR /&gt;Once again, thanks to all who contributed to the forum.</description>
      <pubDate>Thu, 25 Aug 2005 00:40:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/starting-a-detached-process-from-the-batch-queue/m-p/4920766#M32628</guid>
      <dc:creator>Peter Elliott_3</dc:creator>
      <dc:date>2005-08-25T00:40:32Z</dc:date>
    </item>
  </channel>
</rss>

