Repository navigation
CICS: DOCUMENT CREATE / RETRIEVE in both runtimes and both translators (Part of #4769) - #4858
Conversation
…s (Part of #4270, #4769) Replaces the first attempt, whose translation called CicsTask methods that did not exist. DOCUMENT CREATE (none, TEXT / BINARY with LENGTH, or TEMPLATE) and DOCUMENT RETRIEVE (INTO, LENGTH, MAXLENGTH, DATAONLY) with IBM's conditions (LENGERR RESP2 1 / 2, NOTFND RESP2 1 / 3) on CicsTask (+ DetCics) and the stub (GGCDOCC / GGCDOCR); the installed DOCTEMPLATEs are a fact the run states (withDoctemplates, $GGCICS_DOCTEMPLATES). What IBM leaves open is refused by name (register X33): FROM / FROMDOC, the symbol table, DOCSIZE, code pages, RETRIEVE without DATAONLY / MAXLENGTH, CREATE of TEXT / BINARY without LENGTH, templates with symbols or template commands. INSERT / SET / DELETE stay refused whole (no corpus program uses them). zECS: the ten DOCUMENT statements of ZECS000 / ZECS001 / ZECS003 translate; those programs stay held by WEB. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #4858 @ bcf26a0: 2 failed check(s) == full-suite (failure) -- real == full-suite part 1/3 (failure) -- real |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI shepherd: the head of this PR (bb0e489) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
…st --timeout) (#4865) Two quiet failures from 2026-10-10: - #4858 sat green-but-unmerged: a push dropped shepherd:merge (an approval is bound to its head, by design) and, with no request label left, every status label was cleared too, so nothing marked the PR. The bot now sets shepherd:reapprove when it drops the label. It outlives the request labels (is:open label:shepherd:reapprove finds every PR that lost its approval) and clears when shepherd:merge or shepherd:hold comes back, or by hand. - Every macOS matrix leg on main ran into the 45-minute job limit on a hung test (#4862) and read as "cancelled", naming nothing. full-suite-gate.yml and smoke-test.yml now run pytest with --timeout=600 (pytest-timeout 2.4.0; slowest real test ~60 s), so a hang fails as a named test. main_watch.py reports each cancelled leg's run time ("after 45 min") and no longer calls a time-limit cancel "not a verdict on the code". docs/ci.md: the new label, its lifecycle, the timeout; drops a duplicated pair of paragraphs. Part of #4840 Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX Co-authored-by: Claude Opus 5.5 <[email protected]>
Part of #4769 (and #4270). Not "Fixes": the hand-traced cics-crucible case is still to do (see below).
What
EXEC CICS DOCUMENT CREATE/DOCUMENT RETRIEVE(the CICS document handler), the two commands that hold up zECS's ZECS000 / ZECS001 / ZECS003. This replaces agy's first attempt, whose translation calledCicsTaskmethods that did not exist (and defaulted MAXLENGTH / DATAONLY, dropped LENGTH, ignored conditions); the older 3-commit branch had the same defect (no runtime), so only its ideas were kept (BINARY as a source, DOCTOKEN required, CREATE / RETRIEVE leave the name-only list).standards/cics/commands/documents.py), register X33.CicsTask(+DetCics.documentBytes/putDocument) and the stub (GGCDOCC/GGCDOCRin ggcics.c), both translators (detCics.document, harnesstranslate_command), and the facts plumbing for the installed DOCTEMPLATEs (withDoctemplates,$GGCICS_DOCTEMPLATES, an equivalence case'sdoctemplates).TEXTorBINARY+LENGTH(bytes unchanged) /TEMPLATE(the text the installed DOCTEMPLATE yields); DOCTOKEN written on NORMAL only; LENGERR RESP2 1 (negative LENGTH), NOTFND RESP2 3 (no such template).Evidence
test_det_translate.py(each source / option path, 24 refusals, a zECS-shaped program with no hole),test_equivalence_cics.py(stub translation, thedoctemplatesfact),test_cics_runtimes.py(the C stub andCicsTaskanswer alike: tokens, LENGERR 1 / 2, NOTFND 1 / 3, truncation length, refusals),test_cics_spec.pycounts. 594 passed, 3 skipped (Docker / Maven only).pr_gates.py --fast5/5 (lint, audits, secrets, xray, gauntlet; the lint finding in the first run was fixed, ruff 0.16.0, baseline unchanged);--ratchets7 pass, 0 fail, 0 skipped. No golden / crucible regen needed (no scanner change).Not done
🤖 Generated with Claude Code