Repository navigation
Injected abend takes the exit of the level that issued the command (Part of #6882) - #6884
Conversation
…art of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #6884 @ e8e3103: 1 failed check(s) == det (failure) -- real |
…cenarios, 92 -> 93 branches (Part of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (38a4b69) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #6882 (item 2: a LINKed program's own HANDLE ABEND exit for an injected abend). Checklist: partial -- the LINKed HANDLE ABEND item is done here; the other items are separate slices.
What
The Java
CicsTaskresolved an injected abend (CMD FILE NTH -1 0 ABCODE) against the root task, so the exit search started at level 1 instead of the level of the program that issued the command. A LINKed program's own active HANDLE ABEND exit was never found: the root's exit (or none) took the abend, and the callee's port, which readstask.abendExit()on its own task, saw null.Fix: the root records the task whose program is executing (
running, set aroundprograms.runinlink()/run(), restored infinally);injected()runsabendon that task and setsunwoundTothere. IBM: the search starts "at the logical level of the application program in which the abend occurred".Proof
test_an_injected_abend_goes_to_the_exit_of_the_level_that_issued_the_command(callee exit / unwind to the caller / none); fails without the fix.delete-customer-read-abends-afcrin cbsa-bnk1dcs (INQCUST, linked by DELCUS, linked by BNK1DCS, abends AFCR on its READ): 9/9 events equal, cbsa-bnk1dcs PROVED with--faults all.det_port.py run --faults all: cbsa-inqacccu, cbsa-xfrfun, cbsa-dbcrfun, cbsa-inqacc, cbsa-inqcust, zecs-zecs000, carddemo-cardupdate: all PROVED.Class / Sibling gaps
Class: an injected abend resolved against the wrong task level. Every command routed through
CicsTask.injectedwith an ABCODE plan shares the fix (file control READ/READNEXT/READPREV/STARTBR/ENDBR/WRITE/REWRITE/DELETE; LINK's abend plan fires in the caller and was already right). Sibling gaps: the planned Db2 AD2Z abend (X73) is injected on the stub/translator side, not throughinjected; no burned program is known to need it at a LINKed level, so left unchanged. The other #6882 items (SET TERMINAL, container/RUN TRANSID faults, GenApp seams) are different mechanisms.🤖 Generated with Claude Code