Your COBOL system supports the following non-exception JSON PARSE codes that are available via the JSON-STATUS special register:
Code | Description |
---|---|
1 | JSON PARSE on line <line-num>, no JSON name matched <name>. |
2 | JSON PARSE on line <line-num>, no data item matched JSON name <name>. |
8 | JSON PARSE on line <line-num>, JSON array <name> at offset <offset> had fewer elements than matching table. |
16 | JSON PARSE on line <line-num>, JSON array <name> at offset <offset> had more elements than matching table. |
32 | JSON PARSE on line <line-num>, data item matching JSON name <name> was unmodified because of value null at offset <offset>. |
64 |
JSON PARSE on line <line-num>, JSON array <name> included null at offset <offset>, corresponding element unmodified. |
128 | JSON PARSE on line <line-num>, SIZE ERROR during assignment to numeric item from JSON name <name> at offset <offset>. |
256 | JSON PARSE on line <line-num>, truncation during assignment from JSON name <name> at offset <offset>. |