Repository navigation
det runtime: same-shape zoned MOVE is a byte copy (cobc); carddemo-cardupdate baseline re-pointed at #4875 - #4879
Merged
Conversation
…as cobc compiles it; re-point carddemo-cardupdate at #4875 (Part of #4875) cobc turns a MOVE between zoned items of the same digits / scale / sign / size into a memcpy (cb_build_move_copy), so spaces in a PIC 9(3) travel (COCRDUPC's CVV); the det runtime ran store_common_region (space -> '0'). Measured against cobc per sender shape (OWN receiver in test_det_nondigit_zoned.py); C11 documents it. carddemo-cardupdate's COMMAREA now agrees; its file record still differs (typed CardRecord entity holds 000) and 30 branches are uncovered, so the baseline entry stays, now pointing at the open issue #4875 with the real cause. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
Contributor
Owner
Author
|
No description provided. |
…) (Part of #4875) IBM documents no result for non-digit data in a numeric item, but APAR PH21007 (Enterprise COBOL 6.3) says the V6.2 sign-nibble fix-up in zoned to zoned moves was removed "to match the pre-V5 behavior", and it only ever applied where the receiver's sign or length differs. A MOVE between items of one shape copies the bytes as they are on IBM too, as cobc does: MATCHED for that case. Read from the APAR, not run on z/OS (#4050). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 11, 2026 10:45
squid-protocol
enabled auto-merge (squash)
October 11, 2026 10:45
Owner
Author
|
No description provided. |
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 #4875 (does not close it).
carddemo-cardupdate does NOT prove since #4806/#4871, so its baseline entry stays, re-pointed at the open issue #4875 (the old #4085 is closed and described a different thing) with the real cause:
CARD-CVV-CD-XintoCARD-UPDATE-CVV-CD PIC 9(3). cobc compiles a MOVE between zoned items of one shape as a memcpy, so the spaces travel; the det runtime always ran libcob'sstore_common_region(space -> '0'), so the COMMAREA differed (<invalid b' '>vs0) inpf5-confirms-and-rewrites/pf5-rewrite-fails.Cobol.movenow copies the bytes for one-shape zoned items; measured against cobc for every sender shape intest_det_nondigit_zoned.py(receiverOWN; expected lines regenerated from cobc, additions only); register C11. After it the COMMAREA events are 3/3 equal in all 33 scenarios, on the port and the java-facade.CARD-CVV-CDCOBOL, Java000:DetCics.Storepersists through the typedCardRecordentity, which cannot hold non-digits. Needs a lossless entity/store design (options in the issue).Runtime change, so the whole det suite was re-proved (
proof_sweep.py --det-only, 104 cases, Db2 included): "sweep: as expected", nothing regressed or newly proven besides the above. Gates: pr_gates --fast 5/5, --ratchets 7/7, none skipped. No change to gitgalaxy/standards/cics or det/cics.py (cobolrt/Cobol.java is the shared runtime).🤖 Generated with Claude Code
https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX