Repository navigation
det: SEND CONTROL and terminal RECEIVE (INTO/SET/LENGTH/MAXLENGTH/NOTRUNCATE, LENGERR, EOC) (#4413) - #4500
Merged
Conversation
SEND CONTROL (ERASE/ERASEAUP/FREEKB/ALARM/CURSOR(n)/FRSET) records a SEND-CONTROL event; RECEIVE INTO/SET(ADDRESS OF)/LENGTH/FLENGTH/MAXLENGTH/ MAXFLENGTH/NOTRUNCATE runs on CicsTask.receive with LENGERR and EOC (an LUTYPE2 terminal), EOC ignored by default. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ble plumbing (#4413) Stub: GGCSCTL, GGCRECT with NOTRUNCATE and EOC (GGCICS_LU2), GGCRECS for RECEIVE SET(ADDRESS OF); EOC ignored by default ahead of ERROR. Runner: SEND-CONTROL events (options, cursor), the case terminal's TYPETERM DEVICE from the CSD (LUTYPE2: EOC). det: no import of packages the generated project lacks. Register X15; design-doc finding. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
…helper (lint, dead-key audit) (#4413) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ing per list element (#4413) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…audit) (#4413) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01W3KVtYHQp8KsfKcHsdiPbR
squid-protocol
marked this pull request as ready for review
October 6, 2026 02:12
This was referenced Oct 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.
Closes #4413.
What
The det translator used to refuse
EXEC CICS SEND CONTROL(16 programs) and plain terminalEXEC CICS RECEIVE(9 programs) as "not modelled". Both now translate onto the CICS runtime, and the stub runtime models them the same way.CicsTask.sendControland records aSEND-CONTROLevent with the options and the cursor offset. Everything else is refused by name: PRINT, FORMFEED, partitions, LDC, ACCUM/PAGING/SET, and a bare CURSOR.CicsTask.receive(max, notruncate):condition()now ignores EOC (DetCics.ignoredByDefault), per IBM's "Default action: ignore the condition". The design is extensible for det translator: HANDLE AID and IGNORE CONDITION are refused #4414's IGNORE CONDITION.oracle_assumptions.md, and a finding indet_port_design.md.Proof
These were run against the new cics-crucible cases in squid-protocol/cics-crucible#3 (draft). Their logs are hand-written from IBM's RECEIVE (3270 logical), RECEIVE (LUTYPE2/LUTYPE3) and SEND CONTROL pages.
No regression:
cics_crucible.py --cion the pinned v0.2.0 passes the ratchet. All 44 cobol-stub, java-ported and java-facade cells pass, so the committed ports that usereceiveTextstill prove.proof_sweep --det-only --skip-db2) matches the baseline.The det port also translates the existing crucible program CAXA with no holes now. Three of its four scenarios pass. The fourth fails on an unrelated COMP-5 bug, filed as #4501.
Not in this PR
tests/_cics_crucible_pin.pybumped together with the baseline update. Until then they are proven locally only, withCICS_CRUCIBLE_ALLOW_UNPINNED=1 --crucible <branch>.HANDLE CONDITION ERROR(label)but never takes the label.🤖 Generated with Claude Code