Repository navigation
det/CICS: async child scheduler -- FETCH waits / TIMEOUT, FREE CHILD, START CHANNEL, RUN CHANNEL names per IBM (Part of #4950) - #5013
Merged
Conversation
…CHILD, START/RUN CHANNEL names) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…MEOUT / FREE CHILD / START CHANNEL) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…nes as CRECUST needs; CEEIGZCT stand-in and LE models on the stub side Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
squid-protocol
marked this pull request as ready for review
October 12, 2026 23:05
This was referenced Oct 13, 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 #4950 (a sibling of #4884).
Before this PR, a RUN TRANSID child ran only after its parent ended. Every FETCH was therefore forced to count as a difference (
FETCH_DIFFERS), and the rest of the async API was refused. This PR adds a child scheduler to both runtimes: the stubggcics.cand the generatedCicsTask. The det translator and the equivalence harness are wired to it.The schedule (register X18, ASSUMED where IBM is silent)
GGREPLY…).Comparison: a dispatched child's events form one
CHILDevent, compared as a task's events. FETCH is now compared field by field.Class (async CICS API task-to-task members)
FETCH_DIFFERSremoved)Oracle fixes found on CBSA CRECUST
These are inert for every existing case (checked against all cics cases).
EXEC CICSinside a literal (DISPLAY 'EXEC CICS FETCH ANY failed...') or on aDdebugging line is no longer translated as a command. WITH DEBUGGING MODE in force is refused.Evidence
tests/cics_crucible/test_cics_runtimes.pyruns the same 12 step scripts on the C stub and on CicsTask, and both give the same answers. The scripts cover completion order, NOSUSPEND before and after a wait, TIMEOUT running out, FREE CHILD, an abended child, NOTFND, INVREQ 50 / 52, IBM's channel characters, CHANNELERR, a tie, R1, a second FETCH, DFH names, the TIMEOUT range, and a child with no program. START CHANNEL has its own test on both runtimes.'YYYYMMDD', which L1 refuses by design. No case is committed for it.pr_gates --fast5/5;pr_gates --ratchets7/7 (cics-spec, ports, port-surface, estate, fact-crosscheck, completeness, ground-truth).audit_checkclean. Evidence: no record stale on a blocking input. The CICS spec, det, equivalence, crecust-rest and runtime tests pass.Sibling gaps (not in this PR)
childprogs), and do not hand a START CHANNEL's copy to the started task. No crucible case uses either.channelNamedoes not accept; they don't use the IBM character set yet.🤖 Generated with Claude Code