Skip to content

det translator: PL/I CICS programs (dsf: 575 era-1 PL/I CICS files untranslatable today) #6066

Open

Description

@squid-protocol

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 CONDITION 254, DL/I (EXEC DLI / PLITDLI) 111, HANDLE AID 67
  • Era 2: RESP( 1, SYSID 3, EXEC SQL 0
  • Eras 0, 3 and 4: none (no macro level, MQ, LE callable services, channels/containers or WEB)
  • Shape: classic 3270 command-level application: SEND MAP 186, EXEC CICS LINK/XCTL 438

What exists already

Scope

  1. 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/DO loops, CALL, built-ins (SUBSTR, INDEX, LENGTH, UNSPEC, ADDR, …); ON-conditions as named holes until modelled.
  2. EXEC CICS in PL/I onto the existing CICS runtime model (the same commands COBOL ports use), including era-1 HANDLE CONDITION / HANDLE AID semantics (the PL/I flavour of det: CBSTM03A SET ADDRESS OF over PSA / TCB / TIOT (5 holes; burned CardDemo translation blocker) #5856-class work) and EXEC DLI / PLITDLI.
  3. Survey and census: det_survey.py and cics_census.py count 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)

Related: #4509, #4515, #4050, #6064, #6065, #5865.

Activity

  1. added
    scope:frontier
    on Oct 22, 2026
  2. squid-protocol commented on Oct 22, 2026

    @squid-protocol
    OwnerAuthor

    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 from era_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).

  3. squid-protocol commented on Oct 22, 2026

    @squid-protocol
    OwnerAuthor

    Reversed same evening (owner, 2026-10-22): dsf stays 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.

  4. added
    enhancement
    era:1
    legacy-modernization
    priority: low
    on Oct 28, 2026
  5. squid-protocol commented on Nov 4, 2026

    @squid-protocol
    OwnerAuthor

    Owner ruling 2026-11-03: dsf stays 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementera:1legacy-modernizationpriority: lowscope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions