Skip to content

det runtime: ADD / SUBTRACT / MOVE into a zoned item that itself holds non-digits (ADD 1 TO counter of spaces) is not modelled #4692

Closed

Description

@squid-protocol

Part of #4270; follows #4662 (register C11), which models a non-digit zoned item as a sender, operand and comparand. The receiver case is open: ADD 1 TO CTR with CTR PIC 9(4) holding spaces is cobc's cob_add_int -> cob_display_add_int, which adds on the bytes in place (carry through the byte values), not on a decoded number; the det runtime reads the receiver through Cobol.num (cob_decimal_set_display rules) and stores a number. Measure per receiver shape (unsigned / signed / separate sign, spaces / letters / low-values) and model or refuse by name; also a zoned item with a P position as the sender (Field.digits counts the P positions beyond the bytes; #4685).

Activity

  1. added
    bug
    legacy-modernization
    priority: low
    on Oct 8, 2026
  2. squid-protocol commented on Oct 12, 2026

    @squid-protocol
    OwnerAuthor

    Siblings: #4996 (P-scaled non-digit sender members not covered by #4992).

  3. added
    scope:sweep
    era:2
    on Oct 16, 2026
  4. added
    priority: high
    and removed
    priority: low
    on Oct 17, 2026
  5. added
    needs:docker
    on Oct 18, 2026
  6. squid-protocol commented on Oct 18, 2026

    @squid-protocol
    OwnerAuthor

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

  7. squid-protocol commented on Oct 19, 2026

    @squid-protocol
    OwnerAuthor

    Acceptance met: every dirty-receiver form (ADD/SUBTRACT/MULTIPLY/DIVIDE, TALLYING/POINTER, VARYING/SET BY) is refused by name, the P-scaled sender is refused (#4992), and #5591 pinned the remaining forms with tests and recorded the CORRESPONDING hole in C11.md. Non-digit as subscript / ref-mod bound / ODO is unchecked; no burned program needs it.

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

    bugclaim:melekera:2legacy-modernizationneeds:dockerpriority: highscope:sweep

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions