PIMM gate, BUILD_MIME_MESSAGE function

Combines the contents of the headers container and the body container to create a message container.

Input Parameters

The headers container and the message container are accessed using the CCSID 819. The body container is accessed using the CCSID determined from the charset parameter on the Content-type header.
BODY_CONTAINER
The 16-byte name of the body container in the specified channel that contains XOP or XML data. This is a container of DATATYPE(CHAR), unless it contains a binary attachment.
CHANNEL_NAME
Optional parameter
The 16-byte name of the channel for all referenced containers. If this parameter is omitted, then the current channel is assumed.
HEADERS_CONTAINER
The 16-byte name of the headers container in the specified channel. This is a container of DATATYPE(CHAR) that contains the MIME headers.
MESSAGE_CONTAINER
The 16-byte name of the message container in the specified channel. This is a container of DATATYPE(CHAR) that contains the MIME headers and the body of the message.

Output Parameters

REASON
The following values are returned when RESPONSE is EXCEPTION:
  • CHANNEL_NOT_FOUND
  • CONTAINER_NOT_FOUND
  • CONTAINER_CCSID_ERROR
  • CONTAINER_WRONG_TYPE
  • CONTAINER_NAME_INVALID
  • HEADER_SYNTAX_ERROR
  • MIME_HEADER_ERROR
  • ENCODING_NOT_SUPPORTED
  • CHARSET_NOT_SUPPORTED
RESPONSE
Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.


dfhs3_PIMMbuild_mime_message.html | Timestamp icon Last updated: Monday, 5 June 2017