Repository navigation
BIF DEEDIT of a field with no digit leaves zeros (X26 ASSUMED); BNK1CAC 437 taken (Part of #6072) - #6940
Conversation
…AC customer-missing scenario (Part of #6072) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #6940 @ 3145ea7: 1 failed check(s) == shepherd (label event) (failure) -- real |
Part of #6072
What
EXEC CICS BIF DEEDITof a field with no digit (all blank, all_, X'00', letters only) was refused on both legs (X26). IBM's text ("non-digits removed, digits right-aligned, padded left with zeros") read literally gives all zeros, so both legs now return zeros. IBM does not say it, so it is registered ASSUMED in X26, identical on the port and the GnuCOBOL stub.This unblocks BNK1CAC line 437 (
CUSTNOL < 1 OR CUSTNOI = '__________', true arm): a blank CUSTNO arrives with length 0 (X54), DEEDIT no longer refuses it,CUSTNOL < 1is true. New scenariocustomer-missing.Mechanism: one DEEDIT edit, three places that must agree:
DetCics.deeditEbcdic,ggcics.c GGCDEED,task.py BIF_DEEDIT(the spec). Still refused: a byte outside 7-bit ASCII, and a LENGTH past the field.Evidence (ladder)
Oracle is GnuCOBOL plus our stub, not z/OS. The zeros result for a no-digit field is an assumption, not a z/OS measurement.
Class sweep (every input shape of DEEDIT)
Tested on the stub (
test_cics_runtimes.py) and the Java side (test_det_translate.py):abc,___,__________-> zeros;-unchanged;--->0};a-->0}; 1-byte unchanged; zoned rightmost unchanged;\xe91still refused (7-bit ASCII).Sibling gaps (not filed as issues)
INSPECT OVERDRI(1:0)(zero-length reference modification), inbounds_refusedforoverdraft-missing. Not unblocked by this PR.rate-three-places). 637:false is not infeasible.Remaining slices
None: the change is one atomic behaviour (the three code sites must agree and each test pins one of them), so it is not split.
File-cap exception: one atomic behaviour change; the port, the stub and the spec must flip together or the equivalence proof diverges. 6 hand-written files (DetCics.java, ggcics.c, task.py, three tests); X26.md, case data and the sweep ledger are not counted.
Checklist
Checklist: partial [c:3c7856f6] -- BNK1CAC 717, 611 and 637 remain open
Gates
pr_gates --fast: 9/9 pass.pr_gates --ratchets: 8 pass, 1 fail.fact-crosscheckfails onestate-crucible :: INVTRLD.cbl translator refused: PROCEDURE DIVISION does not parse at line 27. Same failure on pristineorigin/main(checked in a control worktree), so not from this PR. estate-crucible had to be synced to v0.5.0 (sync-pins.sh) first.ladder_refresh.py cbsa-bnk1cac: PROVED, 814 passed, 148 skipped in the pin tests.Cross-repo
None. No companion PRs.
Facts checked: the 437 true arm is taken per the regenerated ledger (77/97); IBM's silence on a no-digit field is why this is ASSUMED, owner may prefer a different value.
Lessons for agents
pr_gates --ratchetsestate leg fails with "on but scorer pins v0.5.0" untiltests/tools/box/sync-pins.shis run.🤖 Generated with Claude Code