<?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 handler for EDT$EDIT VMS-routine in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/exception-handler-for-edt-edit-vms-routine/m-p/3346105#M3158</link>
    <description>Thank you for your reply, John!&lt;BR /&gt;&lt;BR /&gt;As I wrote in a comment to XXX.C it's&lt;BR /&gt;only a little fragment of a more big&lt;BR /&gt;program which I developed in 1991. Now I&lt;BR /&gt;have a lot of free time and want to&lt;BR /&gt;redesign my program and use in it a&lt;BR /&gt;more simple then TPU but fully functional editor by means of only ONE CALL. Hence, in accordance to your reply, if I want to&lt;BR /&gt;continue using EDT$EDIT I must trace EDTSHR code "on-the-fly" (as I wrote in a comment to XXX.C)... Or develop my own editor by&lt;BR /&gt;means of TPU (it will be possible in the&lt;BR /&gt;future).&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Vladimir</description>
    <pubDate>Sun, 01 Aug 2004 07:18:41 GMT</pubDate>
    <dc:creator>Vladimir K. Vershinin</dc:creator>
    <dc:date>2004-08-01T07:18:41Z</dc:date>
    <item>
      <title>Exception handler for EDT$EDIT VMS-routine</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/exception-handler-for-edt-edit-vms-routine/m-p/3346101#M3154</link>
      <description>See C source in attachment.</description>
      <pubDate>Fri, 30 Jul 2004 15:53:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/exception-handler-for-edt-edit-vms-routine/m-p/3346101#M3154</guid>
      <dc:creator>Vladimir K. Vershinin</dc:creator>
      <dc:date>2004-07-30T15:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exception handler for EDT$EDIT VMS-routine</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/exception-handler-for-edt-edit-vms-routine/m-p/3346102#M3155</link>
      <description>Hello Vladimir,&lt;BR /&gt;&lt;BR /&gt;I do not understand your question really.&lt;BR /&gt;&lt;BR /&gt;Building and running your example program, one&lt;BR /&gt;gets an image that invokes edt to edit a file.&lt;BR /&gt;&lt;BR /&gt;As per your description I've set this file to no access to the owner. Again invoking the &lt;BR /&gt;program the following error message is &lt;BR /&gt;generated&lt;BR /&gt;&lt;BR /&gt;$ run temp&lt;BR /&gt;&lt;BR /&gt;Ret - edit file XXX.YYY, ^Y - exit program:&lt;BR /&gt;%EDT-F-OPENIN, error opening US$ROOT:[EURMPZ]XXX.YYY; as input&lt;BR /&gt;-RMS-E-PRV, insufficient privilege or file protection violation&lt;BR /&gt;Ret - edit file XXX.YYY, ^Y - exit program:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That is IMHO expected behaviour, since the file is protected against write. So, can you please explain which behaviour you do want to achieve?&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin&lt;BR /&gt;&lt;BR /&gt;P.S. For other forum members, you do need an &lt;BR /&gt;un-prived process to see this ;-)</description>
      <pubDate>Sat, 31 Jul 2004 16:14:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/exception-handler-for-edt-edit-vms-routine/m-p/3346102#M3155</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2004-07-31T16:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exception handler for EDT$EDIT VMS-routine</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/exception-handler-for-edt-edit-vms-routine/m-p/3346103#M3156</link>
      <description>Thank you for your reply, Martin!&lt;BR /&gt;&lt;BR /&gt;If you run test and press Ret more then&lt;BR /&gt;once you see error message only once.&lt;BR /&gt;&lt;BR /&gt;Greetings, Vladimir</description>
      <pubDate>Sat, 31 Jul 2004 16:40:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/exception-handler-for-edt-edit-vms-routine/m-p/3346103#M3156</guid>
      <dc:creator>Vladimir K. Vershinin</dc:creator>
      <dc:date>2004-07-31T16:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Exception handler for EDT$EDIT VMS-routine</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/exception-handler-for-edt-edit-vms-routine/m-p/3346104#M3157</link>
      <description>Vladimir,&lt;BR /&gt;&lt;BR /&gt;  There's nothing "wrong" with your code.&lt;BR /&gt;&lt;BR /&gt;  Modify your program to capture the return status from EDT$EDIT and you'll see that on second and subsequent invokations, it's returning (decimal) 8749116.&lt;BR /&gt;&lt;BR /&gt;  This is a limitation of the EDT$EDIT routine. If the routine ever terminates with a severity E or F error, all subsequent attempts to invoke the routine will fail with status &lt;BR /&gt;&lt;BR /&gt;%EDT-F-REENTRY, attempt to re-enter EDT &lt;BR /&gt;&lt;BR /&gt;  The EDT editor was made obselete with the release of TPU circa 1984 (20 years ago!). EDT has many restrictions and limitations, all of which are resolved by using a more modern editor. &lt;BR /&gt;&lt;BR /&gt;  Your specific issue was formally reported to OpenVMS engineering in 1990. The response was:  &lt;BR /&gt;&lt;BR /&gt;"SOLUTION:&lt;BR /&gt;&lt;BR /&gt;OpenVMS engineering is no longer considering corrections to problems reported on EDT unless the problem is a regression from the release previous to the current shipping version of OpenVMS. Our current fully supported editor is TPU, which is the default editor for OpenVMS.  EDT will continue to ship with OpenVMS to provide this editor, in its current working form, to those customers who prefer to use it.&lt;BR /&gt;&lt;BR /&gt;WORKAROUND:&lt;BR /&gt;&lt;BR /&gt;If possible, use another callable editor such as TPU or LSE.&lt;BR /&gt;"&lt;BR /&gt;&lt;BR /&gt;Sorry! &lt;BR /&gt;&lt;BR /&gt;Please modify your code to call TPU instead.</description>
      <pubDate>Sat, 31 Jul 2004 22:39:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/exception-handler-for-edt-edit-vms-routine/m-p/3346104#M3157</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-07-31T22:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exception handler for EDT$EDIT VMS-routine</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/exception-handler-for-edt-edit-vms-routine/m-p/3346105#M3158</link>
      <description>Thank you for your reply, John!&lt;BR /&gt;&lt;BR /&gt;As I wrote in a comment to XXX.C it's&lt;BR /&gt;only a little fragment of a more big&lt;BR /&gt;program which I developed in 1991. Now I&lt;BR /&gt;have a lot of free time and want to&lt;BR /&gt;redesign my program and use in it a&lt;BR /&gt;more simple then TPU but fully functional editor by means of only ONE CALL. Hence, in accordance to your reply, if I want to&lt;BR /&gt;continue using EDT$EDIT I must trace EDTSHR code "on-the-fly" (as I wrote in a comment to XXX.C)... Or develop my own editor by&lt;BR /&gt;means of TPU (it will be possible in the&lt;BR /&gt;future).&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Vladimir</description>
      <pubDate>Sun, 01 Aug 2004 07:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/exception-handler-for-edt-edit-vms-routine/m-p/3346105#M3158</guid>
      <dc:creator>Vladimir K. Vershinin</dc:creator>
      <dc:date>2004-08-01T07:18:41Z</dc:date>
    </item>
  </channel>
</rss>

