PIMM gate, BUILD_MIME_HEADERS function
Creates MIME headers from selected header values and stores them in a specific headers container.
Input Parameters
- CCSID
- The fullword binary CCSID value. This is used for header value input and output parameters such as CONTENT_ID.
- 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.
- CONTENT_DESCRIPTION
- Optional parameter
- A buffer for the Content-Description header value in the specified CCSID.
- CONTENT_ID
- Optional parameter
- A buffer for the Content-ID value in the specified CCSID.
- CONTENT_TRAN_ENCODING
- Optional parameter
- A buffer for the Content-Transfer-Encoding header value in the specified CCSID. This is the value specified on the header, without any white space or comments.
- CONTENT_TYPE
- Optional parameter
- A buffer for the Content-Type header value in the specified CCSID.
- HEADERS_CONTAINER
- The 16-byte name of the headers container in the specified channel. This should be a container of DATATYPE(CHAR) that contains the MIME headers.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- CCSID_NOT_SUPPORTED
- CHANNEL_NOT_FOUND
- CONTAINER_NOT_FOUND
- CONTAINER_CCSID_ERROR
- CONTAINER_WRONG_TYPE
- CONTAINER_NAME_INVALID
- INVALID_CHARACTER
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.