PIMM gate, BUILD_CONTENT_TYPE function
Builds a Content-Type header value from the media type and selected parameter values.
Input Parameters
- ACTION
- Optional parameter
- A buffer for the value of the action parameter for the Content-Type header in the specified CCSID. This value always includes the surrounding quotes.
- BOUNDARY
- Optional parameter
- A buffer for the value of the boundary parameter on the Content-Type header in the specified CCSID. This value does not have surrounding quotes.
- CCSID
- The fullword binary CCSID value. This is used for header value input and output parameters such as CONTENT_ID.
- CHARSET
- Optional parameter
- A buffer for the value of the charset parameter on the Content-Type header in the specified CCSID. This value does not have surrounding quotes.
- CONTENT_TYPE
- A buffer for the Content-Type header value in the specified CCSID.
- MEDIA_TYPE
- Optional parameter
- A buffer for the value of the media-type field for the Content-Type header in the specified CCSID. For example, multipart/related.
- START
- Optional parameter
- A buffer for the value of the start parameter on the Content-Type header in the specified CCSID. This value does not have surrounding quotes.
- START_INFO
- Optional parameter
- A buffer for the value of the start-info parameter on the Content-Type header in the specified CCSID. This value does not have surrounding quotes.
- TYPE
- Optional parameter
- A buffer for the value of the type parameter in the Content-Type header in the specified CCSID. This value does not have surrounding quotes.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- OUTPUT_BUFFER_OVERFLOW
- CCSID_NOT_SUPPORTED
- MIME_HEADER_ERROR
- INVALID_CHARACTER
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.