Repository navigation
ASSIGN FACILITY/TERMCHK: unstated terminal refused on stub and port (Part of #5126) - #5346
Merged
Merged
Conversation
…as on the stub (Part of #5126) CicsTask answered INVREQ RESP2 5 for a task nobody stated a terminal for, while the stub refuses ("not stated"). The port now tracks whether withTermid was called: unstated refuses, stated none is INVREQ 16/5 on both. The equivalence harness states a terminal only for a non-empty "termid". Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 17, 2026 14:44
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 17, 2026 14:52
Contributor
This was referenced Oct 20, 2026
Merged
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.
Part of #5126 (checklist item "ASSIGN FACILITY with no terminal: stub and port agree").
Change. The stub refuses TERMCHK/FACILITY when
$GGCICS_FACILITYis unset;CicsTaskanswered INVREQ RESP2 5 for any null termid.CicsTasknow records whetherwithTermidwas called: unstated refuses (IllegalStateException), stated none (withTermid(null)/ empty env) is INVREQ 16 / RESP2 5 on both, as IBM documents.assignFacilitycan no longer print "null". The equivalence harness calls the newwithTermidIfStated, so an absent or empty"termid"stays unstated, like the stub.Class. A port and stub disagree on what an unstated task fact does. Members: FACILITY/TERMCHK (fixed), SCRNHT/SCRNWD and USERID (already refuse when unstated on both sides).
Sibling gaps. EIBFN/EIBRCODE (no verbatim IBM tables); EIBCPOSN, EIBREQID, EIBRSRCE, EIBERR (refused by name in X64, no burned program reads them). No burned program is affected by this change.
Evidence. 912 tests passed, 4 skipped (Docker/NIST corpora absent):
test_cics_runtimes,test_det_translate,test_proof_blockers,test_equivalence_cics.pr_gates --fast6/6;--ratchets8/8 (ports, port-surface, estate, fact-crosscheck, completeness, ground-truth). No golden impact. Register X19 updated.Cross-repo. None.
🤖 Generated with Claude Code