Repository navigation
IDCAMS DELETE ALTERNATEINDEX of an absent entry; TRANBKP deck restored to the JCL (Part of #8885) - #9080
Merged
Conversation
…RANBKP deck restored to the JCL (Part of #8885) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…every method) (Part of #8885) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
This was referenced Nov 23, 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.
Part of #8885 (Part of #8878, Graveyard Shift 2). Slice 2 after #9072.
The nightly case (
tests/equivalence/jobs/carddemo-nightly.json) landed in #9072 with the TRANBKP deck missing itsDELETE ... ALTERNATEINDEXline, because the IDCAMS model refused that parameter by name. This PR closes that deviation: the deck is now the JCL's own. The nightly is still not proven over its last step (TRANIDX is refused by name, unchanged here).What changed
gitgalaxy/tools/cobol_to_java/det/idcams_model.pyandcobolrt/job/Idcams.java(model and Java runtime, same rule):DELETE name ALTERNATEINDEX(aliasAIX) of an entry that is not in the catalog is code 8 (entry not found), as for a cluster. The same keyword over an entry that IS in the catalog is refused by name ("an entry in the catalog (only an absent one is modelled)"): its dependents (paths) are not modelled and IBM's outcome for a type mismatch is not stated.tests/cobol_mainframe/test_idcams_aix_refusals_8881.py: a refusal row for the present-entry case (model and Java, same words; the source-scan guard needs it).tests/cobol_mainframe/test_idcams_java_8881.py: the absent-entry deck (both spellings) joins the model-vs-Java agreement scenario.carddemo-tranbkp.idcrestored to the JCL (DELETE KSDS CLUSTER, DELETE AIX ALTERNATEINDEX, each followed byIF MAXCC LE 08 THEN SET MAXCC = 0); the casenotesupdated.Proof, per job and step (
equivalence.py run carddemo-nightly, local, after this change)Verdict: NOT proven over 7 of 9 steps (6 equal, 2 not reached by IBM's own stop, 1 refused). The det sweep was not run (no translator change).
What the chain claims
GnuCOBOL plus the models (IDCAMS det model, DFSORT lowering), not z/OS. Each step is proven as its own case and a step reads the COBOL side's output of the step before, the same bytes the Java side is given. The wiring (which step feeds which, the BKUP / SYSTRAN / COMBINED generations, the KSDS) is written from the case, not read from the JCL (Graveyard Shift 3).
Gates
.py: clean.audit_check.py: all clear.pr_gates --fast: 8/9 pass; the affected-tests lane failed ontest_call_compare_4778(hard-coded/home/joe/gitgalaxy/repo/.mainframe_corpora/example-health-apispath, not on this box; also failed in CardDemo nightly job case: POSTTRAN..COMBTRAN..CREASTMT proven, TRANIDX refused by name (Part of #8885) #9072) and ontest_cobolrt_rules(a new Java helper method not in the rule catalogue: fixed by inlining it, rerun green).--ratchetsnot rerun: no ratchet input changed (no engine, golden or ledger file).Class / Sibling gaps
Class: IDCAMS DELETE type keywords (
CLUSTER,ALTERNATEINDEX/AIX,PATH,GDG,NONVSAM, ...) the model refuses or models partially. Handled here: ALTERNATEINDEX/AIX over an absent entry. Siblings:DELETE ... ALTERNATEINDEXof a present entry (refused: dependents and mismatch outcome not stated);PATH,GDG,NONVSAM,PURGE-with-retention (refused by name, no CardDemo deck uses them); TRANIDX over this chain's data (BLDINDEX overflow outcome needs an IBM citation);carddemo-sort-creastmthas no L5 mutation run.Remaining slices
det_mutation.py runforcarddemo-sort-creastmt.Checklist: partial [c:69f0e953] -- steps 1-6 proven equal with per-step records and condition codes above; TRANIDX refused by the model; det sweep not run
Lessons for agents
cobolrt/**/*.javamust be listed in the rule catalogue (test_cobolrt_rules) or inlined;pr_gates --fastcatches it only in the affected-tests lane.🤖 Generated with Claude Code