Repository navigation
Pin translator layouts of shipped system members: DFHEIBLK, SQLCA, SQLDA, DFHAID, DFHBMSCA (Part of #5694) - #6309
Conversation
#5694) DFHAID, DFHBMSCA, DFHEIBLK, SQLCA and SQLDA are skipped by the engine, so the translator lays them out alone. Pin IBM's documented sizes and offsets (DFHEIBLK 85, SQLCA 136, SQLVAR stride at the POINTER width, one-byte constants), and check the shipped text as an estate copybook agrees with the engine's layout in check mode. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #6309 @ 268a6cb: 2 failed check(s) == full-suite (failure) -- real == full-suite part 1/3 (failure) -- main |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
PR #6309 @ 265b7c5: 1 failed check(s) == full-suite part 1/3 (failure) -- real |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…churn/5694-20261024T0041Z
|
CI shepherd: the head of this PR (2019ccf) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Checklist: partial [c:10702107] -- the five members' arithmetic is pinned; the engine still has no entry for a system-member record, so engine mode keeps the translator's layout (by design, nothing to consume).
Part of #5694. Test-only slice:
tests/cobol_mainframe/test_det_system_member_layout.py.What it pins
Class / Sibling gaps
Class: record layouts the translator computes alone because the engine skips the system member. Members DFHAID, DFHBMSCA, DFHEIBLK, SQLCA, SQLDA: all pinned (sizes, offsets, engine agreement on the same text).
Sibling gaps: none inside this class for the burned programs (CardDemo COCRDUPC, COUSR01C, COTRN02C; CBSA UPDACC use these members). Not covered: system members the translator does not ship (CMQ* stand-ins are separate; MQ copybooks stay refused, mainframe-evidence-policy section 6). SQLDA at z/OS's POINTER width is arithmetic only here: the translator's layout is at 8.
Remaining slices
Making the engine itself lay out system members from its own stand-ins (engine change, golden-neutral decision needed) is not done; no burned program needs it today.
Facts checked: SQLCODE @12 / SQLWARN0 @120 match
det/sql.pyconstants;test_det_engine_layout.pytoy estate pattern reused; pr_gates --fast 7/7 pass; tree-wide guards 200 passed; time ratchet 0 over limit. Not run:--ratchets(test-only, no engine/golden/port input changed); thetranslatorextra is present so the det test ran (not skipped).🤖 Generated with Claude Code