<?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: SYS$FORCEX Query in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616778#M39769</link>
    <description>And $DELPRC might not make the process go away, but enter the RWAST state.  There are numerous postings about this issue here in ITRC.&lt;BR /&gt;&lt;BR /&gt;[Just so we don't discuss this all again.  Perhaps the RWAST state is itself in RWAST...]</description>
    <pubDate>Wed, 14 Apr 2010 00:09:33 GMT</pubDate>
    <dc:creator>Stanley F Quayle</dc:creator>
    <dc:date>2010-04-14T00:09:33Z</dc:date>
    <item>
      <title>SYS$FORCEX Query</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616774#M39765</link>
      <description>&lt;!--!*#--&gt;The System Services documentation on $FORCEX states the following:&lt;BR /&gt;&lt;BR /&gt;"The $FORCEX service completes successfully if a force exit request is already in effect for the target process but the exit is not yet completed." &lt;BR /&gt;&lt;BR /&gt;Can anyone clarify what this means? &lt;BR /&gt;&lt;BR /&gt;If you issue a $FORCEX on a process that already has a force exit request in effect, does this mean that the target process will exit immediately ? &lt;BR /&gt;&lt;BR /&gt;Or does this mean that $FORCEX will just return a 'success' status, but will not actually try to force the target process to exit ?&lt;BR /&gt;&lt;BR /&gt;I hope I'm making sense here. I did trawl for any previous queries on this, but couldn't see anything. Do shout if you need me to clarify on anything here.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(Documentation Source:)&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/83final/4527/4527pro_050.html" target="_blank"&gt;http://h71000.www7.hp.com/doc/83final/4527/4527pro_050.html&lt;/A&gt;</description>
      <pubDate>Tue, 13 Apr 2010 15:16:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616774#M39765</guid>
      <dc:creator>AlanW</dc:creator>
      <dc:date>2010-04-13T15:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: SYS$FORCEX Query</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616775#M39766</link>
      <description>Alan,&lt;BR /&gt;&lt;BR /&gt;if the PCB$V_FORCPEN bit is set in PCB$L_STS of the target process, $FORCEX will just return SS$_NORMAL without attempting to queue another AST to the target process to request image exit. The image in the target process will eventually exit.&lt;BR /&gt;&lt;BR /&gt;If the target process has the PCB$V_NODELET bit set, $FORCEX will also just return as above.&lt;BR /&gt;&lt;BR /&gt;Reference: [SYS]SYSFORCEX&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Apr 2010 15:31:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616775#M39766</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-04-13T15:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: SYS$FORCEX Query</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616776#M39767</link>
      <description>Inferring much, and given that few folks typically see this sequencing outside of a case of a wedged process or maybe a degenerate rundown handler sequence within an application, can you post some details around the target process and its state?  If this target process is stuck in a resource wait for instance, repeated $forcex calls won't necessarily cause it to complete its rundown processing.&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Apr 2010 15:42:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616776#M39767</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-04-13T15:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: SYS$FORCEX Query</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616777#M39768</link>
      <description>Hi Alan,&lt;BR /&gt;&lt;BR /&gt;It will just return success. As Volker pointed out, you can check to see if there is a forced-exit pending or you can escalate to a $delprc if that is appropriate.&lt;BR /&gt;&lt;BR /&gt;Do you have a specific problem or requirement in mind?&lt;BR /&gt;&lt;BR /&gt;Cheers Richard Maher&lt;BR /&gt;&lt;BR /&gt;PS. IIRC $forcex needs to deliver a USER mode AST to the target process. If the process is already in an AST or in an inner-mode then any action will be delayed.</description>
      <pubDate>Tue, 13 Apr 2010 21:24:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616777#M39768</guid>
      <dc:creator>Richard J Maher</dc:creator>
      <dc:date>2010-04-13T21:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: SYS$FORCEX Query</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616778#M39769</link>
      <description>And $DELPRC might not make the process go away, but enter the RWAST state.  There are numerous postings about this issue here in ITRC.&lt;BR /&gt;&lt;BR /&gt;[Just so we don't discuss this all again.  Perhaps the RWAST state is itself in RWAST...]</description>
      <pubDate>Wed, 14 Apr 2010 00:09:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616778#M39769</guid>
      <dc:creator>Stanley F Quayle</dc:creator>
      <dc:date>2010-04-14T00:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: SYS$FORCEX Query</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616779#M39770</link>
      <description>Thanks for all the responses folks, this certainly clears up some ambiguity surrounding the comment in the HP documentation.&lt;BR /&gt;&lt;BR /&gt;I won't go into specifics, but essentially knowing what happens when you issue a 2nd $forcex on a target process that already has an exit request in effect will help with some analysis we're carrying out.&lt;BR /&gt;&lt;BR /&gt;Back to the analysis then...&lt;BR /&gt;&lt;BR /&gt;Thanks again folks!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Apr 2010 07:29:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sys-forcex-query/m-p/4616779#M39770</guid>
      <dc:creator>AlanW</dc:creator>
      <dc:date>2010-04-14T07:29:36Z</dc:date>
    </item>
  </channel>
</rss>

