M204.2799: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
No edit summary
 
Line 2: Line 2:


<P>
<P>
An error occurred while executing the <var>$SndMail</var> function. If there is a parameter error, the <var class="term">token0</var> text is <code>IN PARAMETER <EM>parametername</EM> <EM>errordetail</EM></code>.</P>
An error occurred while executing the <var>[[$SndMail]]</var> function. If there is a parameter error, the <var class="term">token</var> text is <code>IN PARAMETER <EM>parametername</EM> <EM>errordetail</EM></code>.</P>
<P>
<P>
If the error arises from a socket call, the <var class="term">token0</var> text is <code><EM>tcperrorcode</EM> ON <EM>socketcall</EM></code>, where <EM>socketcall</EM> is one of the following:</P>
If the error arises from a socket call, the <var class="term">token</var> text is <code><EM>tcperrorcode</EM> ON <EM>socketcall</EM></code>, where <EM>socketcall</EM> is one of the following:</P>
<ul>
<ul>
<LI>READ</LI>
<LI>READ</LI>
Line 15: Line 15:
</ul>
</ul>
<P>
<P>
In other cases, the <var class="term">token0</var> text is one of the following:</P>
In other cases, the <var class="term">token</var> text is one of the following:</P>
<ul>
<ul>
<li>GETTING STORAGE</li>
<li>GETTING STORAGE</li>

Latest revision as of 01:23, 30 March 2018

M204.2799  $SndMail error token

An error occurred while executing the $SndMail function. If there is a parameter error, the token text is IN PARAMETER parametername errordetail.

If the error arises from a socket call, the token text is tcperrorcode ON socketcall, where socketcall is one of the following:

  • READ
  • SELECTEX
  • CONNECT
  • WRITE
  • REGISTER
  • SHUTDOWN
  • CLOSE

In other cases, the token text is one of the following:

  • GETTING STORAGE
  • IN IMAGE PROCESSING
  • WITH TCP LINK
    • SOCD NOT RELEASED
  • READING DATA - TRUNCATION
    • SOCKET NOT FOUND
    • FUNCTION NOT SUPPORTED ON THIS SYSTEM
    • NO SRCD
    • TOO MANY SOCKETS
  • WITH UNIVERSAL BUFFER
  • READING FROM SMTP SERVER
  • WRITING TO SMTP SERVER
  • USING GETHOSTBYNAME LOOKUP

User response: Check the error text. In most cases, the error will be due to an error in the parameters. If this is a GETHOSTBYNAME error, check that the supplied client and server names are correct.

Message attributes:

RETCODEO=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITMSWrites the message with line type MS to the audit trail
NOCOUNTDoes not increment the error count (ERCNT) parameter

Back to list of messages