Repository navigation
CICS macro tables: DFHSRT rows are the effective table, repeats dedupe and RECOVER=NO removes (Part of #5154) - #7211
Merged
Conversation
…de is one row and RECOVER=NO removes (Part of #5154) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
This was referenced Oct 31, 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.
Checklist: done [c:a5f55512]
DFHSRT rows are now the effective recovery table: a code repeated in one table is one row, and a later
RECOVER=NOremoves a code an earlierRECOVER=YESdefined in the same table (IBM: NO "removes" the code from the SRT, CICS TS macros/srt/system.html). Before,ABCODE=(0C1,0C1)gave twoS0C1rows and a later NO left the YES row._srt_rowsbecame_srt_codes(parse and dedupe only); the add/remove runs incics_macro_table_resources, so a removal keeps the defining line of the survivors.Class / Sibling gaps
Class: CICS macro-table rows whose operands add and remove (DFHSRT
RECOVER=YES|NO, repeatedABCODE): the rows must equal the effective table, not one row per mention. Only DFHSRT has this shape; DFHJCT/TCT/MCT/SIT define rows and never remove. No burned estate (CardDemo, CBSA, GenApp, zECS, DBB, cicsdev async) contains a DFHSRT, DFHSIT or DFHJCT (grepped), so nothing is proven against a real program.Sibling gaps:
suffix.setdefault(op, ...)): twoDFHSRT TYPE=INITIAL,SUFFIX=tables in one stream are both named by the first suffix, so a NO in the second table can remove a row of the first. Pre-existing, affects every macro table; no burned program has two assemblies of one table in one stream. Needs a positional suffix pass.Evidence
test_cics_macro_tables.py: 131 pass (plainpytestfrom /tmp). New cases: label/lowercase/quoted codes, duplicates in one and two statements, NO after YES, YES after NO, SYSTEM vs USER names, missing TYPE, comment line, continuation,U0012, defining line kept.audit_check.pyclear;crucible_check.pyboth legs PASS (no diff);pr_gates --fast --ratchets9 pass / 0 fail / 0 skipped; tree-wide guards pass (104).Cross-repo: none.
🤖 Generated with Claude Code