Skip to content

det/CICS: named-counter operand types recorded from IBM, pinned both ways (Part of #8058) - #8194

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8058-20261109T2245Z
Nov 9, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8058-20261109T2245Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Checklist: partial [c:da63f199] -- the named-counter family is recorded; remaining families listed below.

Part of #8058. Different family from #8193 (SEND TEXT); that PR's file cics_operand_types.md is untouched.

What this does

Records IBM's declared type for every named-counter option (CICS TS 6.x, per-command syntax pages) in docs/language_status/cics_operand_types_counters.md, and pins det's behaviour both ways in tests/cobol_mainframe/test_det_cics_counter_operands_8058.py: senders take a constant or a data name, receivers refuse a constant by name. No engine change: no data-value option in det/cics_counters.py is read through the strict data-area path, so no port can move. Burned programs that need it: CBSA (named counters) and zECS ZECS001 (GET DCOUNTER).

Class / Sibling gaps

Class: an EXEC CICS option IBM declares a data-value read by det through the strict data-area path (ref / field / read_field), refused as not a data area ... source defect, #7959. This slice's members are the named-counter commands, COUNTER and DCOUNTER forms (GET, UPDATE, DEFINE, QUERY, REWIND, DELETE).

Command Option IBM type det Status
GET VALUE data-area ref correct
GET INCREMENT, COMPAREMIN, COMPAREMAX data-value (COUNTER) / data-area diagram, data-value heading (DCOUNTER) long_ handled
UPDATE VALUE data-value / data-area diagram, data-value heading long_ handled
UPDATE COMPAREMIN, COMPAREMAX same refused, not modelled modelling gap, not a type one
DEFINE VALUE, MINIMUM data-value int_ / long_ handled
DEFINE MAXIMUM data-value / data-area diagram int_ / long_ handled
QUERY VALUE, MINIMUM, MAXIMUM data-area ref correct
REWIND INCREMENT data-value / data-area diagram long_ handled

Sibling gaps:

  • DCOUNTER options whose diagram says data-area but heading says data-value: det accepts a constant (looser reading). Tightening could change a burned port; needs an owner ruling. No burned program passes a constant there.
  • UPDATE COMPAREMIN / COMPAREMAX: not modelled (IBM leaves the tested value open). Burned need: none.
  • Plain SEND (terminal) FROM type is unverified; belongs to det/CICS: SEND TEXT operand types recorded from IBM (Part of #8058) #8193's page.

Remaining slices

  • After det/CICS: SEND TEXT operand types recorded from IBM (Part of #8058) #8193 merges: point the counters row of cics_operand_types.md at the new page (1 file).
  • Narrow the source defect owner row in tests/tools/gap_prevalence.py (its text already says "where IBM declares the option a data-area"; the refusal text in cics.py could name the type): needs the full audit table first.
  • Per-command IBM type rows for the families the main page groups loosely (ASSIGN/INQUIRE receivers, FORMATTIME, BIF DEEDIT, START/RETRIEVE/FETCH): not checked here.

Gates

audit_check.py all clear (ruff, mypy, dead-key, doc-refs, ast-accuracy); ruff format --check clean (pinned 0.17.3); new test + test_det_cics_operand_forms_8058.py + test_dcounter_zecs_4770.py + test_source_reads.py + test_generated_branch.py + test_cics_spec.py pass. --ratchets and the det port check not run: no file under gitgalaxy/ changed.

Lessons for agents

  • IBM syntax topics for the counter commands are summary-<verb>-counter-<verb>-dcounter; summary-get-counter alone returns the docs index page.
  • The _ChanCics / _TermCics test stubs override Cics.ref with a lax version that accepts a literal: to test a data-area refusal subclass _LenCics with ref = C.Cics.ref.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 9, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 9, 2026 23:00
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 9, 2026 23:05
@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 Nov 9, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit f927b0f into main Nov 9, 2026
35 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8058-20261109T2245Z branch November 9, 2026 23:47
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