<?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: Exception Handling in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/exception-handling/m-p/3482510#M4795</link>
    <description>Kris - &lt;BR /&gt;&lt;BR /&gt;You are right about needing to know what the condition handler is doing...and that's what I've got to write!&lt;BR /&gt;&lt;BR /&gt;I should be able to figure out how to get it to return control to where I want upon return...I hope.  If not I'm sure you guys will hear from me again!&lt;BR /&gt;&lt;BR /&gt;Thanks for the great replies!&lt;BR /&gt;&lt;BR /&gt;-steve</description>
    <pubDate>Thu, 10 Feb 2005 09:37:21 GMT</pubDate>
    <dc:creator>Steve Lobsinger</dc:creator>
    <dc:date>2005-02-10T09:37:21Z</dc:date>
    <item>
      <title>Exception Handling</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/exception-handling/m-p/3482506#M4791</link>
      <description>Hi - &lt;BR /&gt;&lt;BR /&gt;I'm working with an openVMS Alpha system (6.2, I think) and have a situation where a C program calls a Fortran subroutine.  Inside the fortran procedure, the LIB$ESTABLISH call is made to handle exceptions.&lt;BR /&gt;&lt;BR /&gt;My question is this:  Assume an exception occurs in the Fortran subroutine.  Control will then pass to the specified exception handler to do it's work.  Once the exception handler has completed, where does control return to?  Does it go back to the next line in the fortran subroutine?  Does it return to the calling C routine?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!!&lt;BR /&gt;&lt;BR /&gt;-steve</description>
      <pubDate>Wed, 09 Feb 2005 16:20:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/exception-handling/m-p/3482506#M4791</guid>
      <dc:creator>Steve Lobsinger</dc:creator>
      <dc:date>2005-02-09T16:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Handling</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/exception-handling/m-p/3482507#M4792</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;I think you can do it either way.  This link discusses it some:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/731FINAL/5841/5841pro_032.html" target="_blank"&gt;http://h71000.www7.hp.com/doc/731FINAL/5841/5841pro_032.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I think if your condition handler returns SS$_CONTINUE then it will return to the Fortran routine, either the line that caused the problem or the next one, depending on what it is.&lt;BR /&gt;&lt;BR /&gt;Returning to the C program looks complicated in that description, but I think you can also use LIB$SIG_TO_RET to make it simple.&lt;BR /&gt;&lt;BR /&gt;It's been many years since I've done this, but I hope these pointers help.&lt;BR /&gt;&lt;BR /&gt;--Travis</description>
      <pubDate>Wed, 09 Feb 2005 18:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/exception-handling/m-p/3482507#M4792</guid>
      <dc:creator>Travis Craig</dc:creator>
      <dc:date>2005-02-09T18:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Handling</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/exception-handling/m-p/3482508#M4793</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;Where the condition handler returns to after dealing with the error, is entirely up to the way the condition handler is written. It can return to the statement following the one that caused the excption, it can return to the "caller of the establisher", or even unwind more call frames and return to somewhere else in the program. I think you have to have a thorough look at the handler.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kris (aka Qkcl)</description>
      <pubDate>Thu, 10 Feb 2005 02:13:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/exception-handling/m-p/3482508#M4793</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-02-10T02:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Handling</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/exception-handling/m-p/3482509#M4794</link>
      <description>Travis - &lt;BR /&gt;&lt;BR /&gt;Thanks for the info and the link.  I think from the information you gave I can get where I need to go.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;-steve</description>
      <pubDate>Thu, 10 Feb 2005 09:34:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/exception-handling/m-p/3482509#M4794</guid>
      <dc:creator>Steve Lobsinger</dc:creator>
      <dc:date>2005-02-10T09:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Handling</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/exception-handling/m-p/3482510#M4795</link>
      <description>Kris - &lt;BR /&gt;&lt;BR /&gt;You are right about needing to know what the condition handler is doing...and that's what I've got to write!&lt;BR /&gt;&lt;BR /&gt;I should be able to figure out how to get it to return control to where I want upon return...I hope.  If not I'm sure you guys will hear from me again!&lt;BR /&gt;&lt;BR /&gt;Thanks for the great replies!&lt;BR /&gt;&lt;BR /&gt;-steve</description>
      <pubDate>Thu, 10 Feb 2005 09:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/exception-handling/m-p/3482510#M4795</guid>
      <dc:creator>Steve Lobsinger</dc:creator>
      <dc:date>2005-02-10T09:37:21Z</dc:date>
    </item>
  </channel>
</rss>

