<?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: detach process in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528067#M96831</link>
    <description>... and rolling.&lt;BR /&gt;&lt;BR /&gt;Sorry, someone had to say it.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Art</description>
    <pubDate>Thu, 12 Nov 2009 03:33:07 GMT</pubDate>
    <dc:creator>Art Wiens</dc:creator>
    <dc:date>2009-11-12T03:33:07Z</dc:date>
    <item>
      <title>detach process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528059#M96823</link>
      <description>what could be some reasons why a detach process stops. How else can we see why the detach process stopped apart from the log file&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 05 Nov 2009 01:53:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528059#M96823</guid>
      <dc:creator>adarsh_4</dc:creator>
      <dc:date>2009-11-05T01:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: detach process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528060#M96824</link>
      <description>adarsh,&lt;BR /&gt;&lt;BR /&gt;  A detached process is like any other process. It stops because it was told to, it was deleted, it encountered a fatal error.&lt;BR /&gt;&lt;BR /&gt;  If you have accounting enabled, there should be an accounting record for the process termination that will have the termination status. That might give a clue.&lt;BR /&gt;&lt;BR /&gt;  In future, make sure you have an output file and error file defined for the process.</description>
      <pubDate>Thu, 05 Nov 2009 02:06:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528060#M96824</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2009-11-05T02:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: detach process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528061#M96825</link>
      <description>And when you start a detached process, you have the /output=file qualifier, that can help you understand what happens.&lt;BR /&gt;&lt;BR /&gt;Better avoid the detached processes, and prefer the batch ones, you will avoid some problems and have the same functionalities.</description>
      <pubDate>Thu, 05 Nov 2009 08:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528061#M96825</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2009-11-05T08:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: detach process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528062#M96826</link>
      <description>thanks, i was reading about /after qualifier in submit command. can u guys tell me where can i read some more about assigning time, so that the job gets resumbit after 2 seconds&lt;BR /&gt;&lt;BR /&gt;Or can u guys tell me how to go about it</description>
      <pubDate>Thu, 05 Nov 2009 09:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528062#M96826</guid>
      <dc:creator>adarsh_4</dc:creator>
      <dc:date>2009-11-05T09:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: detach process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528063#M96827</link>
      <description>The cost of a process creation is huge on VMS compared to Unix.&lt;BR /&gt;So you should stay in the process, and loop with a &lt;BR /&gt;$ wait 00:00:02&lt;BR /&gt;instead of re-submitting.&lt;BR /&gt;&lt;BR /&gt;What do you need to do every 2 seconds ?</description>
      <pubDate>Thu, 05 Nov 2009 10:26:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528063#M96827</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2009-11-05T10:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: detach process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528064#M96828</link>
      <description>Answering several different aspects of this thread...&lt;BR /&gt;&lt;BR /&gt;Where can you get more information on SUBMIT and on time and time specification syntax?  Start with the OpenVMS User's Guide and then (either or both, and depending on your goals) the OpenVMS System Manager's manuals and the OpenVMS Programming Concepts manual.  The User's Guide will get you going, the System Manager's manual covers various tasks, and the Programming Concepts and other manuals cover details that will be of interest to programmers.  Including time and timekeeping.&lt;BR /&gt;&lt;BR /&gt;As for your literal question, there are specific details in the HELP library, too.  The path to this help text has changed from time to time, which is why we generally ask that the OpenVMS version always be included when asking questions.&lt;BR /&gt;&lt;BR /&gt;I just checked an OpenVMS Alpha V8.3 help library, and the HELP section here is HELP DATE_TIME.&lt;BR /&gt;&lt;BR /&gt;Basic examples of SUBMIT /AFTER are available here: &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/97" target="_blank"&gt;http://labs.hoffmanlabs.com/node/97&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is off into job-scheduling, and the above article has links to cron and Kronos, and there are other open source and commercial schedulers around for OpenVMS.&lt;BR /&gt;&lt;BR /&gt;The usual spot for debugging a detached process is in its own output log (see the sys$output when the process is created, depending on exactly how the detached process is created), or by bringing up the debugger if the application is running some sort of an executable image.  &lt;BR /&gt;&lt;BR /&gt;Here is an overview of detached processes and the OpenVMS debugger:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/803" target="_blank"&gt;http://labs.hoffmanlabs.com/node/803&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you do not know how to use the OpenVMS debugger (and you're doing application debugging), stop what you're doing and go learn.  Seriously.  The payback from having even a passing knowledge of the debugger is massive.&lt;BR /&gt;&lt;BR /&gt;Providing some more details on how the detached process is being launched (and around why you think SUBMIT /AFTER might help) could be useful in reaching an answer better tailored for your particular situation here.&lt;BR /&gt;&lt;BR /&gt;And as has been discussed in this thread, starting or restarting a process every two seconds is usually not the most efficient solution.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Nov 2009 12:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528064#M96828</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-11-05T12:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: detach process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528065#M96829</link>
      <description>Normally, detached processes run programs and batch jobs run DCL.  This is directly what the difference is in process setup, as well as that batch jobs also need to go through the job controller and the queue manager.&lt;BR /&gt;The trick with the detached process to get it to run DCL is to get the detached process to run LOGINOUT.EXE and use the Dcl as a /INPUT= on the RUN command:&lt;BR /&gt;e.g. RUN/INPUT=MYFILE.COM sys$system:loginout.exe&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Nov 2009 22:34:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528065#M96829</guid>
      <dc:creator>Steve Reece_3</dc:creator>
      <dc:date>2009-11-06T22:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: detach process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528066#M96830</link>
      <description>thank you all, i have learnt a lot. thanks once again. you guys are really rocking.</description>
      <pubDate>Wed, 11 Nov 2009 23:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528066#M96830</guid>
      <dc:creator>adarsh_4</dc:creator>
      <dc:date>2009-11-11T23:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: detach process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528067#M96831</link>
      <description>... and rolling.&lt;BR /&gt;&lt;BR /&gt;Sorry, someone had to say it.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Art</description>
      <pubDate>Thu, 12 Nov 2009 03:33:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/detach-process/m-p/4528067#M96831</guid>
      <dc:creator>Art Wiens</dc:creator>
      <dc:date>2009-11-12T03:33:07Z</dc:date>
    </item>
  </channel>
</rss>

