Skip to content

VSAM AIX level fixture: AIXLVL.cbl and IBM-written expected_aix.txt before any runtime (Part of #4894) - #8849

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7065-20261121T0712Z
Nov 21, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7065-20261121T0712Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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 with ALTERNATE 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.txt is 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

  • ESDS level fixture (batch ESDS sequential READ/WRITE/REWRITE, statuses): different mechanism (entry-sequenced, no key); no burned batch program reads an ESDS (DBB EPSMLIST reads one under CICS by RBA, case mortgage-mlist already models it).
  • Det runtime model for WITH DUPLICATES paths: no burned program needs it (CardDemo CBACT04C has no DUPLICATES).
  • A path over an ESDS (AIX on an entry-sequenced base): no burned program.
  • Duplicate order after an out-of-primary-order insert: not exercised.

Remaining slices: ESDS fixture (ESDLVL.cbl, expected, test: 3 files); det duplicate-path model only if a burned program gains the clause.

Gates

pytest of 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; affected fails 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

  • Never mv expected.txt inside tests/equivalence/vsam/fixture/: RRDLVL's file lives there; name a new fixture's output distinctly.

🤖 Generated with Claude Code

…efore any runtime (Part of #4894)

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 21, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 21, 2026 07:45
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 21, 2026 07:46
@squid-shepherd
squid-shepherd Bot merged commit d00f301 into main Nov 21, 2026
69 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7065-20261121T0712Z branch November 21, 2026 08:36
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