Repository navigation
Open
Labels
enhancementNew feature, sensor, or structural signatureera:1Era CICS/VS command level, OS/VS COBOL (~1978-88) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizationsscope:frontierMapped, not yet built: eras/commands/regions the burned estates don't use (Gap Atlas)
Milestone
Description
Why
The deterministic translator (gitgalaxy/tools/cobol_to_java/det/) takes COBOL only; cics_census.py --pli already flags PL/I programs as untranslatable. Real CICS estates are often PL/I. In dsf (NAV's Det Sentrale Folketrygdsystemet, in production 1967–2018, local non-burned corpus), 1,473 of the source files are PL/I and 575 of them use EXEC CICS. Only its 7 COBOL batch programs reach the det survey, so the 2026-10-22 non-burned survey (#6064) misses almost all of that estate.
Era profile of dsf's 575 PL/I CICS files (grep of era_tags.py's own tells; the tagger is COBOL-only and reports no tell on PL/I):
- Era 1:
HANDLE CONDITION254, DL/I (EXEC DLI/PLITDLI) 111,HANDLE AID67 - Era 2:
RESP(1,SYSID3,EXEC SQL0 - Eras 0, 3 and 4: none (no macro level, MQ, LE callable services, channels/containers or WEB)
- Shape: classic 3270 command-level application:
SEND MAP186,EXEC CICS LINK/XCTL438
What exists already
- Engine reading of PL/I: Language Addition: PL/I (pli) for full CICS visibility #2502 (language), Engine: extract PL/I DECLARE structures as a fact channel (PL/I record layouts) #3250/PL/I record layouts: storage widths, the main-procedure COMMAREA, DTOs (#3623 part 2) #3720/PL/I: %INCLUDE inside a DECLARE is not expanded into the structure #3728 (DECLARE record layouts, storage widths, COMMAREA), CICS coverage: PL/I parity -- CICS call sites, handlers / UOW, data moves #3491 (CICS call sites, handlers, UOW parity), Answer key: independent reader + sampled census for PL/I CICS operations #3577 (answer key).
- Java conversion: PL/I programs through the same pipeline #3623 (closed): PL/I through the skeleton Java generation pipeline, not the det statement translator.
- Equivalence harness: PL/I support #4509 (open, Gap Atlas): equivalence harness for PL/I. Blocked on a runner: no mature free PL/I compiler (Iron Spring PL/I, or z/OS capture via Captured mainframe outputs as the equivalence oracle (beside GnuCOBOL) #4050).
Scope
- Det front end for PL/I: procedures and BEGIN blocks; DECLARE (structures,
BASED/pointers,DEFINED,INITIAL,FIXED DEC/FIXED BIN/CHAR VARYING/BIT,UNALIGNED) onto the same storage model COBOL ports use (PL/I record layouts: storage widths, the main-procedure COMMAREA, DTOs (#3623 part 2) #3720's layouts); assignments,IF/SELECT/DOloops,CALL, built-ins (SUBSTR,INDEX,LENGTH,UNSPEC,ADDR, …);ON-conditions as named holes until modelled. - EXEC CICS in PL/I onto the existing CICS runtime model (the same commands COBOL ports use), including era-1
HANDLE CONDITION/HANDLE AIDsemantics (the PL/I flavour of det: CBSTM03A SET ADDRESS OF over PSA / TCB / TIOT (5 holes; burned CardDemo translation blocker) #5856-class work) andEXEC DLI/PLITDLI. - Survey and census:
det_survey.pyandcics_census.pycount PL/I programs as translatable, with holes by reason, so non-burned PL/I estates show up in Census: no current non-burned translation rate (nightly is --no-census by design; last local baseline surveyed the wrong root silently) #6064's numbers.
Evidence constraints (read first)
- No burned estate has any PL/I (0
.pli/.pl1files in all 6). Under the burned-only rule there is no estate to build cases or proofs on. This work is translation-level only (L1 at best) until a burned PL/I estate exists or the owner burns one. - No oracle: PL/I execution needs Equivalence harness: PL/I support #4509's runner decision (Iron Spring or z/OS via Captured mainframe outputs as the equivalence oracle (beside GnuCOBOL) #4050). Without it nothing reaches L2. Don't fake a runner.
- Owner decision needed before launch: whether to burn a PL/I CICS estate (dsf is the obvious candidate) and which runner Equivalence harness: PL/I support #4509 uses. Until then this is frontier: mapped, not built.
Metadata
Metadata
Assignees
Labels
enhancementNew feature, sensor, or structural signatureera:1Era CICS/VS command level, OS/VS COBOL (~1978-88) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizationsscope:frontierMapped, not yet built: eras/commands/regions the burned estates don't use (Gap Atlas)
Activity
squid-protocol commentedon Oct 22, 2026
Owner decision 2026-10-22: burn
dsf(navikt/DSF) as the PL/I CICS estate for this work. It's a deliberate exception to the 2026-10-09 "keep non-burned repos unburned" ruling, for dsf only: no burned estate has PL/I, so without it this issue cannot get past L1.First-contact numbers, recorded before the burn (det translator at main
082aba881, translation only):Burning it in the repo (separate PR, after the runner decision): add dsf to
estate4_draw.BURNED_NAMES, remove it fromera_distribution.PINNED_NON_BURNED, and add it to the evidence report and feature inventory like the other burned estates. Still open: the #4509 runner (Iron Spring PL/I vs captured z/OS outputs via #4050, or L1-only).squid-protocol commentedon Oct 22, 2026
Reversed same evening (owner, 2026-10-22):
dsfstays NON-burned. The burn decision above is withdrawn: no BURNED_NAMES change, and no cases or fixes built on dsf. The PL/I numbers above stand as an unplanned first look, recorded in #6069. This issue stays frontier until dsf's real first-contact scan, and it needs a different estate (or a later owner decision) for any L2+ work.squid-protocol commentedon Nov 4, 2026
Owner ruling 2026-11-03:
dsfstays non-burned (no burn). L2+ work for this issue uses a synthetic PL/I CICS level estate instead: built in estate-crucible per evidence-policy rule 5, every construct citing the IBM manual it follows, with its first run measured once. The runner question stays on #4509 (Iron Spring findings posted there).