Repository navigation
JCL resolved DSNs and DB2 columns censused (#3575 part 4) - #3601
Merged
Merged
Conversation
…utput (#3575, part 3) Symbolic maps: the key computes each generated COBOL symbolic map by layout arithmetic from the BMS source. CardDemo checks IBM's DFHMAPS output into the repo (`cpy-bms`), so those are the oracle: `cobol_answer_key.py verify-symbolic` reads them with the key's COBOL item reader, lays them out by plain storage arithmetic (copybook_layout_units) and signs each mapset whose layout matches exactly. All 21 CardDemo mapsets, 5,307 units, match -> cross_verified. CBSA / GENAPP ship no generated copybooks: they stay draft. Screen fields: new `bms` census suite -- a seeded sample of BMS sources (up to ~300 facts per corpus; a full census when the plan covers every source), compared through the key's own bms_layout_units (owner, POS, LENGTH, ATTRB, PICIN / PICOUT, OCCURS, INITIAL). Round-trip clean first. CardDemo 313/313 (4 of 21 sources), CBSA 333/333 (8 of 10), GENAPP 286/286 (its one source: full census). GENAPP's first reviewer was discarded, not ruled: its parser dropped operands on continuation lines (where every GENAPP INITIAL sits); a fresh reviewer on the same brief agreed 286/286 (noted in the key). 0 key errors. Ledger: BMS screen fields -> sample_verified (CardDemo, CBSA), cross_verified (GENAPP); symbolic maps -> cross_verified (CardDemo). Part of #3575. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g
Two census suites (cross_verify_sections.py): `dsns` -- a seeded sample of JCL members, symbolic-DSN members first, read in full against the key's resolution contract, now spelled out in the brief: literal / resolved from earlier SETs / in-stream PROC defaults when nothing calls the PROC / per-call overrides (all equal -> resolved, differing -> ambiguous) / unresolved; `&NAME.` syntax, nested values, `&&` temporaries. Compared through the key's jcl_dsn_values. 363/365 agree: the two are override DDs (`//PRC001.FILEIN DD`), which key and engine scope out by contract but the brief never said so -- key_correct; the brief now states it. That exclusion is a real limit worth knowing: an override DD carries a PROC step's effective dataset and neither side records it. CardDemo 125, CBSA 98, GENAPP 30, zECS 7 (all-literal JCL; the 95% bound says how thin), zopeneditor 105 (every member: a full census). `db2cols` -- every DECLARE TABLE source in full: CardDemo 31/31, CBSA 24/24. 0 key errors. Ledger: JCL resolved DSNs -> cross_verified (zopeneditor), sample_verified (CardDemo, CBSA, GENAPP, zECS); DB2 table columns -> cross_verified (CardDemo, CBSA). Completes #3575's census of the draft fields (with #3584, #3586, #3599). Closes #3575 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g
Contributor
…cols re-applied, sign-offs grafted) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g
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.
Stacked on #3599 (branched from census/bms-3575 so the two census suites do not conflict): merge #3599 first; this PR then retargets to main.
Two census suites (cross_verify_sections.py):
dsns-- a seeded sample of JCL members, symbolic-DSN members first, read infull against the key's resolution contract, now spelled out in the brief:
literal / resolved from earlier SETs / in-stream PROC defaults when nothing
calls the PROC / per-call overrides (all equal -> resolved, differing ->
ambiguous) / unresolved;
&NAME.syntax, nested values,&&temporaries.Compared through the key's jcl_dsn_values. 363/365 agree: the two are
override DDs (
//PRC001.FILEIN DD), which key and engine scope out bycontract but the brief never said so -- key_correct; the brief now states it.
That exclusion is a real limit worth knowing: an override DD carries a PROC
step's effective dataset and neither side records it.
CardDemo 125, CBSA 98, GENAPP 30, zECS 7 (all-literal JCL; the 95% bound
says how thin), zopeneditor 105 (every member: a full census).
db2cols-- every DECLARE TABLE source in full: CardDemo 31/31, CBSA 24/24.0 key errors. Ledger: JCL resolved DSNs -> cross_verified (zopeneditor),
sample_verified (CardDemo, CBSA, GENAPP, zECS); DB2 table columns ->
cross_verified (CardDemo, CBSA).
Completes #3575's census of the draft fields (with #3584, #3586, #3599).
Closes #3575
Verification
🤖 Generated with Claude Code
https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g