Skip to content

ZECS003: a case states the run-time-named ZC##FILE/KEY for the COBOL leg (Part of #4771) - #5763

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4771-20261020T1043Z
Oct 20, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4771-20261020T1043Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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_files binds it for the COBOL leg (runtime: true), and the Java loader skips it. Missing why, a non-int field, an extra key or a bad file name is refused by name. Unit test in tests/cobol_mainframe/test_equivalence_cics.py.

Design decision

State the template-named file in the case as a deployment fact with a why (as csd / vsam are) rather than guessing it from the program; COBOL leg only, because the Java project has no store for it.

Not done (why partial)

case.json for 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

  1. forge/fact lineage: resolve the ZC## template to a Java store (cics_file_lineage, forge, det/cics.py::_map_files), then
  2. tests/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 --fast 6/6, --ratchets 8/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

…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]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 20, 2026 18:04
@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 18:14
@squid-protocol
squid-protocol merged commit 67e9329 into main Oct 20, 2026
66 of 68 checks passed
@squid-protocol
squid-protocol deleted the churn/4771-20261020T1043Z branch October 20, 2026 18:32
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