Repository navigation
VSAM AIX level fixture: AIXLVL.cbl and IBM-written expected_aix.txt before any runtime (Part of #4894) - #8849
Merged
Conversation
…efore any runtime (Part of #4894) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
2 of 4 tasks
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 #4894, #7065.
Checklist: partial [c:79f93699] -- ESDS level fixture, det runtime model of a duplicate-key path (needs a burned program using WITH DUPLICATES), AIX over an ESDS; RRDS/RBA slices already merged (#7539, #7680)
What
Level fixture for the alternate index and its path, written before any runtime support (policy 5), mirroring the RRDS fixture (#7539):
tests/equivalence/vsam/fixture/AIXLVL.cbl: indexed file withALTERNATE RECORD KEY ... WITH DUPLICATES, one without, one missing file; READ by path, READ NEXT along a path, START, WRITE, REWRITE, DELETE (40 steps).tests/equivalence/vsam/fixture/expected_aix.txt: IBM-written expected output (statuses 00, 02, 10, 22, 23, 35, 48).tests/cobol_mainframe/test_vsam_aix_level_fixture.py: structure tests (always run) and the oracle half (EQUIVALENCE_E2E=1).docs/language_status/register/F1.md: first-run record.First run (2026-11-21, oracle only): 36 of 40 steps match. GnuCOBOL 3.1.2 answers 00 where IBM's file-status 02 text gives 02 for a READ by path or READ NEXT followed by a duplicate (steps 10, 11, 18, 21). Pinned as known deviations;
expected_aix.txtis not loosened. WRITE / REWRITE 02, 22 on prime and on a non-DUPLICATES alternate key, 23 on an empty path match.Facts checked: grep of burned estates found no RELATIVE/ESDS-by-RBA batch use (see handoffs); the only burned alternate key is CardDemo CBACT04C, which has no DUPLICATES clause, so no det model is built here.
Class / Sibling gaps
Class: VSAM access beyond a plain KSDS (alternate index/path with duplicate keys, ESDS, RRDS, RBA/RRN) and the file statuses each raises. Members: RRDS statements and statuses: handled (#7539 fixture); CICS RBA/RRN ridfld estate-crucible scoring: handled (#7680); AIX/path with duplicates, 02/22/23/10/48/35: handled by this fixture (oracle only); ESDS fixture: missing; det runtime for a duplicate path: missing.
Sibling gaps
WITH DUPLICATESpaths: no burned program needs it (CardDemo CBACT04C has no DUPLICATES).Remaining slices: ESDS fixture (
ESDLVL.cbl, expected, test: 3 files); det duplicate-path model only if a burned program gains the clause.Gates
pytestof the new and RRDS fixture tests: 8 passed, 2 skipped (E2E); E2E run of the new test passes with Docker.pr_gates --fast: 8 of 9 pass;affectedfails on 3 corpus-census tests (test_runtime_option_table, test_bms_occurs_grpname_census_5116, test_container_datatype_change_reach_5005) that read burned corpora (example-health-apis comes back empty here) and touch nothing this PR changes.Lessons for agents
mv expected.txtinsidetests/equivalence/vsam/fixture/: RRDLVL's file lives there; name a new fixture's output distinctly.🤖 Generated with Claude Code