Repository navigation
CICS: INQUIRE ASSOCIATION origin data, DELETEQ TS, QUERY COUNTER, RECEIVE MAP TERMINAL (Part of #4270, Part of #4415) - #4760
Merged
Conversation
…#4735 follow-up) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MQNoe4wPJgr7dbUvs3DG6D
…R, RECEIVE MAP TERMINAL (Part of #4270, Part of #4415) INQUIRE ASSOCIATION(EIBTASKN) answers the five origin values the run states (CicsTask.withOrigin, $GGCICS_ORIGIN, the crucible case's origin), the facility type as IBM's CVDA; DELETEQ TS removes the whole queue and its NEXT position (QIDERR, INVREQ for a name of binary zeros); QUERY COUNTER reads a named counter unchanged (INVREQ RESP2 201); RECEIVE MAP's TERMINAL is the task's terminal. What IBM leaves open is refused by name (register X29). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MQNoe4wPJgr7dbUvs3DG6D
| def test_a_cases_stated_origin_is_the_stubs_origin_env(): | ||
| """#4415 slice 2 (register X29): the case's `origin` -- applid, userid, facilname, networkid, faciltype, as the case | ||
| states them -- is $GGCICS_ORIGIN in that order; a case that states none gives none (INQUIRE ASSOCIATION is refused).""" | ||
| import cics_crucible as runner |
Contributor
squid-protocol
marked this pull request as ready for review
October 9, 2026 06:53
This was referenced Oct 9, 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.
Part of #4270. Part of #4415 (slice 2).
What
Chosen by programs made whole (
cics_census.py blockers, baseline origin/main f6cda2c, 108/179 whole). Register X29 inoracle_assumptions.md, IBM's pages cited there.INQUIRE ASSOCIATION(EIBTASKN) ODAPPLID / ODUSERID / ODFACILNAME / ODNETWORKID / ODFACILTYPE(CBSA BNK1CRA, its last gap). The task's own origin data: eight-character values and the facility type as IBM's CVDA (TERMINAL213). IBM's pages do not say what a terminal-started task's origin holds, so the five values are a fact the run states (CicsTask.withOrigin, the stub's$GGCICS_ORIGIN, the crucible case's new optionalorigin), never guessed; unstated, refused on both runtimes. Refused by name: an ASSOCIATION operand other thanEIBTASKN(IBM gives no representation for the 4 bytes), a command with no origin option (INVREQ RESP2 2 "specified with no arguments" is ambiguous about ASSOCIATION alone), every other option. TASKIDERR / NOTAUTH do not arise (the task exists; no security).RECEIVE MAP ... TERMINAL: IBM "specifies that input data is to be read from the terminal that originated the transaction", the one terminal the region has and every RECEIVE MAP already reads.DELETEQ TS(slice 2 of det translator: smaller CICS gaps: DFHVALUE, BIF DEEDIT, FORMATTIME variants, DELETEQ TS, DUMP, QUERY #4415): the whole queue and its READQ NEXT position (CicsTask.deleteqTs,GGCDELQ); QIDERR (44); INVREQ (16) for a name of binary zeros; IBM lists no RESP2 (0). SYSID refused.QUERY COUNTER(COUNTER / POOL / VALUE): the value left unchanged, INVREQ RESP2 201 "Named counter not found" (CicsTask.queryCounter,GGCQCNT); a value beyond a fullword, MINIMUM / MAXIMUM / NOSUSPEND refused. Unit-proven on both runtimes only (the crucible region has no named counters). Note: the existingGET COUNTERanswers NOTFND for a missing counter where IBM's page lists INVREQ RESP2 201; not changed here.det_survey.pycalledispf_screenswhere it was not imported, so a non-burned estate that failed to generate ended the whole survey (cics_census survey --baselineon f6cda2c exited 1); imported at its use.Proof
New cics-crucible case
condition-handling/hc-inquire-deleteq(companion below; 3 scenarios traced by hand from IBM's pages,check-hand-derivedOK,validate.py23/23): cobol-stub 3/3, java-ported (det port HCINQD 55/55 statements, 0 holes) 3/3, run with--unpinned; a mutated log fails both sides.det_port.py checkvs origin/main: 79/79 ports unchanged (no translation moved).proof_sweep.py --det-only --skip-db2: "sweep: as expected" (mortgage-mpmt NOT PROVEN, a baseline entry).pr_gates --ratchets7/7,--fast5/5. Unit tests: translator,CicsTaskand the stub C (compiled), the harness, the spec entries, the runner'sorigin_env.Census (before -> after, translation only, burned + census corpora, base f6cda2c + the survey fix)
no generated screen for map BNKNCCM), lgsetup 13/91 -> 17/91 (left:DEFINE COUNTER,DELETE COUNTER, named counters not modelled).DEFINE/DELETE COUNTER, lgsetup);CALL DSNTIAC;InqacccuDfhcommarea: data after a POINTER;CBLTDLI/ENTRY DLITCBL.Cross-repo
Companion: squid-protocol/cics-crucible#15 (the case, with a SPEC section 2 addition: optional
origin; additive). Merge it first; this PR's CI cics-crucible job does not see the case until a release + pin bump (not done here: no tag, the pin untouched).🤖 Generated with Claude Code
https://claude.ai/code/session_01MQNoe4wPJgr7dbUvs3DG6D