Repository navigation
oracle: FREEMAIN DATA(record) calls GGCFRED, the stub releases the block the record addresses (Part of #6876) - #7062
Conversation
…dress was taken (X47, Part of #6876) IBM FREEMAIN DATA names the storage by the data area it addresses. The spec accepts DATA beside DATAPOINTER (exactly one), the translator emits DetCics.freemainData over a LINKAGE 01 record, and the runtime releases the block the record's address came from (INVREQ otherwise, as for DATAPOINTER). CAGMPT now translates whole (46/46). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… refuses DATA by name (Part of #6876) The rule catalogue (RT-CICS-POINTER-LANE) lacked the new runtime method, and equivalence_cics._freemain looked up the removed required-DATAPOINTER group (KeyError that crashed the crucible run). It now uses the one_of group and refuses FREEMAIN DATA with a named reason until GGCFREM takes an ADDRESS OF record. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ock the record addresses (Part of #6876) The harness refused FREEMAIN DATA; it now passes the LINKAGE record by reference to GGCFRED, which frees the GETMAIN block starting at that address (INVREQ 1 for any other address) and refuses a record with no address and an address inside a GETMAIN block, as CicsTask.freemainData does. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
| """#4771 (X47): GETMAIN SET(ptr) FLENGTH / LENGTH INITIMG(area) and FREEMAIN DATAPOINTER(ptr) / DATA(record) on CicsTask's blocks | ||
| of task storage (IBM, EXEC CICS GETMAIN / FREEMAIN). The pointer holds the block's handle; a LENGERR (RESP2 1) | ||
| sets it to zero. INITIMG is a one-byte data area (IBM: "In COBOL, use a data area rather than a data value").""" | ||
| from gitgalaxy.tools.cobol_to_java.det.gen import Untranslatable |
|
PR #7062 @ f144238: 1 failed check(s) == measure (shard 1/2) (failure) -- real |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (9fc88cf) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #7062 @ 9fc88cf: 26 failed check(s) == Pre-gate (Vault Sentinel, X-Ray, Supply Chain) (cancelled) -- infra == crucible (failure) -- infra == db2 (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == det (failure) -- infra == detmut (cancelled) -- infra == equivalence-e2e (failure) -- infra == evidence report level deltas (advisory) (cancelled) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == measure (shard 1/2) (cancelled) -- infra == measure (shard 2/2) (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish (cancelled) -- infra == publish-history (cancelled) -- infra == render (cancelled) -- infra == runner-tests (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == shard 1/3 (cancelled) -- infra == shard 2/3 (cancelled) -- infra == shard 3/3 (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
2 similar comments
|
PR #7062 @ 9fc88cf: 26 failed check(s) == Pre-gate (Vault Sentinel, X-Ray, Supply Chain) (cancelled) -- infra == crucible (failure) -- infra == db2 (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == det (failure) -- infra == detmut (cancelled) -- infra == equivalence-e2e (failure) -- infra == evidence report level deltas (advisory) (cancelled) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == measure (shard 1/2) (cancelled) -- infra == measure (shard 2/2) (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish (cancelled) -- infra == publish-history (cancelled) -- infra == render (cancelled) -- infra == runner-tests (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == shard 1/3 (cancelled) -- infra == shard 2/3 (cancelled) -- infra == shard 3/3 (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
PR #7062 @ 9fc88cf: 26 failed check(s) == Pre-gate (Vault Sentinel, X-Ray, Supply Chain) (cancelled) -- infra == crucible (failure) -- infra == db2 (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == det (failure) -- infra == detmut (cancelled) -- infra == equivalence-e2e (failure) -- infra == evidence report level deltas (advisory) (cancelled) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == measure (shard 1/2) (cancelled) -- infra == measure (shard 2/2) (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish (cancelled) -- infra == publish-history (cancelled) -- infra == render (cancelled) -- infra == runner-tests (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == shard 1/3 (cancelled) -- infra == shard 2/3 (cancelled) -- infra == shard 3/3 (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
PR #7062 @ 3d2bf3e: 2 failed check(s) == crucible (failure) -- real == measure (shard 1/2) (failure) -- real |
|
No description provided. |
…r (Part of #6876) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (ac65d9f) is not the one a maintainer labelled |
|
No description provided. |
|
PR #7062 @ ac65d9f: 22 failed check(s) == db2 (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == det (failure) -- infra == durations key (cancelled) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part 1/4 (cancelled) -- infra == ground-truth part 2/4 (cancelled) -- infra == ground-truth part 3/4 (cancelled) -- infra == ground-truth part 4/4 (cancelled) -- infra == measure (shard 1/2) (cancelled) -- infra == measure (shard 2/2) (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish-history (cancelled) -- infra == runner-tests (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == shard 1/3 (cancelled) -- infra == shard 2/3 (cancelled) -- infra == shard 3/3 (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
PR #7062 @ ac65d9f: 23 failed check(s) == db2 (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == det (failure) -- infra == durations key (cancelled) -- infra == equivalence-e2e (failure) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part 1/4 (cancelled) -- infra == ground-truth part 2/4 (cancelled) -- infra == ground-truth part 3/4 (cancelled) -- infra == ground-truth part 4/4 (cancelled) -- infra == measure (shard 1/2) (cancelled) -- infra == measure (shard 2/2) (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish-history (cancelled) -- infra == runner-tests (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == shard 1/3 (cancelled) -- infra == shard 2/3 (cancelled) -- infra == shard 3/3 (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
No description provided. |
|
No description provided. |
Part of #6876
Follow-up to #7054 (slice 1, merged). This diff is 4 hand-written files:
tests/equivalence/cics/ggcics.c,tests/tools/equivalence_cics.py,tests/cics_crucible/test_cics_runtimes.py,tests/cobol_mainframe/test_pointer_lane_4771.py.What
The oracle side of
EXEC CICS FREEMAIN DATA(record)(X47). The harness (equivalence_cics._freemain) refused it; it now passes the 01 LINKAGE record by reference to a new stub entryGGCFRED, which frees the GETMAIN block starting at the record's address (INVREQ 16/1 for any other address, as DATAPOINTER). Refused by name, matchingCicsTask.freemainData: a record with no address ("FREEMAIN DATA of a record no pointer addresses"), an address inside a GETMAIN block that is not its start, storage already freed or a WEB RECEIVE body.GGCFREMandGGCFREDshare one release helper.DATAwithDATAPOINTER, or a subscriptedDATA, is refused.Evidence
test_cics_runtimes.pygainsfd(FREEMAIN DATA) andin(pointer one byte in) steps and six cases; the C stub andCicsTaskanswer them identically (GETMAIN block, two blocks, a record's own address, NULL, a received body, an interior address).test_pointer_lane_4771.py.ca-getmain-pointer/alloc, cobol-stub side: withADD 4 TO WS-PTR2-Nreplaced bySET WS-PTR2 UP BY 4in a scratch copy of the crucible, the scenario passes end to end, FREEMAIN DATA(LS-AREA) included (scratch only, nothing committed to the corpus). On the real CAGMPT the stub SIGSEGVs at theADD(line 64): a 64-bit pointer viewed asS9(8) COMPis the WS-PTR2-N REDEFINES sibling gap below, so the case itself stays failing on the stub side; itsjavacells are the forge stub (PROCEDURE DIVISION not ported), unchanged.pr_gates --fast9/9,--ratchets9/9 (0 skipped), 539 tests (guard files, runtimes, pointer lanes) pass, 0 over the per-test time limit, ruff 0.17.1 format clean. No detector change, so no golden bless.Checklist: partial [c:5019a6ff] -- GETMAIN without INITIMG (CAGMZ x3, CAGMPT zero-length) and the WS-PTR2-N REDEFINES numeric pointer view are still holes; FREEMAIN DATA is modelled on the translator and the oracle.
Class / Sibling gaps
Class: FREEMAIN DATA(area) in the X47 pointer lane, both sides (translator in #7054, oracle here). Members: DATAPOINTER (handled before), DATA(01 linkage record) handled, DATA(subordinate or subscripted item) refused by name on both sides. Sibling gaps: GETMAIN without INITIMG (IBM: no default contents; refused by design, CAGMPT zero-length, CAGMZ x3); WS-PTR2-N REDEFINES numeric view of a pointer on the stub (GnuCOBOL's 64-bit pointer faults under S9(8) COMP arithmetic; blocks CAGMPT on cobol-stub); TWA/TCTUA (#5079); LOAD/RELEASE; RECEIVE SET without MAXLENGTH; ADDRESS OF undeclared item (#6262); WEB CHARACTERSET/HOSTCODEPAGE (#4767); REDEFINES-pointer overlays (#5042).
Remaining slices
SET ptr UP BY), then GETMAIN-without-INITIMG policy.Cross-repo
None.
🤖 Generated with Claude Code