Repository navigation
det: JSON-CODE is 0 after a JSON GENERATE; the exception value stays refused (Part of #7524) - #7897
Merged
Merged
Conversation
…refused by name (Part of #7524) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
This was referenced Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
JSON-CODE for JSON GENERATE (#7524). A program that names
JSON-CODEand has a JSON statement gets a hidden S9(4) item (GG-JSON-CODE), set to 0 after a JSON GENERATE that raised no exception (IBM LR: "contains zero after execution"). Programs that do not name it are unchanged. A program's ownJSON-CODEitem is kept.The value IBM sets for an exception is in the Programming Guide's exception table, which I could not read (the page was not retrievable). So a program that names JSON-CODE and has a JSON GENERATE with ON / NOT ON EXCEPTION, or any JSON PARSE, is refused by name rather than guessed. Register X76 updated; still ASSUMED, oracle-unbacked, no L2+ claim.
Checklist: partial [c:bb8e1760] -- the JSON-CODE value after an exception, SUPPRESS WHEN / EVERY, CONVERTING, NAME OMITTED, OCCURS DEPENDING ON stay holes
Class
Class: det translator special registers a JSON statement sets. Siblings: JSON PARSE JSON-CODE / JSON-STATUS (item c:3fc8b69b), the exception code table. No burned program uses JSON.
Sibling gaps
Remaining slices
Tests / gates
test_det_json_generate.py (29 pass), det_translate/det_source tests (708 pass), audit_check ruff/mypy/dead-key/doc-refs OK.
🤖 Generated with Claude Code