<?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: Detached processes in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321452#M2882</link>
    <description>Done.&lt;BR /&gt;&lt;BR /&gt;Not 1 message in the log file. And this time it went wrong on the first execution.&lt;BR /&gt;&lt;BR /&gt;If someone could post the source of tcpip$snmp_request ...&lt;BR /&gt;&lt;BR /&gt;What can change the behaviour of this program ?&lt;BR /&gt;&lt;BR /&gt;Note that for 5 out 6 san switches the program works fine.</description>
    <pubDate>Fri, 02 Jul 2004 07:12:49 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2004-07-02T07:12:49Z</dc:date>
    <item>
      <title>Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321447#M2877</link>
      <description>I have a DCL procedure that runs well when executed interactively. However in detached or batch I get strange things.&lt;BR /&gt;&lt;BR /&gt;I checked logicals and symbols. No difference that can explain the problem.&lt;BR /&gt;I set quotas to the same value. Still the problem occurs.&lt;BR /&gt;&lt;BR /&gt;Some logicals are missing in detached. They are defined too (e.g. sys$scratch).&lt;BR /&gt;&lt;BR /&gt;What can be the problem ???&lt;BR /&gt;&lt;BR /&gt;(program is tcpip$snmp_request in mode dump everything)</description>
      <pubDate>Fri, 02 Jul 2004 06:11:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321447#M2877</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-07-02T06:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321448#M2878</link>
      <description>what problem do you see?&lt;BR /&gt;&lt;BR /&gt;It may be the program is making assumptions about its input or output device being a terminal or some part of the environment set by  an interactive login.</description>
      <pubDate>Fri, 02 Jul 2004 06:26:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321448#M2878</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-07-02T06:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321449#M2879</link>
      <description>Wim,&lt;BR /&gt;Can you add set verify in the starting and set noverify at the end and then submit the command procedure to execute with a /output qualifier. &lt;BR /&gt;&lt;BR /&gt;Lets see what errors you are getting&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
      <pubDate>Fri, 02 Jul 2004 06:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321449#M2879</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2004-07-02T06:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321450#M2880</link>
      <description>The program is not always functioning correctly. The first execution is OK but the second and subsequent execution mosty (but not always) end with "Unexpected reply".&lt;BR /&gt;&lt;BR /&gt;I capture sys$output and sys$error but I will add a global log file and check.</description>
      <pubDate>Fri, 02 Jul 2004 06:43:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321450#M2880</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-07-02T06:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321451#M2881</link>
      <description>Is same happens when you run program interactively, then first OK ,then remaining fails ?? &lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Lokesh</description>
      <pubDate>Fri, 02 Jul 2004 07:12:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321451#M2881</guid>
      <dc:creator>Lokesh_2</dc:creator>
      <dc:date>2004-07-02T07:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321452#M2882</link>
      <description>Done.&lt;BR /&gt;&lt;BR /&gt;Not 1 message in the log file. And this time it went wrong on the first execution.&lt;BR /&gt;&lt;BR /&gt;If someone could post the source of tcpip$snmp_request ...&lt;BR /&gt;&lt;BR /&gt;What can change the behaviour of this program ?&lt;BR /&gt;&lt;BR /&gt;Note that for 5 out 6 san switches the program works fine.</description>
      <pubDate>Fri, 02 Jul 2004 07:12:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321452#M2882</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-07-02T07:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321453#M2883</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;  Could you please post the EXACT command you use to start the procedure as a detached process?&lt;BR /&gt;&lt;BR /&gt;  It would also help if you could explain what you mean by "I get strange things".&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2004 23:29:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321453#M2883</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-07-02T23:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321454#M2884</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Try these threats :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=616957" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=616957&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=533394" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=533394&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For 1 SANswitch, I get "Unexpected reply". But not when asked interactively.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 06 Jul 2004 09:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321454#M2884</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-07-06T09:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321455#M2885</link>
      <description>This problem is not solved but since the software on the sanswitch was upgraded, the problem is almost gone.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 22 Dec 2004 02:41:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321455#M2885</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-12-22T02:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321456#M2886</link>
      <description>Wim,&lt;BR /&gt;  Same request...&lt;BR /&gt;&lt;BR /&gt;  Could you please post the EXACT command you're using to start the process and the EXACT (cut and paste transcript) of any error messages you are receiving.</description>
      <pubDate>Wed, 22 Dec 2004 15:23:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321456#M2886</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-12-22T15:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321457#M2887</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Sorry to be so vague but it's a strange thing.&lt;BR /&gt;&lt;BR /&gt;This is the startup command.&lt;BR /&gt;$ run                                     -&lt;BR /&gt;   /uic=[system]                          -&lt;BR /&gt;   /input='f$par("bbl$com:ver_proc.com")' -&lt;BR /&gt;   /output=nl:                            -&lt;BR /&gt;   /privileges=all                        -&lt;BR /&gt;   /priority=2                            -&lt;BR /&gt;   sys$system:loginout.exe&lt;BR /&gt;&lt;BR /&gt;in ver_proc.com, the problem is given on the command&lt;BR /&gt;mc TCPIP$SNMP_REQUEST.EXE 'p1' public getnext -l -w 9 1.3.6.1.4.1&lt;BR /&gt;and p1 is the IP address of the hub900.&lt;BR /&gt;&lt;BR /&gt;More info can be found in the threads 2 postings back. The IP trace could be handy.&lt;BR /&gt;&lt;BR /&gt;There are no error messages, only "unexpected reply". But when running the script within an interactive session, the problem never occurs (at least not during a couple of days). In detached, it goes wrong once on every 40 runs.&lt;BR /&gt;&lt;BR /&gt;The sanswitch was upgraded to 2.6.0c  and no longer has the problem. The hub900 is in 5.5 (?) and still has the problem.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Dec 2004 03:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321457#M2887</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-12-23T03:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321458#M2888</link>
      <description>Hi Wim,&lt;BR /&gt;because I believe you already checked for any different things between interactive and detached mode, I've persuaded trouble stands exactly in execution mode.&lt;BR /&gt;I guess, your application, sometimes need to use reply command that's not avaiable in detached mode because is a DCL command.&lt;BR /&gt;I hope this clue can help you.&lt;BR /&gt;Merry Christmas!&lt;BR /&gt;&lt;BR /&gt;Antonio Vigliotti</description>
      <pubDate>Thu, 23 Dec 2004 06:17:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321458#M2888</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-12-23T06:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321459#M2889</link>
      <description>But he starts the process by running LOGINOUT.EXE with a DCL procedure as input. Last time I checked, LOGINOUT maps DCL, no?</description>
      <pubDate>Thu, 23 Dec 2004 06:58:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321459#M2889</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-12-23T06:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321460#M2890</link>
      <description>Yes, Uwe,&lt;BR /&gt;DCL commands runned by .COM work fine!&lt;BR /&gt;Wim in his .COM executes MCR ... command and I guess this command wait for some reply.&lt;BR /&gt;I don't know his exact commands so I'm not able to give more informations.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Dec 2004 10:36:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321460#M2890</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-12-23T10:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321461#M2891</link>
      <description>MCR (short for Monitor Console Routine, the CLI on some RSX operating systems) is a convenient abbreviation for 'RUN SYS$SYSTEM:'. Wim could also define a foreign command, e.g.&lt;BR /&gt;&lt;BR /&gt;$ REQ = "$TCPIP$SNMP_REQUEST.EXE"&lt;BR /&gt;$ REQ ..parameters..</description>
      <pubDate>Thu, 23 Dec 2004 11:31:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321461#M2891</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-12-23T11:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321462#M2892</link>
      <description>&lt;QUOTE&gt;&lt;BR /&gt;MCR (short for Monitor Console Routine, the CLI on some RSX operating systems) is a convenient abbreviation for 'RUN SYS$SYSTEM:'. Wim could also define a foreign command, e.g.&lt;BR /&gt;&lt;BR /&gt;$ REQ = "$TCPIP$SNMP_REQUEST.EXE"&lt;BR /&gt;$ REQ ..parameters.. &lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;Yes,&lt;BR /&gt;if TCPIP$SNMP_REQUEST.EXE use a DCL symbol, DCL procedure works fine in interactive mode and fails in detached mode.&lt;BR /&gt; &lt;BR /&gt;Merry Xmas!&lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Dec 2004 12:35:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321462#M2892</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-12-23T12:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321463#M2893</link>
      <description>EH?&lt;BR /&gt;Of course you define the foreign command _inside_ the DCL procedure.</description>
      <pubDate>Thu, 23 Dec 2004 13:17:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321463#M2893</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-12-23T13:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321464#M2894</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;  Since your RUN command does not specify any quotas, you'll get only the PQL_D* quota values, which are almost certainly WAY below those of your interactive process. We went over the origin of quotas in a recent thread. Low quotas is a very likely cause of mysterious failures after some run time.&lt;BR /&gt;&lt;BR /&gt;  Add a SHOW PROCESS/QUOTA to your DCL procedure to see what you're getting. You'll need to direct the output to a log file to see it (which would be a good idea anyway - maybe the process is trying to give you an error message?)&lt;BR /&gt;&lt;BR /&gt;  Also note that although you've said /UIC=SYSTEM, the USERNAME of the process will be that of the creator, NOT SYSTEM! If this process should run under SYSTEM, the best approach is to put your RUN/DETACHED command into a procedure and SUBMIT/USER=SYSTEM. That way you'll get both username and UIC as SYSTEM. It will also allow you to add /AUTHORIZE to the RUN command to inherit the quotas from the SYSTEM UAF entry.&lt;BR /&gt;&lt;BR /&gt;So:&lt;BR /&gt;&lt;BR /&gt;START_VER_PROC.COM&lt;BR /&gt;$ run/AUTHORIZE -&lt;BR /&gt;/input='f$par("bbl$com:ver_proc.com")' -&lt;BR /&gt;/output=BBL$LOG:VER_PROC.LOG -&lt;BR /&gt;/priority=2 -&lt;BR /&gt;sys$system:loginout.exe&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ SUBMIT/USER=SYSTEM START_VER_PROC&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  If you don't want to do it this way, check out any RUN/DETACHED command from procedures in SYS$STARTUP - they have fully populated quota qualifiers. Cut and paste one and fill in appropriate values.</description>
      <pubDate>Thu, 23 Dec 2004 17:43:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321464#M2894</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-12-23T17:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321465#M2895</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;I already checked the quotas during the problem. Good guess but that's not the prblem. They are high.&lt;BR /&gt;&lt;BR /&gt;* ASTCNT = 298 free of 300 = 1% used&lt;BR /&gt;* BIOCNT = 300 free of 300 = 0% used&lt;BR /&gt;* BYTCNT = 99616 free of 99616 = 0% used&lt;BR /&gt;* DIOCNT = 300 free of 300 = 0% used&lt;BR /&gt;* ENQCNT = 2048 free of 2048 = 0% used&lt;BR /&gt;* FILCNT = 299 free of 300 = 1% used&lt;BR /&gt;* PRCCNT = 32 free of 32 = 0% used&lt;BR /&gt;* TQCNT = 298 free of 300 = 1% used&lt;BR /&gt;* VIRTPEAK = 2147276000 free of 2147483647 = 1 % used&lt;BR /&gt;* PAGFILCNT = 195440 free of 200000 = 3 % used&lt;BR /&gt;&lt;BR /&gt;I also checked the quotas during the execution : nothing special.&lt;BR /&gt;&lt;BR /&gt;How to explain that an upgrade of the san switch solved the problem ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Fri, 24 Dec 2004 02:11:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321465#M2895</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-12-24T02:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Detached processes</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321466#M2896</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;  Are you saying those are the quotas set by your PQL_D* or PQL_M* SYSGEN parameters? They are surprisingly high. The RUN command you posted doesn't specify any quotas, therefore it will get them from PQL parameters.&lt;BR /&gt;&lt;BR /&gt;  If your process is dependent on unusually high site specific values of PQL parameters, it's in danger of breaking if you ever move it to another system. It's very important that your RUN command specify appropriate quotas, or you use /AUTHORIZE. &lt;BR /&gt;&lt;BR /&gt;  I'd go so far as to say that any RUN command that doesn't have a complete set of quota qualifiers is a bug waiting to happen.&lt;BR /&gt;&lt;BR /&gt;  I strongly suggest you check what quotas your process is getting with a procedure containing "SHOW PROCESS/QUOTA" or the equivalent F$GETJPI calls. Make certain you really understand exactly where each value is coming from.&lt;BR /&gt;&lt;BR /&gt;  I've taken thousands of cases of detached process failure over more than 25 years, and they are almost always due to misunderstandings in quotas.</description>
      <pubDate>Fri, 24 Dec 2004 03:30:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-processes/m-p/3321466#M2896</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-12-24T03:30:50Z</dc:date>
    </item>
  </channel>
</rss>

