<?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 Create process with loginout.exe in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074136#M86776</link>
    <description>Hi all&lt;BR /&gt;&lt;BR /&gt;We have an I64 with OpenVMS 8.3, running following script:&lt;BR /&gt;$ SET VERIFY&lt;BR /&gt;$ SHOW TIME&lt;BR /&gt;$ log_file = "INA_DISK:[INA.LOGS]WAGO_OUTPUT.LOG"&lt;BR /&gt;$ RUN/UIC=[300,1]  SYS$SYSTEM:LOGINOUT.EXE -&lt;BR /&gt;                              /procnam="WAGO_Log" -&lt;BR /&gt;                              /INPUT=INA_PROGS:WAGO_START.COM -&lt;BR /&gt;                              /ERROR='log_file -&lt;BR /&gt;                              /OUTPUT='log_file -&lt;BR /&gt;                              /subprocess=20 -&lt;BR /&gt;                              /privileges=(group,grpnam,tmpmbx,netmbx) -&lt;BR /&gt;                              /ast_limit=300 -&lt;BR /&gt;                              /working_set=8192 -&lt;BR /&gt;                              /io_direct=300 -&lt;BR /&gt;                              /io_buffered=300 -&lt;BR /&gt;                              /buffer_limit=300000 -&lt;BR /&gt;                              /page_file=200000 -&lt;BR /&gt;                              /job_table_quota=16384 -&lt;BR /&gt;                              /enqueue_limit=8000 -&lt;BR /&gt;                                /FILE_LIMIT=200&lt;BR /&gt;$ SHOW TIME&lt;BR /&gt;$ EXIT&lt;BR /&gt;&lt;BR /&gt;When I run the wago_start.com from DCL it works perfectly and creates a process, but when I run the script above the process seems to be created but stops somewhere, I don't find it in the process list after the start why? &lt;BR /&gt;DCL ouput:&lt;BR /&gt;$ SHOW TIME&lt;BR /&gt;  15-OCT-2007 14:02:48&lt;BR /&gt;$ log_file = "INA_DISK:[INA.LOGS]WAGO_OUTPUT.LOG"&lt;BR /&gt;$ RUN/UIC=[300,1]  SYS$SYSTEM:LOGINOUT.EXE -&lt;BR /&gt;                              /procnam="WAGO_Log" -&lt;BR /&gt;                              /INPUT=INA_PROGS:WAGO_START.COM -&lt;BR /&gt;                              /ERROR=INA_DISK:[INA.LOGS]WAGO_OUTPUT.LOG -&lt;BR /&gt;                              /OUTPUT=INA_DISK:[INA.LOGS]WAGO_OUTPUT.LOG -&lt;BR /&gt;                              /subprocess=20 -&lt;BR /&gt;                              /privileges=(group,grpnam,tmpmbx,netmbx) -&lt;BR /&gt;                              /ast_limit=300 -&lt;BR /&gt;                              /working_set=8192 -&lt;BR /&gt;                              /io_direct=300 -&lt;BR /&gt;                              /io_buffered=300 -&lt;BR /&gt;                              /buffer_limit=300000 -&lt;BR /&gt;                              /page_file=200000 -&lt;BR /&gt;                              /job_table_quota=16384 -&lt;BR /&gt;                              /enqueue_limit=8000 -&lt;BR /&gt;                                /FILE_LIMIT=200&lt;BR /&gt;%RUN-S-PROC_ID, identification of created process is 204DD674&lt;BR /&gt;$ SHOW TIME&lt;BR /&gt;  15-OCT-2007 14:02:48&lt;BR /&gt;$ EXIT&lt;BR /&gt;Any ideas???</description>
    <pubDate>Mon, 15 Oct 2007 03:01:34 GMT</pubDate>
    <dc:creator>Dario Karlen</dc:creator>
    <dc:date>2007-10-15T03:01:34Z</dc:date>
    <item>
      <title>Create process with loginout.exe</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074136#M86776</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;We have an I64 with OpenVMS 8.3, running following script:&lt;BR /&gt;$ SET VERIFY&lt;BR /&gt;$ SHOW TIME&lt;BR /&gt;$ log_file = "INA_DISK:[INA.LOGS]WAGO_OUTPUT.LOG"&lt;BR /&gt;$ RUN/UIC=[300,1]  SYS$SYSTEM:LOGINOUT.EXE -&lt;BR /&gt;                              /procnam="WAGO_Log" -&lt;BR /&gt;                              /INPUT=INA_PROGS:WAGO_START.COM -&lt;BR /&gt;                              /ERROR='log_file -&lt;BR /&gt;                              /OUTPUT='log_file -&lt;BR /&gt;                              /subprocess=20 -&lt;BR /&gt;                              /privileges=(group,grpnam,tmpmbx,netmbx) -&lt;BR /&gt;                              /ast_limit=300 -&lt;BR /&gt;                              /working_set=8192 -&lt;BR /&gt;                              /io_direct=300 -&lt;BR /&gt;                              /io_buffered=300 -&lt;BR /&gt;                              /buffer_limit=300000 -&lt;BR /&gt;                              /page_file=200000 -&lt;BR /&gt;                              /job_table_quota=16384 -&lt;BR /&gt;                              /enqueue_limit=8000 -&lt;BR /&gt;                                /FILE_LIMIT=200&lt;BR /&gt;$ SHOW TIME&lt;BR /&gt;$ EXIT&lt;BR /&gt;&lt;BR /&gt;When I run the wago_start.com from DCL it works perfectly and creates a process, but when I run the script above the process seems to be created but stops somewhere, I don't find it in the process list after the start why? &lt;BR /&gt;DCL ouput:&lt;BR /&gt;$ SHOW TIME&lt;BR /&gt;  15-OCT-2007 14:02:48&lt;BR /&gt;$ log_file = "INA_DISK:[INA.LOGS]WAGO_OUTPUT.LOG"&lt;BR /&gt;$ RUN/UIC=[300,1]  SYS$SYSTEM:LOGINOUT.EXE -&lt;BR /&gt;                              /procnam="WAGO_Log" -&lt;BR /&gt;                              /INPUT=INA_PROGS:WAGO_START.COM -&lt;BR /&gt;                              /ERROR=INA_DISK:[INA.LOGS]WAGO_OUTPUT.LOG -&lt;BR /&gt;                              /OUTPUT=INA_DISK:[INA.LOGS]WAGO_OUTPUT.LOG -&lt;BR /&gt;                              /subprocess=20 -&lt;BR /&gt;                              /privileges=(group,grpnam,tmpmbx,netmbx) -&lt;BR /&gt;                              /ast_limit=300 -&lt;BR /&gt;                              /working_set=8192 -&lt;BR /&gt;                              /io_direct=300 -&lt;BR /&gt;                              /io_buffered=300 -&lt;BR /&gt;                              /buffer_limit=300000 -&lt;BR /&gt;                              /page_file=200000 -&lt;BR /&gt;                              /job_table_quota=16384 -&lt;BR /&gt;                              /enqueue_limit=8000 -&lt;BR /&gt;                                /FILE_LIMIT=200&lt;BR /&gt;%RUN-S-PROC_ID, identification of created process is 204DD674&lt;BR /&gt;$ SHOW TIME&lt;BR /&gt;  15-OCT-2007 14:02:48&lt;BR /&gt;$ EXIT&lt;BR /&gt;Any ideas???</description>
      <pubDate>Mon, 15 Oct 2007 03:01:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074136#M86776</guid>
      <dc:creator>Dario Karlen</dc:creator>
      <dc:date>2007-10-15T03:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create process with loginout.exe</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074137#M86777</link>
      <description>Are the INA* logicals defined in a table accessable to the created process?&lt;BR /&gt;Does the created process have access to INA_DISK:[INA.LOGS]?&lt;BR /&gt;&lt;BR /&gt;Do realise your command will create two files called INA_DISK:[INA.LOGS]WAGO_OUTPUT.LOG ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you have accounting enabled for detached process terminations then there will be a record for PID 204DD674&lt;BR /&gt;&lt;BR /&gt;$ ACCOUNT/ID=204DD674/FULL&lt;BR /&gt;&lt;BR /&gt;This will show you the final exit code for the process which may help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Oct 2007 03:23:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074137#M86777</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2007-10-15T03:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create process with loginout.exe</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074138#M86778</link>
      <description>Dario,&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;When I run the wago_start.com from DCL it works perfectly and creates a process&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;Does WAGO_START.COM create ANOTHER process ? Or does it just start an image in your current process, if you run the procedure manually from DCL ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 15 Oct 2007 03:51:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074138#M86778</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-10-15T03:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create process with loginout.exe</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074139#M86779</link>
      <description>guys, thanks for your help. &lt;BR /&gt;It was like Volker mentioned. we created a new process and didn't created it detached. we changed it and started the process detached and it worked out. &lt;BR /&gt;thanks a lot...</description>
      <pubDate>Mon, 15 Oct 2007 04:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074139#M86779</guid>
      <dc:creator>Dario Karlen</dc:creator>
      <dc:date>2007-10-15T04:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create process with loginout.exe</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074140#M86780</link>
      <description>FYI, the /ERROR qualifier is ignored when you RUN LOGINOUT.</description>
      <pubDate>Mon, 15 Oct 2007 11:48:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074140#M86780</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2007-10-15T11:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create process with loginout.exe</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074141#M86781</link>
      <description>&amp;gt;&amp;gt;&amp;gt;  FYI, the /ERROR qualifier is ignored when you RUN LOGINOUT. &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Eh?  &lt;BR /&gt;&lt;BR /&gt;SYS$ERROR is the (documented) backdoor used for the DECwindows workstation device creation.  &lt;BR /&gt;&lt;BR /&gt;It's most certainly not ignored.&lt;BR /&gt;&lt;BR /&gt;In addition to simply launching a DECwindows-based application that needs a CLI for some reason, passing in SYS$ERROR is particularly useful for debugging a detached process; you can pass in a /DEBUGified image and a WS-device value for SYS$ERROR, and summon the Debugger.&lt;BR /&gt;&lt;BR /&gt;Quoth:&lt;BR /&gt;&lt;BR /&gt;A somewhat more complicated implementation ... takes advantage of a feature of LOGINOUT.EXE.&lt;BR /&gt;&lt;BR /&gt;If SYS$ERROR points to a WS device, LOGINOUT defines DECW$DISPLAY to be the translation of SYS$ERROR and then redefines SYS$ERROR to be the translation of SYS$OUTPUT. This allows error messages from the detached process to be written to a log file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ SET DISPLAY/CREATE/TRANSPORT=LOCAL&lt;BR /&gt;$ CREATE TEST.COM&lt;BR /&gt;$ RUN SYS$SYSTEM:DECW$CLOCK&lt;BR /&gt;$ RUN/DETACH/ERROR='F$TRNLNM("DECW$DISPLAY")' -&lt;BR /&gt;_$ /INPUT=TEST.COM/OUTPUT=TEST.LOG -&lt;BR /&gt;_$ SYS$SYSTEM:LOGINOUT&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Oct 2007 12:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074141#M86781</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-10-15T12:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create process with loginout.exe</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074142#M86782</link>
      <description>&lt;!--!*#--&gt;Yes, I know it is used as a back door for some specical cases, but my point was /ERROR does not work in what the normal manner a user would expect it to.  I used the term "ignored" because that's the term the documentation uses:&lt;BR /&gt;&lt;BR /&gt;$ HELP RUN PROCESS /ERROR&lt;BR /&gt;RUN&lt;BR /&gt;  Process&lt;BR /&gt;    /ERROR&lt;BR /&gt;          /ERROR=filespec&lt;BR /&gt;Defines an equivalence name string of 1 to 63 alphanumeric characters for the logical device name SYS$ERROR. The logical name and equivalence name are placed in the process logical name table for the created process. (The /ERROR qualifier is ignored if you are running SYS$SYSTEM:LOGINOUT.)</description>
      <pubDate>Mon, 15 Oct 2007 13:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074142#M86782</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2007-10-15T13:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create process with loginout.exe</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074143#M86783</link>
      <description>$ TYPE TEST.COM&lt;BR /&gt;$ DIRECTORY doesnoteexit.dat&lt;BR /&gt;&lt;BR /&gt;$ RUN SYS$SYSTEM:LOGINOUT.EXE -&lt;BR /&gt;/PROCESS=TEST/DETACHED/INPUT=TEST.COM -&lt;BR /&gt;/OUTPUT=TEST.LOG /ERROR=TEST.ERR&lt;BR /&gt;%RUN-S-PROC_ID, identification of created process is 631536B6&lt;BR /&gt;&lt;BR /&gt;$ TYPE TEST.LOG&lt;BR /&gt;$ DIRECTORY doesnoteexit.dat&lt;BR /&gt;%DIRECT-W-NOFILES, no files found&lt;BR /&gt;GOODMAN job terminated 15-OCT-2007 18:18:26&lt;BR /&gt;&lt;BR /&gt;$ TYPE TEST.ERR&lt;BR /&gt;%TYPE-W-SEARCHFAIL, error searching for DSKC:[GOODMAN]TEST.ERR;&lt;BR /&gt;-RMS-E-FNF, file not found</description>
      <pubDate>Mon, 15 Oct 2007 13:20:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-process-with-loginout-exe/m-p/5074143#M86783</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2007-10-15T13:20:43Z</dc:date>
    </item>
  </channel>
</rss>

