Repository navigation
Db2 harness: ddl_text ends an in-stream block at any // card and filters a JCL-shaped .txt; log P124 (Part of #8121) - #8170
Conversation
…ards) (Part of #8121) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
1 similar comment
|
No description provided. |
…ers a JCL-shaped .txt (Part of #8121) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (3eafa17) is not the one a maintainer labelled |
Pull request was converted to draft
|
No description provided. |
1 similar comment
|
No description provided. |
…Y (Part of #8121) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (5a4f39a) is not the one a maintainer labelled |
Pull request was converted to draft
…Part of #8121) Record the estate in RUNTIME_USED_BY (and register C18), state the Gap-1 keys it does not record, and record its translator option and LOCALCCSID, so the two ground-truth option audits pass on the merge of main. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (ad2d9d3) is not the one a maintainer labelled |
…ckers page Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #8170 @ b02aee2: 1 failed check(s) == det (failure) -- real |
|
No description provided. |
|
No description provided. |
Part of #8073, #8121 (does not close it). This PR carries slice 1 (P124 logged in
port_blockers.json, data only), slice 2 (theddl_textharness fix) and slice 3 (EXEC SQL INCLUDEexpands like COPY in_expanded_lines).What changed
tests/tools/equivalence_db2.pyddl_text: an in-stream SQL block now ends at any//card (not only/*), and the in-stream filter also runs on a JCL-shaped member whatever its suffix (_jcl_shaped: a line starting//), soHCMobile_DB2.txtis filtered likeDB2CRE.jcl.tests/tools/test_equivalence_db2_ddl_text.py(new): block ended by//with no/*, block ended by/*, a.txtshaped like HCMobile (plain SQL prefix then the job), a pure-SQL.txtunchanged, symbols on both sources.port_blockers.json/ generated page: P124 summary updated (no new entry: the ledger allows one per issue).Slice 3,
tests/tools/equivalence_common.py_expanded_lines:EXEC SQL INCLUDE member END-EXEC(one line or several, CRLF, lowercase or other-directory member, nested, unresolved raisesLayoutErrorinside the record) is expanded exactly like COPY;INCLUDE SQLCA/SQLDAare left as written, never unresolved.tests/tools/test_equivalence_sql_include.py(new, 9 tests). Real check:layout_fieldson example-health-apis HCAVDB01DFHCOMMAREA(copy_dirs = COBOL + COPYLIB) now returns 4 fields (CA-REQUEST-ID at 0 ... CA-REQUEST-SPECIFIC at 18, 32482 bytes).Class / Sibling gaps
Slice 3 class: an embedded-SQL include of a copybook member inside a record, in every form the layout reader meets (one-line, multi-line, CRLF, lowercase or other-directory member, nested, unresolved, SQLCA/SQLDA); all handled and tested. Other EXEC SQL statements are untouched by design. Sibling gap: the Visit case data (below); proof_sweep not run here (box cics-crucible checkout is off the runner pin).
Slice 1-2 class:
Class:
ddl_textpasses JCL residue (DSN/RUNcards,//and/*lines) to Db2, when a SYSIN block ends at the next//card or when the JCL job is kept under a non-.jclsuffix. Members handled here: DB2CRE.jcl (blocks ending at//), HCMobile_DB2.txt (JCL-shaped.txt); the other callers ofddl_text(split_sqlat L674,parse_tablesat L915) inherit it. Checked on the real corpus: both files give 9 CREATE TABLE, zero//,/*,DSN,RUNlines, andcreate()builds all tables on the real Db2 container for both.Slice 2 sibling gap (now fixed by slice 3): HCAVDB01
proof_sweep(det-only, scratch case, not committed) is still NOT PROVEN, earlier than the DDL: its COMMAREA is01 DFHCOMMAREA. EXEC SQL INCLUDE HCCMAREA END-EXEC.,layout_fieldsexpands COPY only, socommarea_fieldsraisesValueError: max() iterable argument is empty. Different mechanism, own slice (below); recorded in P124's summary.Remaining slices
Checklist: partial [c:54bc7fde] -- Visit family harness blocker (ddl_text) fixed; case data is left (INCLUDE layout fixed in slice 3)
Checklist: partial [c:581bd365] -- no scenarios yet; the INCLUDE fix has landed, the case data is next
Gates
pytestnew tests +test_equivalence_db2_seed.py+test_port_blockers.pypass;audit_check.pyall clear; pinned ruff format clean;pr_gates --fast9/9;--ratchets8/9 (portsfails only on the box's cics-crucible pin mismatch, no port touched). No engine change: no golden bless.Cross-repo: none.
🤖 Generated with Claude Code
Lessons for agents
ddl_textassumed every in-stream block ends with/*and that only.jclholds JCL. A harness fix can uncover the next blocker behind it: HCAVDB01 now stops atEXEC SQL INCLUDEinlayout_fields, whichCOPY-only expansion does not see.