Skip to content

CICS: SET TDQUEUE TRIGGERLEVEL on both runtimes, with cases (Part of #5168) - #5727

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5168-20261020T1038Z
Oct 20, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5168-20261020T1038Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5168 (round 7: SET TDQUEUE TRIGGERLEVEL).

What changed

SET TDQUEUE(q) TRIGGERLEVEL(n) now translates and runs on both runtimes. The level replaces the CSD's, is read back by INQUIRE TDQUEUE TRIGGERLEVEL, and drives the WRITEQ TD automatic-task-initiation refusal (0 disables it). It is not a unit-of-work resource, so a rollback keeps it. QIDERR RESP2 1 for an undefined queue.

Refused by name on both runtimes: a queue that is not intrapartition, a negative level, and TRIGGERLEVEL together with OPENSTATUS or ENABLESTATUS. ATIFACILITY and ATITERMID stay refused.

Class Siblings Status
SET TDQUEUE options OPENSTATUS (X61), ENABLESTATUS (X66 r5), TRIGGERLEVEL (this PR) modelled
SET TDQUEUE options ATIFACILITY, ATITERMID refused by name

Files

Nine files touched: spec, det translator, forge CicsTask, C stub, equivalence driver, the crucible test, two translate tests and the X66 register. This is over the 5-file guideline because both runtimes and both translators must move together to stay semantically identical; the split fallback (spec, det and CicsTask first; stub second) would have left one runtime accepting a form the other refuses.

Evidence levels

No burned estate issues SET TDQUEUE, so proof is synthetic only: hand-traced operation lists on the C stub and on Java CicsTask (test_td_queue_5168.py, 8 new scenarios), translator shapes and refusals on both translators, and GnuCOBOL end to end with EQUIVALENCE_E2E=1 (5 passed). Oracle is GnuCOBOL plus our stub, not z/OS. No port moved. No golden re-bless is needed (no language rule changed).

Gates

audit_check.py all clear; pr_gates --fast 6/6; pr_gates --ratchets 8/8; tree-wide guards and equivalence/det-translate tests 873 passed, 3 skipped; touched crucible and translate tests 162 passed.

Cross-repo

None.

Sibling gaps

Remote SYSID/REMOTE queues; QBUSY (needs concurrent tasks); IOERR; the HANDLE ABEND exit's later backout of a LOGICAL queue (IBM is silent); INQUIRE TDQUEUE browse and ATIFACILITY/ATITERMID SET/INQUIRE; the messaging forge's RECOVSTATUS rollback, seeds, SET/INQUIRE and READQ SET; ATI itself (starting a task).

🤖 Generated with Claude Code

…5168)

Round 7. SET TDQUEUE(q) TRIGGERLEVEL(n) sets an intrapartition queue's ATI
trigger level; INQUIRE TRIGGERLEVEL and the WRITEQ TD automatic-task-initiation
refusal read it. QIDERR for an undefined queue; refused by name for a queue
that is not intrapartition, a negative level, and TRIGGERLEVEL combined with
OPENSTATUS or ENABLESTATUS. Spec, det translator, CicsTask, C stub and
equivalence driver move together; X66 gains a Round 7 section.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 20, 2026 10:59
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 11:02
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 1646aab into main Oct 20, 2026
103 checks passed
@squid-protocol
squid-protocol deleted the churn/5168-20261020T1038Z branch October 20, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant