Repository navigation
det: FREEMAIN DATA(area) releases a block through its addressed record (X47, Part of #6876) - #7054
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]>
|
No description provided. |
|
PR #7054 @ 6c92fda: 1 failed check(s) == measure (shard 1/2) (failure) -- real |
| """#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 |
… 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]>
|
CI shepherd: the head of this PR (b19c967) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #7054 @ b19c967: 19 failed check(s) == crucible (failure) -- real == db2 ${{ matrix.shard }} (cancelled) -- infra == det (failure) -- real == durations key (cancelled) -- infra == equivalence-e2e (failure) -- real == 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 ${{ matrix.shard }}/${{ matrix.total }}) (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish (cancelled) -- infra == publish-history (cancelled) -- infra == shard ${{ matrix.group }}/3 (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == shard ${{ matrix.shard }} (${{ matrix.loc }} LOC) (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
No description provided. |
|
No description provided. |
Part of #6876
What
EXEC CICS FREEMAIN DATA(area)(IBM: release the storage a data area addresses) was refused as a hole. The spec now acceptsDATAbesideDATAPOINTER(exactly one of the two), the det translator emitsDetCics.freemainData(task, <LINKAGE 01 record>), and the runtime (DetCics.java, forgeCicsTask) releases the block the record's address came from. INVREQ for an address no GETMAIN returned, as for DATAPOINTER (register X47, pointer lane). CAGMPT now translates whole (46/46, no holes; measured withprogram.translate). One existingtest_det_translate.pyline that expectedFREEMAIN DATA(REC)to be refused is removed (6th file, forced by the change); three new tests intest_pointer_lane_4771.pycover the accepted form, the INVREQ outcome and the refusals.Class / Sibling gaps
Class: FREEMAIN DATA(area) in the X47 pointer lane. Sibling gaps still holes in #6876: CAGMZ GETMAIN without INITIMG x3 (IBM gives no default contents, refused by design) and its WS-PTR2-N REDEFINES numeric pointer view; ADDRESS TWA/TCTUA (CATWAD, CATWSB; needs region modelling, #5079); LOAD/RELEASE (CALDST, CALDSX); RECEIVE SET without MAXLENGTH (CARCST, undocumented); ADDRESS OF an undeclared item (HCRDST, #6262); WEB CHARACTERSET/HOSTCODEPAGE (GTHECHO, GTWRECV, GTWSEND, #4767).
Remaining slices
tests/tools/equivalence_cics.py::_freemainandggcics.cGGCFREM taking anADDRESS OFrecord, so the proof harness can prove FREEMAIN DATA cases.cics_crucible.py --cases ...) once the oracle side lands.Gates
pr_gates --fast9/9,--ratchets9/9, pinned ruff 0.17.1 format clean, focused suites (667) and the tree-wide guard tests (491) pass. No detector change, so no golden bless.File-cap exception: the 6th file only deletes one line of
test_det_translate.pythat pinned the old refusal ofFREEMAIN DATA(REC); the change cannot land without it.Cross-repo
None.
🤖 Generated with Claude Code