<?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: Turning off TCPIP stack dumping in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220778#M26988</link>
    <description>Yes, I have NOTRACE on the compile and the link. But to of no avail.&lt;BR /&gt;&lt;BR /&gt;Dan</description>
    <pubDate>Thu, 21 Jan 2010 13:37:21 GMT</pubDate>
    <dc:creator>Dan Herron</dc:creator>
    <dc:date>2010-01-21T13:37:21Z</dc:date>
    <item>
      <title>Turning off TCPIP stack dumping</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220772#M26982</link>
      <description>I am using the MAIL$ utility routines to programatically send email.&lt;BR /&gt;&lt;BR /&gt;When I invoke MAIL$SEND_ADD_ADDRESS and pass it an invalid email address, like smtp%joe@blow. (notice the missing COM or NET after the final period) TCPIP returns a warning "%TCPIP-E-SMTP_BADADDR, recipient address is illegal; unparsed string: @." and then stack dumps.&lt;BR /&gt;&lt;BR /&gt;I have no problem with the error message, but do not want the program to abort/stack dump as I have code within the calling program to handle the situation. I have included the MAIL$_NOSIGNAL item in the input item list when calling MAIL$SEND_ADD_ADDRESS but this does not turn off TCPIP's need to signal the error and stack dump.&lt;BR /&gt;&lt;BR /&gt;How do I turn off the signal/stack dump so that MAIL$SEND_ADD_ADDRESS will just return the error status to the calling program?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help,&lt;BR /&gt;Dan Herron</description>
      <pubDate>Thu, 21 Jan 2010 12:53:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220772#M26982</guid>
      <dc:creator>Dan Herron</dc:creator>
      <dc:date>2010-01-21T12:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off TCPIP stack dumping</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220773#M26983</link>
      <description>Dan,&lt;BR /&gt;&lt;BR /&gt;can your reproduce this behaviour using MAIL ?&lt;BR /&gt;&lt;BR /&gt;$ MAIL&lt;BR /&gt;MAIL&amp;gt; SEND&lt;BR /&gt;To: smtp%joe@blow.&lt;BR /&gt;&lt;BR /&gt;What happens ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 21 Jan 2010 13:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220773#M26983</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-01-21T13:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off TCPIP stack dumping</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220774#M26984</link>
      <description>Volker,&lt;BR /&gt;&lt;BR /&gt;MAIL&amp;gt; send&lt;BR /&gt;To:     smtp%joe@blow.&lt;BR /&gt;%TCPIP-E-SMTP_BADADDR, recipient address is illegal; unparsed string: @.&lt;BR /&gt;%TCPIP-E-SMTP_ABORT, SMTP session aborted&lt;BR /&gt;&lt;BR /&gt;MAIL&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Same error message. No stack dump. Control is returned to the calling program..in this case MAIL.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Dan</description>
      <pubDate>Thu, 21 Jan 2010 13:19:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220774#M26984</guid>
      <dc:creator>Dan Herron</dc:creator>
      <dc:date>2010-01-21T13:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off TCPIP stack dumping</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220775#M26985</link>
      <description>Dan,&lt;BR /&gt;&lt;BR /&gt;could you provide an example output of the 'stack dump' ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 21 Jan 2010 13:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220775#M26985</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-01-21T13:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off TCPIP stack dumping</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220776#M26986</link>
      <description>Volker,&lt;BR /&gt;%TCPIP-E-SMTP_BADADDR, recipient address is illegal; unparsed string: @.&lt;BR /&gt;%TRACE-E-TRACEBACK, symbolic stack dump follows&lt;BR /&gt;  image    module    routine             line      rel PC           abs PC&lt;BR /&gt; TCPIP$SMTP_MAILSHR                         0 000000000006E2D8 000000000221E2D8&lt;BR /&gt; TCPIP$SMTP_MAILSHR                         0 0000000000070A44 0000000002220A44&lt;BR /&gt; MAILSHR                                    0 0000000000044CC8 0000000000720CC8&lt;BR /&gt; MAILSHR                                    0 000000000003C138 0000000000718138&lt;BR /&gt; MAILSHR                                    0 000000000003C954 0000000000718954&lt;BR /&gt;                                            0 FFFFFFFF808B5F18 FFFFFFFF808B5F18&lt;BR /&gt; MAILSHR                                    0 000000000003AF48 0000000000716F48&lt;BR /&gt; MAILSHR                                    0 000000000003B63C 000000000071763C&lt;BR /&gt; MAILSHR                                    0 000000000003B8E0 00000000007178E0&lt;BR /&gt; MAILSHR                                    0 0000000000036F64 0000000000712F64&lt;BR /&gt; MAILSHR                                    0 0000000000037368 0000000000713368&lt;BR /&gt; TEST_EMAIL_TYPE_SEND  MAIL_SEND_ADD_ADDRESS  MAIL_SEND_ADD_ADDRESS&lt;BR /&gt;                                         1265 000000000000037C 000000000007C82C&lt;BR /&gt; TEST_EMAIL_TYPE_SEND  EMAIL_SEND_ARRAY  EMAIL_SEND_ARRAY&lt;BR /&gt;                                         1623 0000000000000934 0000000000070A94&lt;BR /&gt; TEST_EMAIL_TYPE_SEND  EMAIL_TYPE_SEND  EMAIL_TYPE_SEND&lt;BR /&gt;                                         1079 0000000000000D7C 00000000000622DC&lt;BR /&gt; TEST_EMAIL_TYPE_SEND  TEST_EMAIL_TYPE_SEND$MAIN  TEST_EMAIL_TYPE_SEND$MAIN&lt;BR /&gt;                                          544 00000000000002F8 00000000000602F8&lt;BR /&gt;                                            0 FFFFFFFF8028163C FFFFFFFF8028163C&lt;BR /&gt;%TCPIP&lt;BR /&gt;-SYSTEM&lt;BR /&gt;-CLI&lt;BR /&gt;%F-NORMAL, normal successful completion&lt;BR /&gt;%?-NOMSG, Message number 0000534E&lt;BR /&gt;%E-ILLSER, illegal service call number&lt;BR /&gt;%?-NORMAL&lt;BR /&gt;%?-BADIMGHDR&lt;BR /&gt;%E-ILLSER&lt;BR /&gt;%?, normal successful completion&lt;BR /&gt;%BADPARAM, bad parameter value&lt;BR /&gt;%TRACE-E-TRACEBACK, symbolic stack dump follows&lt;BR /&gt;  image    module    routine             line      rel PC           abs PC&lt;BR /&gt;                                            0 FFFFFFFF80888954 FFFFFFFF80888954&lt;BR /&gt; DEC$BASRTL                                 0 000000000000E48C 00000000007EE48C&lt;BR /&gt;----- above condition handler called with exception 0764B39A:&lt;BR /&gt;&lt;BR /&gt;----- end of exception message&lt;BR /&gt;                                            0 FFFFFFFF800B7CCC FFFFFFFF800B7CCC&lt;BR /&gt;                                            0 FFFFFFFF80888954 FFFFFFFF80888954&lt;BR /&gt; TEST_EMAIL_TYPE_SEND  MAIL_SEND_ADD_ADDRESS  MAIL_SEND_ADD_ADDRESS&lt;BR /&gt;                                         1312 0000000000000584 000000000007CA34&lt;BR /&gt; TEST_EMAIL_TYPE_SEND  EMAIL_SEND_ARRAY  EMAIL_SEND_ARRAY&lt;BR /&gt;                                         1623 0000000000000934 0000000000070A94&lt;BR /&gt; TEST_EMAIL_TYPE_SEND  EMAIL_TYPE_SEND  EMAIL_TYPE_SEND&lt;BR /&gt;                                         1079 0000000000000D7C 00000000000622DC&lt;BR /&gt; TEST_EMAIL_TYPE_SEND  TEST_EMAIL_TYPE_SEND$MAIN  TEST_EMAIL_TYPE_SEND$MAIN&lt;BR /&gt;                                          544 00000000000002F8 00000000000602F8&lt;BR /&gt;                                            0 FFFFFFFF8028163C FFFFFFFF8028163C&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jan 2010 13:24:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220776#M26986</guid>
      <dc:creator>Dan Herron</dc:creator>
      <dc:date>2010-01-21T13:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off TCPIP stack dumping</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220777#M26987</link>
      <description>Dan,&lt;BR /&gt;&lt;BR /&gt;did you try $ LINK/NOTRACE ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 21 Jan 2010 13:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220777#M26987</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-01-21T13:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off TCPIP stack dumping</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220778#M26988</link>
      <description>Yes, I have NOTRACE on the compile and the link. But to of no avail.&lt;BR /&gt;&lt;BR /&gt;Dan</description>
      <pubDate>Thu, 21 Jan 2010 13:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220778#M26988</guid>
      <dc:creator>Dan Herron</dc:creator>
      <dc:date>2010-01-21T13:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off TCPIP stack dumping</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220779#M26989</link>
      <description>Dan,&lt;BR /&gt;&lt;BR /&gt;MAIL uses it's own condition handler, which re-signals only in case of an ACCVIO. Otherwise it ignores the signal (returning SS$_CONTINUE) or prints the error message.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 21 Jan 2010 13:49:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220779#M26989</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-01-21T13:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off TCPIP stack dumping</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220780#M26990</link>
      <description>You may well be able to make the case that the MAIL$_NOSIGNAL should do this for you, but that's for HP OpenVMS Engineering to decide, and (even in the best possible case) any fix for this probably won't arrive on your schedule here.  This matter is for y'all and for HP to discuss more directly, though.&lt;BR /&gt;&lt;BR /&gt;If you have a condition handler established within your code and it's not getting triggered for this case, then you've arguably encountered a (bigger) bug in either the MAIL API or within TCP/IP Services.  Various OpenVMS APIs (and particularly the older APIs) can and do use signals.  &lt;BR /&gt;&lt;BR /&gt;The simplest way to suppress these often looks like this:&lt;BR /&gt;&lt;BR /&gt;lib$establish( lib$sig_to_ret );&lt;BR /&gt;&lt;BR /&gt;Then start calling the MAIL$ routines; I usually have a set of wrappers (I've posted a set of wrappers with a BSD license in the NEWUSER code) and the wrappers here would include the declaration of the signal handler.&lt;BR /&gt;&lt;BR /&gt;It's entirely feasible to do rather more within the handler than to just convert the signal into a return status (sig_to_ret), including (often) gathering (far) more information on the error. &lt;BR /&gt;&lt;BR /&gt;nb: the conversion to the return occurs when the signal arrives at the call frame depth (level) of the code that has declared the handler, which would be at the "wrapper" call here.&lt;BR /&gt;&lt;BR /&gt;Reading materials:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/1438" target="_blank"&gt;http://labs.hoffmanlabs.com/node/1438&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/1260" target="_blank"&gt;http://labs.hoffmanlabs.com/node/1260&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I wrote various updates to the HP Programming Concepts Manual over the years around these sorts of things, and that's probably also worth a read here if you've not taken the time.  That document tries to describe some of these areas of OpenVMS in some detail.</description>
      <pubDate>Thu, 21 Jan 2010 14:39:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220780#M26990</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-01-21T14:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off TCPIP stack dumping</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220781#M26991</link>
      <description>Volker,&lt;BR /&gt;Thank you very much for your quick responses to my question.&lt;BR /&gt;&lt;BR /&gt;Hoff,&lt;BR /&gt;Thank you for your responses also.&lt;BR /&gt;&lt;BR /&gt;Both your responses lead me (in a round about way) to the &lt;BR /&gt;OPTION HANDLE=ERROR command in BASIC (our language of choice) which allows the BASIC program to trap externally generated errors (via TCPIP, etc.) during the execution of the program.&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Dan Herron</description>
      <pubDate>Thu, 21 Jan 2010 19:51:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220781#M26991</guid>
      <dc:creator>Dan Herron</dc:creator>
      <dc:date>2010-01-21T19:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off TCPIP stack dumping</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220782#M26992</link>
      <description>See my final reply</description>
      <pubDate>Thu, 21 Jan 2010 19:52:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220782#M26992</guid>
      <dc:creator>Dan Herron</dc:creator>
      <dc:date>2010-01-21T19:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off TCPIP stack dumping</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220783#M26993</link>
      <description>Dan,&lt;BR /&gt;&lt;BR /&gt;  A generic solution for any routine, in any language, which signals errors. Use a MACRO32 jacket around the routine:&lt;BR /&gt;&lt;BR /&gt; .TITLE SIG_TO_RET_JACKETS&lt;BR /&gt; .ENTRY mail_send_add_address,^M&amp;lt;&amp;gt;&lt;BR /&gt; MOVAB G^LIB$SIG_TO_RET,(FP)&lt;BR /&gt; CALLG (AP),G^MAIL$SEND_ADD_ADDRESS&lt;BR /&gt; RET&lt;BR /&gt; .END&lt;BR /&gt;&lt;BR /&gt;on Alpha and Itanium, your entry point should look like:&lt;BR /&gt;&lt;BR /&gt; .CALL_ENTRY LABEL=mail_send_add_address, HOME_ARGS=TRUE, MAX_ARGS=&lt;MAXIMUM-EXPECTED-ARGUMENTS&gt;&lt;BR /&gt;&lt;BR /&gt;  For the jacket routine name, I tend to change the "$" in the facility name to "_".&lt;BR /&gt;&lt;BR /&gt;  Your application calls the jacket. Any signalled conditions will be converted to a return status from the jacket.&lt;/MAXIMUM-EXPECTED-ARGUMENTS&gt;</description>
      <pubDate>Thu, 21 Jan 2010 22:39:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/turning-off-tcpip-stack-dumping/m-p/5220783#M26993</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-01-21T22:39:18Z</dc:date>
    </item>
  </channel>
</rss>

