Skip to content

DL/I load mode (PROCOPT L / LS) on a DB PCB: ISRT with LB/LC/LD/LE (Part of #5233) - #6294

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5233-20261023T2056Z
Oct 23, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5233-20261023T2056Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

DL/I load mode on a DB PCB (PROCOPT=L / LS alone) on both twin runtimes (DetDli.java, ggdli.c): ISRT loads an empty database in hierarchic/key order, with load statuses LB (duplicate key), LC (out of sequence), LD (no loaded parent), LE (sibling type order); every other function answers AM. The harness (equivalence_ims.psb) now accepts a lone L/LS DB PCB. Register I5 and rule RT-DLI-ISRT updated (loadIsrt).

Proof: test_det_dli.py::test_load_mode_* (20-call script on an empty seed, identical output and DB bytes on GnuCOBOL and Java), plus harness refusal tests. test_det_dli.py 178 passed with EQUIVALENCE_E2E=1; pr_gates --fast 7/7.

Refused by name: ISRT with SSAs before the last, load into a non-empty database, L combined with another option, a load PCB beside another PCB on its DBD, load mode under CICS. No golden bless needed (no parser change).

Plan change: the planned slice (subset pointers) is DEDB-only per IBM and the harness has no DEDB, so I switched to load mode.

Checklist: partial [c:51f08617] -- command codes beyond F/L/P/C/D/N/Q/U/V/-, boolean SSAs, AIBTDLI / CEETDLI, FLD / POS, secondary indexes, logical relationships, HDAM root order, DEDB subset pointers

Class / Sibling gaps

Same mechanism (PROCOPT-gated call behaviour): load mode done here. Siblings left: HDAM root order (load order differs), load mode with SSAs / path loads, L beside other PCBs, subset pointers (need DEDB model).

Cross-repo

None.

Lessons for agents

  • Assumed (no IBM text cited): LE precedes LB/LC; recorded in I5.
  • A new method in DetDli.java must be listed in cobolrt_rules.json or test_cobolrt_rules.py fails.
  • _cobol_side/_java_side helpers in test_det_dli.py now take psb=, so a test can embed its own PSB and program.

🤖 Generated with Claude Code

… LE, both runtimes (Part of #5233)

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 23, 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 23, 2026 21:06
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 21:06
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 436d4a2 into main Oct 23, 2026
86 checks passed
@squid-protocol
squid-protocol deleted the churn/5233-20261023T2056Z branch October 23, 2026 21:38
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