<?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 how different RUN and RUN/DETACH in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584779#M69538</link>
    <description>I'd be pleased if anyone could tell me what this mean...&lt;BR /&gt;I have to run a detach process in VAX vms system.&lt;BR /&gt;but it ocurred error.&lt;BR /&gt;&lt;BR /&gt;$ RUN SYS$SYSTEM:LOGINOUT.EXE   -&lt;BR /&gt;      /INPUT =  OA_ROOT:[SDK.ODBCSAMP.SRC]POP_10MIN_RUN_KKK.COM -&lt;BR /&gt;      /OUTPUT = OA_ROOT:[SDK.ODBCSAMP.SRC]POP_10MIN_KKK.LOG -&lt;BR /&gt;      /DETACH                  -&lt;BR /&gt;      /PROCESS_NAME = POP_10MIN_KKK   -&lt;BR /&gt;      /PRIORITY = 4            -&lt;BR /&gt;      /BUFFER_LIMIT = 32672    -&lt;BR /&gt;      /PRIVILEGES = ALL        -&lt;BR /&gt;      /ENQUE = 50000           -&lt;BR /&gt;      /WORKING_SET  = 10240&lt;BR /&gt;&lt;BR /&gt;$ type  POP_10MIN_KKK.LOG&lt;BR /&gt;%LIB-E-ACTIMAGE, error activating image DSA1:[SYS1.SYSCOMMON.][SYSLIB]CX$ACCESS_SHR.EXE&lt;BR /&gt;-SYSTEM-F-EXQUOTA, process quota exceeded&lt;BR /&gt;%TRACE-E-TRACEBACK, symbolic stack dump follows&lt;BR /&gt;module name     routine name                     line       rel PC    abs PC&lt;BR /&gt;&lt;BR /&gt;                                                           00192260  00192260&lt;BR /&gt;                                                           001DF273  001DF273&lt;BR /&gt;                                                           001DAAC8  001DAAC8&lt;BR /&gt;TP0TCP_S        tp0tcp_conn_req                 13260      00000214  0010E5D0&lt;BR /&gt;TPI_RFC         TCONreq                         12439      0000005E  0011211E&lt;BR /&gt;SKERNEL         Str004                           9677      00000213  000FEBC3&lt;BR /&gt;FSM             s_fsm                            9585      0000025F  0008BD27&lt;BR /&gt;MGMT            s_connect                        9696      00000186  0008DA1A&lt;BR /&gt;PSEND           pxPCONREQ                       14600      00000366  0009FE9E&lt;BR /&gt;PPDU            ppduCP                          13202      000004C1  00097405&lt;BR /&gt;PKERNEL         paCONREQ                        13528      000000E0  00092FCC&lt;BR /&gt;PMAIN           p_fsm                           13162      000000C4  00094FC4&lt;BR /&gt;PMANAGEM        p_connect                       13861      00000153  00095B0B&lt;BR /&gt;RDAERCV         RDA_aeSndPpdu                   24090      000000C1  000B9569&lt;BR /&gt;ROUTE           AL_sacfRoute                    13715      000000B2  000EDDD6&lt;BR /&gt;FLOWSND         AL_sacfCreditSnd                15520      0000012F  0008BA33&lt;BR /&gt;FLOWSND         AL_sacfUStopSnd                 15395      000001D9  0008B839&lt;BR /&gt;FLOWSND         AL_sacfFlowSnd                  15230      0000009F  0008B547&lt;BR /&gt;ROUTE           AL_sacfRoute                    13715      000000B2  000EDDD6&lt;BR /&gt;RDAFSND         rda_sacfSnd                     18893      0000019E  000BBFDE&lt;BR /&gt;RDAOSND         rda_saoSnd                      20459      00000389  000C9BDD&lt;BR /&gt;RDAESND         rda_aeSnd                       21485      0000026E  000B9E16&lt;BR /&gt;SURUTIL         AL_surSendToAe                  13773      00000122  0010BD0E&lt;BR /&gt;RDASGSND        rda_surSnd                      22600      000002B9  000CC8A1&lt;BR /&gt;RDACEVNT        RDA_cliSendEvent                23372      000000D5  000ACBCD&lt;BR /&gt;RDACCONN        rda_cliConnect                  25224      000004A9  000A8D71&lt;BR /&gt;EWOCONN         SQLConnect                      11823      0000024B  0007FE6F&lt;BR /&gt;POP_10MIN_KKK   main                             4934      000000D2  0006DAD2&lt;BR /&gt;connection Error !!!.Retry after 10sec&lt;BR /&gt;&lt;BR /&gt;I tested various way(increasing /Working_set...)  to run that process but it's same result.&lt;BR /&gt;&lt;BR /&gt;It is very stange result that it's running ok when just run process below.&lt;BR /&gt;&lt;BR /&gt;$ RUN POP_10MIN_RUN_KKK.COM&lt;BR /&gt;connection OK !!!.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;SYSGEN&amp;gt;  SHOW WS&lt;BR /&gt;Parameter Name            Current    Default     Min.     Max.     Unit  Dynamic&lt;BR /&gt;--------------            -------    -------    -------  -------   ----  -------&lt;BR /&gt;WSMAX                       28700       1024        60   1048576 Pages      &lt;BR /&gt;&lt;BR /&gt;$ show mem&lt;BR /&gt;............&lt;BR /&gt; DISK$OPENVMS062:[SYS1.SYSEXE]SWAPFILE.SYS                                     &lt;BR /&gt;                                               34000       34000       34000&lt;BR /&gt; DISK$OPENVMS062:[SYS1.SYSEXE]PAGEFILE.SYS                                     &lt;BR /&gt;                                              124976     -136557      142408&lt;BR /&gt;&lt;BR /&gt;Does it mean that there is something wrong in SWAPFILE? is that not enough?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 18 Jul 2005 09:50:42 GMT</pubDate>
    <dc:creator>BG Jeong</dc:creator>
    <dc:date>2005-07-18T09:50:42Z</dc:date>
    <item>
      <title>how different RUN and RUN/DETACH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584779#M69538</link>
      <description>I'd be pleased if anyone could tell me what this mean...&lt;BR /&gt;I have to run a detach process in VAX vms system.&lt;BR /&gt;but it ocurred error.&lt;BR /&gt;&lt;BR /&gt;$ RUN SYS$SYSTEM:LOGINOUT.EXE   -&lt;BR /&gt;      /INPUT =  OA_ROOT:[SDK.ODBCSAMP.SRC]POP_10MIN_RUN_KKK.COM -&lt;BR /&gt;      /OUTPUT = OA_ROOT:[SDK.ODBCSAMP.SRC]POP_10MIN_KKK.LOG -&lt;BR /&gt;      /DETACH                  -&lt;BR /&gt;      /PROCESS_NAME = POP_10MIN_KKK   -&lt;BR /&gt;      /PRIORITY = 4            -&lt;BR /&gt;      /BUFFER_LIMIT = 32672    -&lt;BR /&gt;      /PRIVILEGES = ALL        -&lt;BR /&gt;      /ENQUE = 50000           -&lt;BR /&gt;      /WORKING_SET  = 10240&lt;BR /&gt;&lt;BR /&gt;$ type  POP_10MIN_KKK.LOG&lt;BR /&gt;%LIB-E-ACTIMAGE, error activating image DSA1:[SYS1.SYSCOMMON.][SYSLIB]CX$ACCESS_SHR.EXE&lt;BR /&gt;-SYSTEM-F-EXQUOTA, process quota exceeded&lt;BR /&gt;%TRACE-E-TRACEBACK, symbolic stack dump follows&lt;BR /&gt;module name     routine name                     line       rel PC    abs PC&lt;BR /&gt;&lt;BR /&gt;                                                           00192260  00192260&lt;BR /&gt;                                                           001DF273  001DF273&lt;BR /&gt;                                                           001DAAC8  001DAAC8&lt;BR /&gt;TP0TCP_S        tp0tcp_conn_req                 13260      00000214  0010E5D0&lt;BR /&gt;TPI_RFC         TCONreq                         12439      0000005E  0011211E&lt;BR /&gt;SKERNEL         Str004                           9677      00000213  000FEBC3&lt;BR /&gt;FSM             s_fsm                            9585      0000025F  0008BD27&lt;BR /&gt;MGMT            s_connect                        9696      00000186  0008DA1A&lt;BR /&gt;PSEND           pxPCONREQ                       14600      00000366  0009FE9E&lt;BR /&gt;PPDU            ppduCP                          13202      000004C1  00097405&lt;BR /&gt;PKERNEL         paCONREQ                        13528      000000E0  00092FCC&lt;BR /&gt;PMAIN           p_fsm                           13162      000000C4  00094FC4&lt;BR /&gt;PMANAGEM        p_connect                       13861      00000153  00095B0B&lt;BR /&gt;RDAERCV         RDA_aeSndPpdu                   24090      000000C1  000B9569&lt;BR /&gt;ROUTE           AL_sacfRoute                    13715      000000B2  000EDDD6&lt;BR /&gt;FLOWSND         AL_sacfCreditSnd                15520      0000012F  0008BA33&lt;BR /&gt;FLOWSND         AL_sacfUStopSnd                 15395      000001D9  0008B839&lt;BR /&gt;FLOWSND         AL_sacfFlowSnd                  15230      0000009F  0008B547&lt;BR /&gt;ROUTE           AL_sacfRoute                    13715      000000B2  000EDDD6&lt;BR /&gt;RDAFSND         rda_sacfSnd                     18893      0000019E  000BBFDE&lt;BR /&gt;RDAOSND         rda_saoSnd                      20459      00000389  000C9BDD&lt;BR /&gt;RDAESND         rda_aeSnd                       21485      0000026E  000B9E16&lt;BR /&gt;SURUTIL         AL_surSendToAe                  13773      00000122  0010BD0E&lt;BR /&gt;RDASGSND        rda_surSnd                      22600      000002B9  000CC8A1&lt;BR /&gt;RDACEVNT        RDA_cliSendEvent                23372      000000D5  000ACBCD&lt;BR /&gt;RDACCONN        rda_cliConnect                  25224      000004A9  000A8D71&lt;BR /&gt;EWOCONN         SQLConnect                      11823      0000024B  0007FE6F&lt;BR /&gt;POP_10MIN_KKK   main                             4934      000000D2  0006DAD2&lt;BR /&gt;connection Error !!!.Retry after 10sec&lt;BR /&gt;&lt;BR /&gt;I tested various way(increasing /Working_set...)  to run that process but it's same result.&lt;BR /&gt;&lt;BR /&gt;It is very stange result that it's running ok when just run process below.&lt;BR /&gt;&lt;BR /&gt;$ RUN POP_10MIN_RUN_KKK.COM&lt;BR /&gt;connection OK !!!.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;SYSGEN&amp;gt;  SHOW WS&lt;BR /&gt;Parameter Name            Current    Default     Min.     Max.     Unit  Dynamic&lt;BR /&gt;--------------            -------    -------    -------  -------   ----  -------&lt;BR /&gt;WSMAX                       28700       1024        60   1048576 Pages      &lt;BR /&gt;&lt;BR /&gt;$ show mem&lt;BR /&gt;............&lt;BR /&gt; DISK$OPENVMS062:[SYS1.SYSEXE]SWAPFILE.SYS                                     &lt;BR /&gt;                                               34000       34000       34000&lt;BR /&gt; DISK$OPENVMS062:[SYS1.SYSEXE]PAGEFILE.SYS                                     &lt;BR /&gt;                                              124976     -136557      142408&lt;BR /&gt;&lt;BR /&gt;Does it mean that there is something wrong in SWAPFILE? is that not enough?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jul 2005 09:50:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584779#M69538</guid>
      <dc:creator>BG Jeong</dc:creator>
      <dc:date>2005-07-18T09:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: how different RUN and RUN/DETACH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584780#M69539</link>
      <description>Syntax $ RUN program &lt;BR /&gt;&lt;BR /&gt;Runs the program under your account using your current login quotas.&lt;BR /&gt;&lt;BR /&gt;Syntax $ RUN/DETACHED&lt;BR /&gt;&lt;BR /&gt;Runs the program under some account (including yours) using the SYSTEM PQL parameters, quotas, and limits unless you specify the limits with some options that occur in the run command.&lt;BR /&gt;&lt;BR /&gt;I would suggest looking at your SYSGEN PQL parameters and comparing them to your own account's similar quotas.  Probably you will find that one of the PQL values is much lower than the corresponding quota in your account.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jul 2005 10:30:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584780#M69539</guid>
      <dc:creator>Richard W Hunt</dc:creator>
      <dc:date>2005-07-18T10:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: how different RUN and RUN/DETACH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584781#M69540</link>
      <description>Hi,&lt;BR /&gt;first trial: put a set verify and afterwards a show proc/quotas at the start of your input procedure a) to see at which point exactly the problem starts and b) to be able to compare the run/detach quotas values with your interactive process ones.&lt;BR /&gt;&lt;BR /&gt;Much more better: if the process is running a while then you have the chance to investigate him more in detail.&lt;BR /&gt;There exist a lot of procedures who makes this using the lexical function f$getjpi, one sample:&lt;BR /&gt;&lt;A href="http://dcl.openvms.org/stories.php?story=03/06/03/0022504" target="_blank"&gt;http://dcl.openvms.org/stories.php?story=03/06/03/0022504&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;From my experience in many cases it's the pagefile quota along with&lt;BR /&gt;-SYSTEM-F-EXQUOTA, process quota exceeded&lt;BR /&gt;My proposal: simply double or triple the value of PQL_DPGFLQUOTA and test it.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;EW</description>
      <pubDate>Mon, 18 Jul 2005 13:30:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584781#M69540</guid>
      <dc:creator>Eberhard Wacker</dc:creator>
      <dc:date>2005-07-18T13:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: how different RUN and RUN/DETACH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584782#M69541</link>
      <description>Hi again,&lt;BR /&gt;put also a $ wait 0:3 or so at the start of your input procedure then you have enough time to look for the PID of the process POP_10MIN_KKK and to investigate it.&lt;BR /&gt;Cheers,&lt;BR /&gt;EW&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jul 2005 13:44:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584782#M69541</guid>
      <dc:creator>Eberhard Wacker</dc:creator>
      <dc:date>2005-07-18T13:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: how different RUN and RUN/DETACH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584783#M69542</link>
      <description>BG,&lt;BR /&gt;&lt;BR /&gt;  Try this:&lt;BR /&gt;&lt;BR /&gt;$ RUN SYS$SYSTEM:LOGINOUT.EXE -&lt;BR /&gt;/INPUT = OA_ROOT:[SDK.ODBCSAMP.SRC]POP_10MIN_RUN_KKK.COM -&lt;BR /&gt;/OUTPUT = OA_ROOT:[SDK.ODBCSAMP.SRC]POP_10MIN_KKK.LOG -&lt;BR /&gt;/DETACH -&lt;BR /&gt;/PROCESS_NAME = POP_10MIN_KKK -&lt;BR /&gt;/AUTHORIZE&lt;BR /&gt;&lt;BR /&gt;  Adding /AUTHORIZE will copy process quotas and privileges from the UAF. Note that /AUTHORIZE *ONLY* works when running LOGINOUT. It will also OVERRIDE several other qualifiers.&lt;BR /&gt;&lt;BR /&gt;  In this case, I'd guess the low quotas to be FILE_LIMIT or PAGE_FILE, BUT this kind of error is dependent on system specific settings of PQL parameters. &lt;BR /&gt;&lt;BR /&gt;  Any serious detached process needs a fully populated set of quotas and privileges. You can't depend on SYSGEN PQL_D* and PQL_M* values.&lt;BR /&gt;&lt;BR /&gt;  Have a look at procedures in SYS$STARTUP to find RUN commands with all quota qualifiers specified. Cut and paste into your procedure and set ALL quotas to reasonable values.</description>
      <pubDate>Mon, 18 Jul 2005 14:33:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584783#M69542</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-07-18T14:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: how different RUN and RUN/DETACH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584784#M69543</link>
      <description>a detrached process, as they say get it's quotas from pql_d&lt;BR /&gt;while run gets it from UAF.&lt;BR /&gt;When the program dies, &lt;BR /&gt;anal/system&lt;BR /&gt;show sum&lt;BR /&gt;and find the process&lt;BR /&gt;sho proc/index&lt;BR /&gt;and chances are you will set the shortage.&lt;BR /&gt;&lt;BR /&gt;Of course, you could shot gun it, and give the run/detached all the quotas of your interative processes and you are done.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jul 2005 16:12:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584784#M69543</guid>
      <dc:creator>comarow</dc:creator>
      <dc:date>2005-07-18T16:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: how different RUN and RUN/DETACH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584785#M69544</link>
      <description>Thank you for the quick reply to my question.&lt;BR /&gt;it's ok that that command run with /Authorize.&lt;BR /&gt;Have a nice day.</description>
      <pubDate>Mon, 18 Jul 2005 18:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-different-run-and-run-detach/m-p/3584785#M69544</guid>
      <dc:creator>BG Jeong</dc:creator>
      <dc:date>2005-07-18T18:05:40Z</dc:date>
    </item>
  </channel>
</rss>

