Repository navigation
VSAM RRDS level fixture: IBM-written expected output before any runtime (Part of #4894) - #7539
Merged
Merged
Conversation
…re any runtime (Part of #4894) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
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
What
First slice of the VSAM-beyond-KSDS epic: the level fixture for RRDS (
ORGANIZATION IS RELATIVE), written before any runtime models it (policy 5, level estates first). Mirrors the IMS precedent attests/equivalence/ims/fixture.tests/equivalence/vsam/fixture/RRDLVL.cbl: 66 steps over a relative file, sequential and dynamic access, every READ / WRITE / REWRITE / DELETE / START outcome and each status IBM tabulates (00 10 22 23 35 41 42 43 46 47 48 49). Each step's comment cites its rule.tests/equivalence/vsam/fixture/expected.txt: written from IBM's rules (register F1 table) before either runtime ran it.tests/cobol_mainframe/test_vsam_rrds_level_fixture.py: structure tests, a det test pinning that the translator refusesORGANIZATION RELATIVEby name, and an E2E oracle test (Docker,EQUIVALENCE_E2E=1).docs/language_status/register/F1.md: "Relative files (RRDS, Epic: VSAM beyond KSDS — alternate indexes, ESDS, RRDS (RBA/RRN) #4894)" bullet.First-run number (measured once, 2026-11-02)
Oracle (GnuCOBOL 3.1.2,
-std=ibm -fsign=EBCDIC): 64 of 66 steps match IBM's text. Steps 49 (REWRITE) and 51 (second DELETE) of an empty slot inside the extent: GnuCOBOL answers 00, IBM says 23 (GnuCOBOL gives 23 only past the extent). Pinned in the oracle test, not loosened;expected.txtstays IBM's text. Det side not run: the translator refuses RELATIVE, so there is no Java number yet.Facts checked
gitgalaxy-gnucobol:3(5 pass with E2E=1; 4 pass, 1 skipped without).pr_gates.py --fast9/9;ruff format --checkclean;test_source_reads,test_generated_branch,test_change_classifierpass.Class / Sibling gaps
Class: VSAM organizations beyond KSDS that the batch det runtime does not model: relative files (RRDS), ESDS by RBA in batch, and AIX with duplicate alternate keys. Members: RRDS level fixture done here; RRDS det runtime (
DetFiles.Relative, refusal indet/program.py"ORGANIZATION RELATIVE") not done; ESDS-by-RBA batch fixture not done (the CICS side has RBA browse, register X13); AIX duplicate-key fixture not done. No burned program is known to need RRDS, ESDS-batch or AIX yet; the burned-estate grep belongs to the next slice.Remaining slices
DetFiles.Relative,det/program.pybranch, CobolFiles statuses); flip the det pin to run the Java side and printexpected.txt, 23s included.Lessons for agents
tdp._batch_package(...)first, otherwise holes read "no batch package" instead of naming the real refusal.equivalence_env.py --shell.🤖 Generated with Claude Code