Skip to content

COBOL translator: SORT/MERGE (RELEASE/RETURN) have no statement parser; JCL utility steps are not run #4268

Closed

Description

@squid-protocol

Problem

The det port has no parser for the SORT, MERGE, RELEASE and RETURN verbs, so each becomes a hole. Separately, JCL utility steps (SORT/DFSORT, IDCAMS, IEBGENER) are not executed by the oracle, and a batch case runs one program step.

Evidence (file:line, origin/main)

  • gitgalaxy/tools/cobol_to_java/det/stmt.py:768-775 (_PARSERS): no SORT, MERGE, RELEASE or RETURN key.
  • docs/language_status/oracle_assumptions.md F4 (~222-225): "SORT, IDCAMS, IEBGENER and DFSORT steps are not run. The COBOL SORT verb is not translated by the det port (a hole)." "A batch case runs one program step."
  • Note: the Java batch forge does model IEBGENER/ICEGENER copy and GDG generations (cobol_to_java_batch_forge.py:~61, ~744); the gap is the det/equivalence path, so GDG is not claimed missing here.

Impact on a real estate

SORT/MERGE with INPUT/OUTPUT PROCEDURE is ubiquitous in batch estates; programs using it cannot be proven, and multi-step jobs (SORT then program then IDCAMS) cannot be run end to end.

Acceptance criteria

Out of scope

Full DFSORT control-statement language; spanned-record (RECFM VS) support beyond a documented refusal.

Found during: 2026-10-03 COBOL engine/translator audit

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    core-engine
    legacy-modernization
    priority: high
    on Oct 3, 2026
  2. squid-protocol commented on Oct 5, 2026

    @squid-protocol
    OwnerAuthor

    Status: the SORT / MERGE / RELEASE / RETURN statement parsers landed in #4286 (d410952), so that half is done. JCL utility steps remain. The 2026-10-05 CICS/SQL census did not measure JCL utilities.

  3. added
    scope:frontier
    era:2
    on Oct 16, 2026
  4. added
    needs:docker
    on Oct 18, 2026
  5. 108 remaining items

  6. squid-protocol commented on Oct 31, 2026

    @squid-protocol
    OwnerAuthor

    #7305 merged: a partial slice of [c:9e003ccd] "Register F4 updated"; left: L5 now has no open survivor for both sort cases; OPEN-failure handling needs an owner decision (promoter-bot)

  7. squid-protocol commented on Oct 31, 2026

    @squid-protocol
    OwnerAuthor

    #7326 merged: a partial slice of [c:9e003ccd] "Register F4 updated"; left: F4 now records the by-name stop and why a WRITE-30 fault run cannot be carried; its utility-step lines wait on [c:ac8b71e6], which this PR does not work on (promoter-bot)

  8. squid-protocol commented on Oct 31, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 4268-20261031T2024Z (host melek) ended without a PR. PR #7326 merged green at dd3fc75; #4268 stays open ([c:9e003ccd] partial, [c:ac8b71e6] untouched). Open: owner review of 9 unreachable mutation survivors (sort-tranrept 2, cbstm03a 7); ci_digest.PARTS mislabels cancelled pre-matrix runs as real.

  9. squid-protocol commented on Nov 1, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host melek, lease renewed 2026-11-01T11:31Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:melek label.

  10. squid-protocol commented on Nov 1, 2026

    @squid-protocol
    OwnerAuthor

    All acceptance boxes are ticked (#7236, #7316, #7417, #7265); closing after PR #7423.

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

    claim:melekcore-engineenhancementera:2legacy-modernizationneeds:dockerpriority: highscope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions