Skip to content

COBOL engine: SYNC, JUSTIFIED, BLANK WHEN ZERO, RENAMES (66) and qualified names missing from the layout model #4266

Closed

Description

@squid-protocol

Problem

The data-division layout model has no handling of SYNCHRONIZED, JUSTIFIED, BLANK WHEN ZERO or RENAMES, and sources that are subscripted or qualified (A OF B) are not resolved because there is no symbol table.

Evidence (file:line, origin/main)

Impact on a real estate

SYNC changes field offsets (slack bytes), so record lengths and every downstream offset-based fact are wrong for estates that use it (common in binary-heavy and IMS/Db2 layouts).

Acceptance criteria

  • SYNC alignment reflected in offsets/lengths
  • JUSTIFIED, BLANK WHEN ZERO recorded on the field
  • RENAMES (66) resolved to a byte range
  • Symbol table resolves qualified names (A OF B) and subscripted sources for data-move lineage
  • Tests incl. a SYNC record whose length differs from the unsynced one

Out of scope

The fixes tracked in #4246 / #4204 themselves.

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

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    core-engine
    legacy-modernization
    on Oct 3, 2026
  2. added 6 commits that reference this issue on Oct 7, 2026
    946a088
    74906b5
    aa29530
    4a6a419
    a1fc34c
    f8408bf
  3. added
    scope:core
    era:2
    on Oct 16, 2026
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

    core-engineenhancementera:2legacy-modernizationpriority: mediumscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions