Skip to content

forge: cobol_schema_forge reads no record fields from one-digit level numbers (1 / 2 for 01 / 02) #4626

Closed

Description

@squid-protocol

Found pinning cicsdev/cics-async-api-credit-card-application-example (#4270). Its sources declare data items with one-digit levels (1 PROG-NAMES. / 2 GETPOL PIC X(8) VALUE 'GETPOL '., WORKING-STORAGE and LOCAL-STORAGE). forge_schemas(path) returns None for all 8 programs that declare any (forge record fields: 0 of 158 in the ground-truth ledger), while the engine finds all 158. Rewriting the levels to 01/02 (and nothing else) makes the forge return every field, so it is the level-number reading, not LOCAL-STORAGE or CRLF. Repro: forge_schemas on src/UPDCSDB.cbl at c32c52fc. Ledger cause: forge_one_digit_levels.

Activity

  1. added 6 commits that reference this issue on Oct 7, 2026
  2. added
    scope:core
    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

    scope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions