Skip to content

X17: pin the PUT data-type-change guard in both runtimes (Part of #5005) - #7309

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5005-20261031T1351Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5005-20261031T1351Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Finishes the X17 data-type-change item: the IBM source was read (#7293, not decisive: "applies only to new containers" vs INVREQ RESP2 33), burned reach is 0 (#7282). This PR pins that the Java task and the C stub carry the same guard: refuse only a DIFFERENT type on an existing container (PUT and PUT64); a PUT naming the existing type is not refused. Test-only, no engine change, no golden bless.

Checklist: done [c:6daa978d]

Class / Sibling gaps

Class: a PUT / PUT64 CONTAINER naming the other data type for an existing container, in both runtimes (Java CicsTask, C ggcics_containers.c); the two guards are now pinned to the same condition, and the refusal stays by name because IBM does not settle ignore vs INVREQ 33.

Sibling gaps (none needed by a burned program; 0 burned PUTs name BIT, CHAR or DATATYPE):

  • Same-type DATATYPE on an existing container: both runtimes let it through (container keeps its type); the X17 note calls this half open. Status: modelled as keep-type, unproven. No burned user, so frontier scope.
  • FROMCCSID with a data type and no channel; FROMCCSID onto an existing BIT container: refused by name, 0 burned users (DBB epscsmrd.cbl writes back a CHAR container, no type change).

Tests

pytest tests/cobol_mainframe/test_container_datatype_change_reach_5005.py: 5 passed, also via plain pytest from an unrelated cwd.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 31, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 31, 2026 14:10
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 14:11
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit fc698d9 into main Oct 31, 2026
60 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5005-20261031T1351Z branch October 31, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant