MLTF gate, QUERY_XML function
Query a fragment of XML.
Input parameters
- CHANNEL_NAME
- The 16-byte name of the current channel.
- CHANNEL_TOKEN
- A token that represents the current channel.
- ELEMENT_NAME
- Optional parameter
- A buffer for the XML element name.
- ELEMENT_NAMESPACE
- Optional parameter
- A buffer for the XML element namespace.
- NAMESPACE_CONTAINER
- Optional parameter
- A list of XML namespace prefix declarations that are processed as in scope for the XML.
- TYPE_NAME
- Optional parameter
- A buffer for the name of the XML global data type.
- TYPE_NAMESPACE
- Optional parameter
- A buffer for the namespace of the XML global data type.
- XML_CONTAINER
- The 16-byte name of the container that has the XML that CICS will transform into application data.
Output parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- INTERNAL_ERROR
- SEVERE_ERROR
- The following values are returned when RESPONSE is EXCEPTION:
- CHANNEL_NOT_FOUND
- CONTAINER_NOT_FOUND_XML
- CONTAINER_NOT_FOUND_NS
- CONTAINER_NOT_TEXT_MODE
- ELEMENT_NAME_BUFF_OVERFLOW
- ELEMENT_NMSP_BUFF_OVERFLOW
- EMPTY_XML_CONTAINER
- EMPTY_XML_DATA
- TYPE_NAME_BUFF_OVERVIEW
- TYPE_NMSP_BUFF_OVERVIEW
- XML_CONVERSION_ERROR
- XML_INPUT_ERROR
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.