Skip to content

det: IBM's default DFHCOMMAREA and DFHAID/DFHBMSCA constants leave the census 'no such item' class (Part of #7709) - #7723

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/7709-20261104T1812Z
Nov 4, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/7709-20261104T1812Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Checklist: partial [c:bced86e8] -- the 3 programs leave the no such item class, but none becomes whole: they still carry 36, 11 and 2 other holes, each in its own gap class

Part of #7709.

What changed

The census class <name>: no such item (3 programs, 9 holes, unowned) was exactly two IBM names, found by tool-only counts (no census source read):

  • DFHCOMMAREA (4 holes, all 3 programs): IBM's CICS translator inserts 01 DFHCOMMAREA PIC X(1) in LINKAGE when a program names it but declares none. det/program.py now does the same, only when the program names it (the SORT-RETURN pattern), so no other port moves. A user-declared DFHCOMMAREA is kept.
  • DFHPF3 (5 holes, 2 programs): the AID constants come from the program's own COPY DFHAID, which these programs do not have. det/gen.py:_missing_item now reads the constants of the shipped DFHAID / DFHBMSCA copybooks and names such an item undeclared item (a source defect, det translator: census 'undeclared item' (4 programs, 2 estates): source defect or missed declaration? (#5865) #7647), not no such item (a translator gap). DFHZZZ / EIBZZZ stay no such item.

The census page and census_summary.json are regenerated from the 9 provisioned census corpora: the no such item row is gone; 40 programs, 8 whole (unchanged).

Class / Sibling gaps

Class: a DFH/EIB/DIB name that the translator neither supplies nor treats as a source defect. Same-mechanism siblings fixed: every DFHAID and DFHBMSCA constant (parametrized test), and the implicit DFHCOMMAREA for any CICS program. Unchanged on purpose: an unknown DFH* / EIB* / DIB* name stays no such item (a real translator gap). Sibling gaps: the 36, 11 and 2 other holes in the 3 census programs, each owned by its own gap class on the census page; no burned-estate program needs any of this (census-only), so no port or proof changed.

Plan deviation

The plan expected a gap_prevalence.py change (keeping IBM names in the census key). Not needed: the gap key is the same <name>: undeclared item class once the translator names it, so only a regenerate was required.

Gates

pr_gates --fast pass; pr_gates --ratchets pass (ports, ground-truth, time, ...); audit_check.py all clear; det_port.py check: 269/269 ports unchanged; changed tests plus test_source_reads.py and test_gap_prevalence.py: 141 passed, slowest 4.4 s; ruff format --check clean on changed files. Golden masters not re-blessed: the det translator is not on the scan path. port_blockers.json / field_testing.json: no entry, the blocker was exposed by census repos only (burned estates only).

Lessons for agents

  • Regenerate gap_prevalence with only the provisioned census corpora; adding the two non-burned corpora in the local .mainframe_corpora gives 52 programs and a page that does not match the committed basis.

Cross-repo: none.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits November 4, 2026 13:19
… COPY are undeclared items (Part of #7709)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 4, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 4, 2026 19:06
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 4, 2026 19:12
@squid-shepherd
squid-shepherd Bot merged commit fa5b678 into main Nov 4, 2026
94 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7709-20261104T1812Z branch November 4, 2026 19:35
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