Repository navigation
det/CICS: record READ events for GTEQ / GENERIC (Part of #7487) - #7980
Merged
Merged
Conversation
…7487) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… RESP 12 name, gate (Part of #7487) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…art of #7487) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
This was referenced Nov 7, 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 #7487 (slice 2: READ GTEQ / GENERIC events)
What changed
CicsTask.readSearchEvent(new, public in the cobolrt API manifest):readSearchplus the SPEC 6.2 READ event (resp,resp2,length,data), LENGERR 22/11 for a record longer than INTO's LENGTH, asreadInto.det/cics_filecontrol.py:_searchemits it for the SET form, and for the INTO / INTO-LENGTH forms when the program records file events._records_file_eventsis also true for a tokenless READ GTEQ / GENERIC, unless the program has a REWRITE (see Sibling gaps). A TOKEN read keeps the event-free call.file_key_methoddocstring: the register X22 note (a name outside the region answers FILENOTFOUND, det/CICS: a file name the region did not define answers FILENOTFOUND (Part of #7487) #7960).RESP_NAMESkept the later alias DSIDERR, so a FILENOTFOUND on a file event could never match CicsTask's name).genapp-lgipvs01andgenapp-lgipvs01-linkeddrop the firstksdspoly.txtrow (key9000000000..., a counter row no scenario reads). With it,GTEQ M0000000011found that row in the port (EBCDIC order, IBM's) and NOTFND in the oracle (ASCII order): the new event exposed register D1's "keys mixing letters and digits" gap. The program output matched either way, which is why it was never seen.Facts checked
det_port.py runPROVED: genapp-lgicvs01, genapp-lgicvs01-linked, genapp-lgipvs01, genapp-lgipvs01-linked, zecs-zecs000, zecs-zecs003.det_port.py check: services that moved are those five (zecs000's is unchanged from main); the other ports change only through the sharedCicsTask.java.proof_sweep.py --det-onlyon the two lgipvs01 cases: 2/2 proven (7 and 5 scenarios, 6/6 branches).pr_gates --fast: 9/9 pass;audit_check.pyall clear;cobolrt_rules.py --checkconsistent; newtest_search_read_events_7487.py13 passed (one javac test,slow).crucible_check.py(no parser path moved).Cross-repo
None.
Sibling gaps
'') and an ABEND-planned READ UPDATE (the stub logs the stalelen=70, the port none). That is why the extension skips a program with a REWRITE.readInvalid(KEYLENGTH 25/26/42) and READ TOKEN record no event; a plain keyed READ INTO without LENGTH records none in a program that records events. No burned program found that needs them.ksdspoly.txt/case.jsonpairs were needed to keep the two cases PROVED once the event existed.Remaining slices
readInvalid/ READ TOKEN events.Lessons for agents
ec.RESP_NAMESis built fromDFHRESPwhere DSIDERR follows FILENOTFOUND: any stub RESP 12 is named DSIDERR unless a caller maps it.cobolrt_api.py generatelists a new public method asinternal: setvisibilityto public by hand when emitter code calls it, and fix the summary counts (test_no_committed_port_or_generator_string_uses_an_internal_member).🤖 Generated with Claude Code