M204.2799

From m204wiki
Revision as of 01:23, 30 March 2018 by ELowell (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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