Repository navigation
det: CBSTM03A's PSA -> TCB -> TIOT walk, laid from the stated job step (Part of #5856) - #5868
Conversation
…p (WIP, Part of #5856) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…5856) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #5868 @ 8012a3c: 2 failed check(s) == ground-truth part 1/2 (failure) -- real == ground-truth part 2/2 (failure) -- real |
…e two CEEMGET holes remain (Part of #5856) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (3b45bb6) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
No description provided. |
Part of #5856 (slice 1 of 3: the det side; the oracle and the equivalence case follow).
CardDemo's CBSTM03A (burned) had 5
SET ADDRESS OF (pointers)holes from its PSA -> TCB -> TIOT walk. A batchprogram's pointers now go to a z/OS control-block stand-in, laid from the job step the run states (register A2).
It is not a named refusal: the TIOT's contents are facts of the run, like X68's EIBTRNID, and IBM documents the
layout. CBSTM03A now translates 424/424 statements with 0 holes, and it compiles.
What changed
det/cobolrt/DetMvs.java(new, ruleRT-MVS-CONTROL-BLOCKS):PSATNEWat X'218' gives the TCB),the TCB (
TCBTIOat +12 gives the TIOT), and the TIOT. The TIOT is a 24-byte header, then 20-byte DD entries(
TIOEDDNM+4, UCB token +17..19), then a zero fullword.-Dgitgalaxy.mvs.step=JOB;STEP;PROCSTEP;DD:UCB,DD:NOUCB,....arithmetic that leaves its block, and a pointer to no block.
batch/, becauseruntime_filesdropsbatch/for standalone projects.gen.py:SET ADDRESS OF rec TO ptremitsDetMvs.setAddress. TheTO ADDRESS OFforms are still refused.pointer_lane(): DetCics in CICS, DetMvs in batch.COMPUTE v = v +/- non a pointer's numeric view is the same advance as ADD / SUBTRACT (CICS too).program.py:BINARY S9(n)(CBSTM03A'sTIOT-INDEXoverBUMP-TIOT) makesthat numeric item its view.
cobolrt_rules.json.tests/cobol_mainframe/test_tiot_walk_5856.py(16 tests, 2.7 s):Gates
det_port.py check: 161/161 ports unchanged.det_survey --corpus carddemo: 40 programs whole, 4 with holes, 0 refused; no pointer reason is left.test_pointer_lane_4771/_5042/test_cobolrt_rulespass;register.py --check,register.py audit --ciandcobolrt_rules.py --checkare clean.audit_check.pyis all clear.pr_gates --fastpasses 7/7 and--ratchetspasses 8/8.time_ratchet checkpasses.
Not in this PR
ggtiot.c) laying the same blocks from the same step, plus anequivalence.pylowering. Linux cannot map page 0, and the 4-byte BINARY view of an 8-byte pointer needs care.
evidence.py prove.docs/language_status/det_survey.mdis a dated snapshot of every corpus (2026-10-02) and is not regenerated here.Class table
Class: batch-program pointer idioms over z/OS control blocks (
SET ADDRESS OF/ pointer arithmetic that det refused aspointers).SET ADDRESS OF rec TO ptrin batch (PSA -> TCB -> TIOT)ADD/SUBTRACTon a pointer's numeric viewpointer_lane())COMPUTE v = v +/- non a pointer view (also CICS)BINARY S9(n)(TIOT-INDEX over BUMP-TIOT)SET ADDRESS OF ... TO ADDRESS OFformsSET ADDRESS OF ... TO TOKEN(line 383)test_det_epscsmrd_holes_5106.pyupdatedggtiot.c) for the walkevidence.py proveSibling gaps
equivalence.pylowering: missing; different mechanism (C side, harness); Linux cannot map page 0, 4-byte BINARY view of an 8-byte pointer; source: det: CBSTM03A SET ADDRESS OF over PSA / TCB / TIOT (5 holes; burned CardDemo translation blocker) #5856 checklist [c:80274138].evidence.py prove: missing; needs the oracle first; source: [c:0fb89649].SET ADDRESS OF ... TO ADDRESS OFforms: still refused; no burned program needs them here.Checklist: done [c:2915c833]
Checklist: partial [c:80274138] -- det side done (CBSTM03A 0 holes); the oracle stand-in is slice 2
Checklist: partial [c:0fb89649] -- equivalence case and
evidence.py proverecord not yet landed (slice 3)🤖 Generated with Claude Code