PIJG gate, CONVERT_DATA_TO_JSON function
Generate JSON from passed input data.
Input Parameters
- INPUT_DATA
- The address and length of the COMMAREA or container to convert.
- OUTPUT_ICM_ADDRESS
- The address of the internal COMMAREA or container model (ICM) that defines how to map the COMMAREA or container to JSON.
- OUTPUT_JSON
- The address of the generated JSON.
- POOL_TOKEN
- A token representing the channel containing the input data containers.
- PRIMARY_CCSID
- The primary CCSID of the input data.
- SECONDARY_CCSID
- The secondary CCSID of the input data.
- RESOURCE_NAME
- The name of the resource associated with the request.
- RESOURCE_TYPE
- The type of the resource associated with the request.
- MODE
- Whether the routine is driven whilst processing a request or a response.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
BUFFER_OVERFLOWINPUT_ERRORCONVERSION_ERRORCONTAINER_NOT_FOUNDCONTAINER_DATATYPE_ERR
- RESPONSE
- Indicates whether the domain call was successful. For more information, see The RESPONSE parameter on domain interfaces.