<?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 process does not run, but no error indicated in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880584#M20568</link>
    <description>Bojan-&lt;BR /&gt;&lt;BR /&gt;I entered the show accounting command and detached processes were enabled.  I'll try the debugger.  Thanks a lot for the info.&lt;BR /&gt;&lt;BR /&gt;John</description>
    <pubDate>Tue, 18 Jan 2005 13:17:33 GMT</pubDate>
    <dc:creator>John Popernack</dc:creator>
    <dc:date>2005-01-18T13:17:33Z</dc:date>
    <item>
      <title>Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880562#M20546</link>
      <description>I am having a problem detached processes.&lt;BR /&gt;&lt;BR /&gt;I have some processes that I used to run detached all the time.  They don't run anymore and I don't know what has changed.&lt;BR /&gt;&lt;BR /&gt;The program is normally launched from another program via SYS$CREPR.  The call returns SS$_NORMAL, but no new process is created.  Normally, the process runs continuously until it gets a command to exit.  I determined that the first line of code in the program is never executed.  If I run the program "un-detached" it runs fine.  The same thing is observed if I run it detached from the DCL prompt.  When running from the DCL prompt I get a message that the process was started with PID = XXX.&lt;BR /&gt;&lt;BR /&gt;To simplify the experiment, I created a test program that simply writes a text string to a file and exits.  Again, everything is fine running normally, but not detached.&lt;BR /&gt;&lt;BR /&gt;I ran each of the programs with the /dump qualifier and then ran the dump analyzer.  The dump file was not created.&lt;BR /&gt;&lt;BR /&gt;I am running OpenVMS version 7.2-1.  My account has IMPERSONATE privilege and Maxdetach = 0.  I also tried setting Maxdetach to 2.  Actually, the account I am using has all privileges authorized and granted by default.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;John</description>
      <pubDate>Tue, 18 Jan 2005 09:48:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880562#M20546</guid>
      <dc:creator>John Popernack</dc:creator>
      <dc:date>2005-01-18T09:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880563#M20547</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;first check:&lt;BR /&gt;&lt;BR /&gt;DID the process even get created?&lt;BR /&gt;&lt;BR /&gt;ACCOUNTNG is THE tool to find out!&lt;BR /&gt;And _IF_ it was, then the final status can give you vital info!&lt;BR /&gt;&lt;BR /&gt;If not, one further question: &lt;BR /&gt;It used to function, you write.&lt;BR /&gt;&lt;BR /&gt;Same VMS version, same user? &lt;BR /&gt;I am thinking various quota here, later VMS versions tend to require ever more, or a different user might have different quota, even the same user might have altered quota.&lt;BR /&gt;&lt;BR /&gt;Just the first things to check, and on the answers, we can take it from there.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Tue, 18 Jan 2005 10:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880563#M20547</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-01-18T10:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880564#M20548</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Try to set the PRC$M_IMGDMP flag in the stsflg (the last one, where you set the PRC$M_DETACH flag) of the SYS$CREPRC system service. You will receive a dump file (on yours current default directory, image name with the .DMP type). You can analize this dump, with:&lt;BR /&gt;&lt;BR /&gt;$ ANALIZE/PROCESS dumpname&lt;BR /&gt;&lt;BR /&gt;This command puts you in the debugger where you can inspect what hapens.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Tue, 18 Jan 2005 10:30:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880564#M20548</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-01-18T10:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880565#M20549</link>
      <description>Jan-&lt;BR /&gt;&lt;BR /&gt;Thanks.  I will try the ACCOUNTING utility.  I'll let you know what I find out.  I am not familiar with it, so it may take a while.  In the meantime, the answers to your questions:&lt;BR /&gt;&lt;BR /&gt;I am using the same version of OVMS as I did when it worked and the same user.  I don't believe the user quotas have changed, but I tried all the tests with another user (that we never change) and got the same results.</description>
      <pubDate>Tue, 18 Jan 2005 10:46:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880565#M20549</guid>
      <dc:creator>John Popernack</dc:creator>
      <dc:date>2005-01-18T10:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880566#M20550</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Sorry, I forgot that you can force the dump (mentioned in my previous post) when you use the run command with the /DUMP qualifier:&lt;BR /&gt;&lt;BR /&gt;$ RUN/DETACHED/DUMP ...&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Tue, 18 Jan 2005 10:59:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880566#M20550</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-01-18T10:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880567#M20551</link>
      <description>Jan-&lt;BR /&gt;&lt;BR /&gt;I ran accounting/user={username} and then ran the process detached from another window.  The process never showed up.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 18 Jan 2005 11:03:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880567#M20551</guid>
      <dc:creator>John Popernack</dc:creator>
      <dc:date>2005-01-18T11:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880568#M20552</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;Is your system sylogin.com (logical sys$sylogin) changed recently?&lt;BR /&gt;&lt;BR /&gt;Something like the following is added:&lt;BR /&gt;&lt;BR /&gt;if f$mode() .eqs. "OTHER" then logout&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Lokesh</description>
      <pubDate>Tue, 18 Jan 2005 11:04:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880568#M20552</guid>
      <dc:creator>Lokesh_2</dc:creator>
      <dc:date>2005-01-18T11:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880569#M20553</link>
      <description>Bojan-&lt;BR /&gt;&lt;BR /&gt;I tried the /dump qualifier at the DCL prompt and no dump file was created.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 18 Jan 2005 11:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880569#M20553</guid>
      <dc:creator>John Popernack</dc:creator>
      <dc:date>2005-01-18T11:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880570#M20554</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;No dump file means that the program exited normaly. To get Jans accounting information try with this sequence:&lt;BR /&gt;&lt;BR /&gt;$ T=F$TIME()&lt;BR /&gt;$ RUN/DETACHED ... &lt;BR /&gt;$ ACCOUNTING/USER=you/SINCE="''T'"/FULL&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Tue, 18 Jan 2005 11:16:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880570#M20554</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-01-18T11:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880571#M20555</link>
      <description>Lokesh-&lt;BR /&gt;&lt;BR /&gt;Actually it has changed.  I placed the line&lt;BR /&gt;&lt;BR /&gt;set term/perm/insert/vt100&lt;BR /&gt;&lt;BR /&gt;in the MODE_OTHER section&lt;BR /&gt;I commented this out, logged off, logged on and re-ran the test.  The same thing happened.  The only other line in that section is&lt;BR /&gt;&lt;BR /&gt;Exit 1&lt;BR /&gt;&lt;BR /&gt;I'm not sure, but I don't think the exit command is the problem - I think that has always been there.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;John</description>
      <pubDate>Tue, 18 Jan 2005 11:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880571#M20555</guid>
      <dc:creator>John Popernack</dc:creator>
      <dc:date>2005-01-18T11:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880572#M20556</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;You must avoid any terminal settings if you are not sure that you have a terminal attached to yours process.&lt;BR /&gt;&lt;BR /&gt;Maybe you can try to debug the program (if you have the sources and posibility to compile the program with the debugger). Here is an Ask the wizard page which speaks about debugging deatached processes:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_4640.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_4640.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Tue, 18 Jan 2005 11:34:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880572#M20556</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-01-18T11:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880573#M20557</link>
      <description>Bojan-&lt;BR /&gt;&lt;BR /&gt;I placed that command there on accident and never removed it (I should have put it in the INTERACTIVE_MODE section).  I decided to put the command into individual login.com files instead and never went back to clean it up.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;John</description>
      <pubDate>Tue, 18 Jan 2005 11:47:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880573#M20557</guid>
      <dc:creator>John Popernack</dc:creator>
      <dc:date>2005-01-18T11:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880574#M20558</link>
      <description>I have not seen the command that you are executing to create the detached process, but it might be worth looking at the protections on any input and/or output files specified to see if they have been changed.</description>
      <pubDate>Tue, 18 Jan 2005 11:48:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880574#M20558</guid>
      <dc:creator>Dale A. Marcy</dc:creator>
      <dc:date>2005-01-18T11:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880575#M20559</link>
      <description>Dale-&lt;BR /&gt;&lt;BR /&gt;I created and ran a new test executable that simply writes a text string to a file then exits.  If I run the test program normally, the file is created and contains the text string.  If I run it detached, it does not.  This test program should run detached, so I don't think I need to check input/output files of the other program.  Also, I don't think there could be a security issue, since I can run either program normally and they function fine.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;John</description>
      <pubDate>Tue, 18 Jan 2005 11:59:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880575#M20559</guid>
      <dc:creator>John Popernack</dc:creator>
      <dc:date>2005-01-18T11:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880576#M20560</link>
      <description>That makes sense, but I saw where you said your account had all privileges by default and was not sure that was the same account you were using for the detached runs.</description>
      <pubDate>Tue, 18 Jan 2005 12:04:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880576#M20560</guid>
      <dc:creator>Dale A. Marcy</dc:creator>
      <dc:date>2005-01-18T12:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880577#M20561</link>
      <description>Bojan-&lt;BR /&gt;&lt;BR /&gt;I'm going to try your procedure.  One question, though, will the ACCOUNTING utility continue to append to a log file after I'm done testing?  Or is there anything else I should be aware of?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;John</description>
      <pubDate>Tue, 18 Jan 2005 12:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880577#M20561</guid>
      <dc:creator>John Popernack</dc:creator>
      <dc:date>2005-01-18T12:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880578#M20562</link>
      <description>Bojan-&lt;BR /&gt;&lt;BR /&gt;I ran your procedure and it just hangs after the accounting command.  I believe this means that it didn't run.  Is that true?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;John</description>
      <pubDate>Tue, 18 Jan 2005 12:11:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880578#M20562</guid>
      <dc:creator>John Popernack</dc:creator>
      <dc:date>2005-01-18T12:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880579#M20563</link>
      <description>Dale-&lt;BR /&gt;&lt;BR /&gt;Yes, that was the account I was using.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;John</description>
      <pubDate>Tue, 18 Jan 2005 12:13:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880579#M20563</guid>
      <dc:creator>John Popernack</dc:creator>
      <dc:date>2005-01-18T12:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880580#M20564</link>
      <description>Bojan-&lt;BR /&gt;&lt;BR /&gt;I went to the link you sent to me for debugging detached processes.  I am unfamiliar with some of the steps in the process.  Do you know of any examples of this that exist?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;John</description>
      <pubDate>Tue, 18 Jan 2005 12:20:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880580#M20564</guid>
      <dc:creator>John Popernack</dc:creator>
      <dc:date>2005-01-18T12:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Detached process does not run, but no error indicated</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880581#M20565</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;The accounting utility is managed with the command SET ACCOUNTING. You can see which resources are tracked by the accounting with the SHOW ACCOUNTING command. The ACCOUNTING command runs a program which reads the accounting file (most times SYS$MANAGER:ACCOUNTNG.DAT or a file pointed by the logical name ACCOUNTNG).&lt;BR /&gt;&lt;BR /&gt;Now, first check if you have enabled the process accounting, with the SHOW ACCOUNTING. You should see one of these lines:&lt;BR /&gt;      PROCESS        any process termination&lt;BR /&gt;      DETACHED       detached job termination&lt;BR /&gt;&lt;BR /&gt;If accounting is not enabled for any of these resources, you can enable with:&lt;BR /&gt;&lt;BR /&gt;$ SET ACCOUNTING/ENABLE=DETACHED&lt;BR /&gt;&lt;BR /&gt;Then try to run the detached process.&lt;BR /&gt;Now you can try with the ACCOUNTING command. (you can use the /IDENT qualifier with the pid you receive from the RUN command or use my previous sequence of commands)&lt;BR /&gt;&lt;BR /&gt;If you have enabled and want to disable accounting for detached processes use:&lt;BR /&gt;$ SET ACCOUNTING/DISABLE=DETACHED&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Tue, 18 Jan 2005 12:26:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detached-process-does-not-run-but-no-error-indicated/m-p/4880581#M20565</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-01-18T12:26:40Z</dc:date>
    </item>
  </channel>
</rss>

