PIJP gate, PERFORM_JSON_PARSE function

Create application input data from parsed JSON.

Input Parameters

JSON_BODY_STRING
The address and length of the JSON data to be parsed.
JSON_CONTAINER_TOKEN
The container that holds the JSON data to be parsed.
CCSID
The primary CCSID of the input data.
CCSID_2
The secondary CCSID of the input data.
OUTPUT_DATA
The address and length of the COMMAREA data, created by the parser, or of the name of the container in which this data is placed.
ICM_ADDRESS
The address of the internal COMMAREA or container model (ICM) that defines how to map the JSON to a COMMAREA or container structure.
PROCESSING
An indicator of the method that is used to generate the ICM with: top-down or bottom-up.
CHANNEL_NAME
The name of the channel that contains the JSON message.
CONT_POOL_TOKEN
A token that represents the channel that contains the input/output data containers.
RESOURCE_NAME
The name of the resource that is associated with the request.
RESOURCE_TYPE
The type of the resource that is associated with the request.

Output Parameters

REASON
The following values are returned when RESPONSE is EXCEPTION:
  • OUTPUT_BUFFER_OVERFLOW
  • PARSING_ERROR
  • INPUT_ERROR
  • CONVERSION_ERROR
  • UNSUPPORTED_CCSID
  • INCOMPATIBLE_CCSIDS
RESPONSE
Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.


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