Exception conditions, and corresponding values of JSON-CODE

Table 1. Reason codes for JSON exception conditions
Reason code in the JSON-CODE register Description
100 The JSON text was invalid.
101 The JSON text was zero-length, or consisted only of whitespace.
102 Superfluous nonwhitespace characters were found after the closing brace of the outermost JSON object.
103 One or more data items had multiple matching JSON name/value pairs with different values, and were set to the leftmost value encountered in the JSON text.
104 One or more JSON name/value pairs had a value that was incompatible with the matching data item.
105 One or more matching JSON name/value pairs had the value true or false.
106 No JSON name/value pair matched any data item.
107 One or more matching JSON name/value pairs had the value true or false but the matching COBOL data item was not specified on a ‘CONVERTING BOOLEAN’ phrase.
108 JSON PARSE statement without NAME OMITTED phrase and OCCURS clause attempted to parse anonymous JSON array in the JSON text.
109 The CCSID of the ENCODING phrase in the JSON PARSE statement was invalid or unsupported.