Skip to content

PL/I: %INCLUDE inside a DECLARE is not expanded into the structure #3728

Closed

Description

@squid-protocol

Found in #3720.

On DSF, 36 of 1,421 PL/I structures have no layout because an %INCLUDE sits inside the DECLARE that holds the members. For example:

  • src/GML/R0010450.pli:137
  • src/GML/R0019F01.pli:106

The pattern is DCL 1 B01 BASED(P), %INCLUDE P0019925;, where the member supplies the level-2 items. record_data reads the root as childless, so its width is unknown.

Needs: when the member is in the repository, expand it in place inside the declaration, so its items become the root's children.

Separately, 350 DSF programs get their COMMAREA structure (KOM_OMR, BASED(COMMAREA_PEKER)) from P0019908, which the public repository does not contain. #3720 reports those as a commarea_gap naming the missing members. That gap is correct and not part of this issue.

Part of #3625.

🤖 Generated with Claude Code

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

    scope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions