Repository navigation
IDCAMS alternate index: path order cross-checked on GnuCOBOL BDB alternate keys (Part of #8881) - #8952
Merged
Conversation
…rnate keys (Part of #8881) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This was referenced Nov 22, 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 #8881 (Graveyard Shift 2, #8878).
Checklist: partial [c:7865474a] -- Java runtime for the IDCAMS step (#8880's Java item comes first: no Idcams Java exists) and alt-index commands in it; job harness wiring
What
The oracle half of the item: the step model's path order (alternate key, then the base's primary-key order for equal keys) is now run against GnuCOBOL's Berkeley DB alternate keys.
tests/cobol_mainframe/test_idcams_aix_oracle_8881.pygenerates a COBOL reader (ALTERNATE RECORD KEY ... WITH DUPLICATES, load in primary-key order, START + READ NEXT) and requires the same records in the same order asidcams_model.path_recordsafter the nightly-shaped DEFINE AIX / DEFINE PATH / BLDINDEX decks.6 inputs (distinct, interleaved duplicates, one record, all equal, descending, digits and blanks) x 4 key layouts = 24 GnuCOBOL runs, 0 differences. The model half (24 cases, plus an order definition stated independently of the model's sort) runs always; the GnuCOBOL half runs under
EQUIVALENCE_E2E=1.docs/language_status/register/F6.mdrecords the evidence level and what is not covered.Facts checked
EQUIVALENCE_E2E=1againstgitgalaxy-gnucobol:3: 49 passed. Without it: 25 pass, 24 skipped.python tests/tools/audit_check.py: all clear.Not covered (stated in F6)
ESDS base (GnuCOBOL has no ESDS alternate keys: arrival-order rule stays an assumption), UNIQUEKEY over duplicates (refused, not executed), BLDINDEX condition code and alternate record layout (model only). Oracle is GnuCOBOL, not z/OS.
Class sweep
Class: a modelled IDCAMS behaviour with no independent executor.
Sibling gaps (each needed by burned CardDemo TRANIDX / TRANBKP jobs, so core): Java runtime for an IDCAMS step (#8880); alt-index commands in it; harness step in
equivalence_job.py; ESDS alternate-key order has no oracle.Remaining slices
cobolrt/batch/Idcams.java+ differential test vs the model (REPRO / DELETE / DEFINE CLUSTER).equivalence_job.py) and the TRANIDX job case.Cross-repo
None.
🤖 Generated with Claude Code