Repository navigation
Abend injection on a file control command (AFCR/AFCS/AFCT) so HANDLE ABEND runs (Part of #6271) - #6286
Conversation
…reach HANDLE ABEND (Part of #6271) A fault plan line `CMD NAME NTH -1 0 ABCODE` abends the task at that command in the C stub, the generated CicsTask and the det port (register X70). carddemo-cardupdate gains two scenarios (READ AFCR, REWRITE AFCT) proved against GnuCOBOL. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…nesses pass a short gg_cics) (Part of #6271) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
|
||
| def __init__(self, handle_abend): | ||
| super().__init__() | ||
| self.handle_abend = handle_abend |
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #6286 @ c85d6ac: 1 failed check(s) == det (failure) -- real |
…RLS abend scenarios) (Part of #6271) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (8f63ece) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
Part of #6271. Slice for checklist item
[c:b93f4d8b]: a scenario can now abend the task at a file control command, soHANDLE ABENDand the abend paragraphs run (register X70).What changed
CMD NAME NTH -1 0 ABCODE(ABCODE one of AFCR, AFCS, AFCT, the VSAM RLS file abends) abends the task at that command. Implemented in the C stub (ggcics.c), the generatedCicsTask(forge) and the det port (det/cics.py,det/program.py: a post-commandabendExit()check, only in programs withHANDLE ABEND).equivalence_cics.py:resp: "ABEND"plans, anything outside file commands / those codes is refused withUnsupported; the COBOL driver takes the exit after a file command.carddemo-cardupdate: scenariossearch-card-read-rls-abend-afcrandpf5-rewrite-rls-abend-afct.det_port.py run carddemo-cardupdate --faults all: 488/488 translated PROVED; events show ABEND AFCR/AFCT, ABEND-ROUTINE, then ABEND 9999.tests/tools/test_equivalence_cics_abend_injection.py(37 tests, under 1 s).Class / Sibling gaps
The class is "no way to make something abend so the abend handlers run". Done here: file control commands (AFCR/AFCS/AFCT). Still open: Db2 abend AD2Z (CBSA DBCRFUN, via
sql_plan/DetSql); abend of a LINKed/CALLed program (XFRFUN, INQACCCU); abends on non-file commands (SEND, RECEIVE, SYNCPOINT, DELAY, START); batch CALL abends beyond CEE3ABD; the hand-translated ports (carddemo-acctview COACTVWC, carddemo-cardview COCRDSLC) never checkabendExit(), so they cannot take these plans. The register id is X70 because X62 was taken (#5154).Checklist: partial [c:b93f4d8b] -- Db2 (AD2Z) and linked-program/CALL abends, non-file commands
Facts checked:
Cics.command()indet/cics.py, notcics_filecontrol.py.audit_check.py,pr_gates --fast(7/7),--ratchets(9 pass),tests/cics_crucible(850 passed),test_evidence*.py(68 passed, staleness warning only), merged origin/main cleanly.Cross-repo: none.
🤖 Generated with Claude Code