Repository navigation
ZECS003: a case states the run-time-named ZC##FILE/KEY for the COBOL leg (Part of #4771) - #5763
Merged
Merged
Conversation
…time (runtime_file); COBOL leg only (Part of #4771) ZECS003 reads/deletes ZC##FILE / ZC##KEY, built from EIBTRNID(3:2), so no CSD DEFINE FILE of the facts names them. A case's dataset of the file name may now state runtime_file {key_offset, key_length, reclen, why}; stub_files binds it for the COBOL leg and the Java loader skips it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 20, 2026 18:04
squid-protocol
enabled auto-merge (squash)
October 20, 2026 18:14
3 tasks done
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 #4771.
What
Checklist item: ZECS000/ZECS003 equivalence cases on the run-time file-name template (READ GTEQ / DELETE GENERIC). This is the first self-contained slice: the harness can now bind a file the program names at run time.
tests/tools/equivalence_cics.py: a case dataset named for the CICS file (e.g.ZC01FILE) may carry"runtime_file": {key_offset, key_length, reclen, why};stub_filesbinds it for the COBOL leg (runtime: true), and the Java loader skips it. Missingwhy, a non-int field, an extra key or a bad file name is refused by name. Unit test intests/cobol_mainframe/test_equivalence_cics.py.Design decision
State the template-named file in the case as a deployment fact with a
why(ascsd/vsamare) rather than guessing it from the program; COBOL leg only, because the Java project has no store for it.Not done (why partial)
case.jsonfor zecs-zecs003 is unchanged: the Java side still holes (det_port.py run zecs-zecs003 --faults none: "Hole CICS file ZC01FILE: the program names no file the generated project stores"). No equivalence evidence is gained yet; no proof level moves. Converting the Hole to FILENOTFOUND was rejected as a misleading proof.Class and members
Class: CICS file named by a data item whose value is built at run time. Members: ZECS003 (ZC##FILE, ZC##KEY; burned estate zECS). Sibling gaps: ZECS000 (same instantiation; its browse path is also gated by DOCUMENT/WEB), the forge/lineage store for a
ZC##template name (needed by ZECS003 first). ZECS001 is not affected.Remaining slices
ZC##template to a Java store (cics_file_lineage, forge,det/cics.py::_map_files), thentests/equivalence/zecs-zecs003/case.json: datasets ZC01FILE (key 16, reclen 32700) and ZC01KEY (key 255, reclen 512) + scenarios READ GTEQ hit and DELETE GENERIC, evidence record, then ZECS000.Evidence
pr_gates --fast6/6,--ratchets8/8,test_equivalence_cics.py+ install-symbols tests 201 passed. No golden/engine change.Checklist: partial [c:83fc2472] -- the Java side still holes on ZC01FILE/ZC01KEY (no forge/lineage store for a template-named file); no case or evidence record yet; ZECS000 not re-proven here
🤖 Generated with Claude Code