Repository navigation
det: COMP-5 big-endian serves EXEC SQL and LINK COMMAREA over non-COMP-5 data (Part of #7646, #7709) - #7841
Merged
Conversation
…P-5 data (Part of #7646, #7709) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
This was referenced Nov 6, 2026
This was referenced Nov 6, 2026
squid-shepherd Bot
pushed a commit
that referenced
this pull request
Nov 6, 2026
…ow owned by #7845 (Part of #7709, #7845) (#7861) Co-authored-by: Claude Sonnet 5.5 <[email protected]>
This was referenced Nov 6, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #7709, #7646 (slice 5 follow-up to #7829). SQL and LINK COMMAREA refusals lifted; C7.md wording and the evidence re-proof are left.
What
zos_comp5=True(and the default, for a program that holds a COMP-5 item) no longer refuses two things that were gaps, not IBM limits:DetSql.putIntwrites the SQLCA's COMP-5 fields in the program's live order (read throughCobol.swapZosComp5, so noCobol.javaedit); the inline WHENEVER SQLCODE read insql.pyusesBIG_ENDIANwhen the program's wrapper is on._container_comp5). CBSA BNK1TFN's and XFRFUN's COMMAREAs are display / text.Under the default,
gen.zos_comp5is now cleared when the program holds no COMP-5 item, so the earliercomp5_idleconditions collapse togen.zos_comp5; output of programs without COMP-5 is unchanged.Class / Sibling gaps
Class: zos_comp5 refusals guarding a byte path the runtime or translator did not model (SQLCA order, COMMAREA over non-COMP-5 data). Members handled: EXEC SQL refusal, WHENEVER read, LINK/XCTL COMMAREA refusal (both verbs tested). Sibling gaps: foreign CALL, LE / Db2 CALLs (CEE*, DSNTIAC), AIBTDLI stay refused; no burned program needs them under the default (DBB epscsmrd is refused by design, #5106). A program with no COMP-5 item outside the SQLCA (XFRFUN, BNK1TFN) is still not wrapped big-endian under the default (explicit True does it): flipping that moves every port.
Remaining slices:
docs/language_status/register/C7.mdwording (6th file); evidence refresh re-proving Db2 / LINKing cases staled by the DetSql.java edit; census T3.Facts checked
XFRFUN and BNK1TFN: explicit True was refused (SQL / COMMAREA), now translates with
swapZosComp5(true). Neither holds COMP-5 outside the SQLCA. Tests: test_det_zos_comp5, test_det_port_zos_comp5_7646, test_burned_number_byte_views_7646, test_sql_whenever, test_det_programs, test_sql_unit_of_work, test_evidence_components pass.Cross-repo
None.
🤖 Generated with Claude Code