Skip to content

Siblings of #5034: DD bindings coarser than the run unit (step scoping, dynamic CALL) #5072

Closed

Description

@squid-protocol

Siblings of #5034, found in the class sweep of PR #5068.

Class: a program's JCL DD bindings are resolved coarser than IBM's run unit (a statically CALLed subprogram runs in its caller's step, under that step's DDs). PR #5068 propagates the job's bindings to static CALL targets.

  • Statically CALLed subprogram (direct, multi-level, cycle): fixed in VSAM lineage: a statically CALLed subprogram takes its caller's step DDs (Fixes #5034) #5068
  • Step-level DD scoping: dataset_lineage is job-wide, so a callee in a job with two steps binding one DD to different DSNs is refused, even though each step pins exactly one DSN on z/OS. Today the result is a refusal, not a wrong translation.
  • CALL through a data item (dynamic CALL): not followed; it is resolved only at run time. Today it is refused. Follow it only where the data item has one provable constant value.

Siblings: #5034

Activity

  1. added
    enhancement
    legacy-modernization
    priority: low
    on Oct 14, 2026
  2. added
    scope:sweep
    era:2
    on Oct 16, 2026
  3. squid-protocol commented on Oct 18, 2026

    @squid-protocol
    OwnerAuthor

    All three class members are now handled: static CALL (#5068), step-level DD scoping (#5348), and CALL through a data item with one provable value (#5419). Table / multi-value CALLs stay refused on purpose; no burned program needs them. Closing.

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:2legacy-modernizationpriority: lowscope:sweep

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions