Recover RPG parameter constants, display messages and halt indicators #817

Manually merged
binjovi-bot merged 11 commits from rpg-reply-and-constants into trunk 2026-11-18 22:14:03 +00:00
Owner

Recover RPG parameter constants, display messages and halt indicators

Character parameters

Recover *BLANKS when a single store fills a multi-byte character parameter with a blank. A one-byte literal followed by padding keeps its literal spelling.

For a direct one-byte parameter assignment, identify *ON and *OFF by the literal pool entries used to initialize the cycle's indicator area. The compiler can give an ordinary quoted digit the same bytes in a different entry.

Display replies

Recover a mainline DSPLY with an explicitly empty queue and a response. A one-byte character response also works with a named queue.

Display queue parameters

Recover a mainline DSPLY queue from a character entry parameter or from %CHAR of a scale-zero packed entry parameter. The character descriptor must agree with the field width. The packed form requires the conversion, digit stripping, address and computed length through the display call.

Halt indicators

Recognize assignments to the H1 and H2 indicator bytes and the compiler routines that check them on input and return. The two calls must enter the same handler and use its return slot. The literal identities from cycle initialization preserve the spelling of indicator constants.

Numeric display messages

Recover a display message that joins a leading literal, %CHAR of an int(10) field, and an optional trailing literal. The reader follows the compiler's digit conversion and copies through to the buffer and length consumed by the display call, including a display inside an IF branch.

Gate

== a. development emits (dev-hash)
p1 same
p2 same
p3 same
p4 same
p5 same
== b. L10-test direction
L10-test unchanged
== c. committed twins (emit-bytes-diff)
emit-bytes-diff: identical
== d. captures (capture-emit-diff)
l10-danlong005-imoq-1 base=[8,8,0] head=[8,8,0] CHANGED fail-lines=0
l10-mauroghiglia-foms-ibmi-1 base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0
l10-sagartyagi121-newlibrary-1 base=[4,2,2] head=[4,4,0] CHANGED fail-lines=0
l10-danlong005-openrpg-2 base=[9,7,3] head=[9,9,0] CHANGED fail-lines=0
param-blank-full base=[2,2,0] head=[2,2,0] CHANGED fail-lines=0
param-switch-fig base=[3,3,0] head=[3,3,0] CHANGED fail-lines=0
display-byte-empty base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0
display-byte-named base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0
halt-ind-h1 base=[2,0,3] head=[2,2,0] CHANGED fail-lines=0
halt-ind-h2 base=[2,0,3] head=[2,2,0] CHANGED fail-lines=0
halt-ind-h1off base=[2,0,3] head=[2,2,0] CHANGED fail-lines=0
dsp-parmq-short base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0
dsp-parmq-packed base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0
l10-barrettotte-ibmi-lib-repo-1 base=[12,8,4] head=[12,12,0] CHANGED fail-lines=0
dsp-chain-prefix base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0
dsp-chain-suffix base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0
dsp-chain-branch base=[6,5,1] head=[6,6,0] CHANGED fail-lines=0
capture-emit-diff: 31 cases, 17 changed, 30 with no failure line in the head emit
== e. source agreement (agree)
suspect        base=2 head=0
conflict       base=0 head=0
params_wrong   base=0 head=0
decl_missing   base=0 head=0
decl_extra     base=0 head=0
type_unmarked  base=2 head=2
== f. host round trips (both binaries)
cases to round-trip: 30
l10-scout2/l10-arora23saurabh-ibm-bob-ibmi-benchmar/l10-arora23saurabh-ibm-bob-ibmi-benchmar-1 base=match head=match
l10-scout2/l10-danlong005-imoq/l10-danlong005-imoq-1 base=different head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-1 base=match head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-4 base=match head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-5 base=match head=match
dev5/p3                                            base=match head=match
dev5/p4                                            base=match head=match
dev5/p5                                            base=match head=match
activation-group-20261118/activation-caller        base=match head=match
activation-group-20261118/activation-new           base=match head=match
l10-scout2/l10-mauroghiglia-foms-ibmi/l10-mauroghiglia-foms-ibmi-1 base=different head=match
l10-scout2/l10-sagartyagi121-newlibrary/l10-sagartyagi121-newlibrary-1 base=different head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-2 base=failed head=match
parameter-blanks-20261118/param-blank-full         base=different head=match
parameter-blanks-20261118/param-blank-literal      base=match head=match
parameter-switches-20261118/param-switch-fig       base=different head=match
parameter-switches-20261118/param-switch-text      base=match head=match
display-reply-byte-20261118/display-byte-empty     base=different head=match
display-reply-byte-20261118/display-byte-named     base=different head=match
halt-indicators-20261118/halt-ind-h1               base=failed head=match
halt-indicators-20261118/halt-ind-h2               base=failed head=match
halt-indicators-20261118/halt-ind-h1off            base=failed head=match
halt-indicators-20261118/halt-ind-lr               base=match head=match
display-param-queue-20261118/dsp-parmq-short       base=different head=match
display-param-queue-20261118/dsp-parmq-packed      base=different head=match
l10-scout2b/l10-barrettotte-ibmi-lib-repo/l10-barrettotte-ibmi-lib-repo-1 base=different head=match
display-literal-chain-20261118/dsp-chain-bare      base=match head=match
display-literal-chain-20261118/dsp-chain-prefix    base=different head=match
display-literal-chain-20261118/dsp-chain-suffix    base=different head=match
display-literal-chain-20261118/dsp-chain-branch    base=different head=match
gate: PASS
# Recover RPG parameter constants, display messages and halt indicators ## Character parameters Recover `*BLANKS` when a single store fills a multi-byte character parameter with a blank. A one-byte literal followed by padding keeps its literal spelling. For a direct one-byte parameter assignment, identify `*ON` and `*OFF` by the literal pool entries used to initialize the cycle's indicator area. The compiler can give an ordinary quoted digit the same bytes in a different entry. ## Display replies Recover a mainline `DSPLY` with an explicitly empty queue and a response. A one-byte character response also works with a named queue. ## Display queue parameters Recover a mainline `DSPLY` queue from a character entry parameter or from `%CHAR` of a scale-zero packed entry parameter. The character descriptor must agree with the field width. The packed form requires the conversion, digit stripping, address and computed length through the display call. ## Halt indicators Recognize assignments to the H1 and H2 indicator bytes and the compiler routines that check them on input and return. The two calls must enter the same handler and use its return slot. The literal identities from cycle initialization preserve the spelling of indicator constants. ## Numeric display messages Recover a display message that joins a leading literal, `%CHAR` of an `int(10)` field, and an optional trailing literal. The reader follows the compiler's digit conversion and copies through to the buffer and length consumed by the display call, including a display inside an IF branch. ## Gate ``` == a. development emits (dev-hash) p1 same p2 same p3 same p4 same p5 same == b. L10-test direction L10-test unchanged == c. committed twins (emit-bytes-diff) emit-bytes-diff: identical == d. captures (capture-emit-diff) l10-danlong005-imoq-1 base=[8,8,0] head=[8,8,0] CHANGED fail-lines=0 l10-mauroghiglia-foms-ibmi-1 base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0 l10-sagartyagi121-newlibrary-1 base=[4,2,2] head=[4,4,0] CHANGED fail-lines=0 l10-danlong005-openrpg-2 base=[9,7,3] head=[9,9,0] CHANGED fail-lines=0 param-blank-full base=[2,2,0] head=[2,2,0] CHANGED fail-lines=0 param-switch-fig base=[3,3,0] head=[3,3,0] CHANGED fail-lines=0 display-byte-empty base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0 display-byte-named base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0 halt-ind-h1 base=[2,0,3] head=[2,2,0] CHANGED fail-lines=0 halt-ind-h2 base=[2,0,3] head=[2,2,0] CHANGED fail-lines=0 halt-ind-h1off base=[2,0,3] head=[2,2,0] CHANGED fail-lines=0 dsp-parmq-short base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0 dsp-parmq-packed base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0 l10-barrettotte-ibmi-lib-repo-1 base=[12,8,4] head=[12,12,0] CHANGED fail-lines=0 dsp-chain-prefix base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0 dsp-chain-suffix base=[2,1,1] head=[2,2,0] CHANGED fail-lines=0 dsp-chain-branch base=[6,5,1] head=[6,6,0] CHANGED fail-lines=0 capture-emit-diff: 31 cases, 17 changed, 30 with no failure line in the head emit == e. source agreement (agree) suspect base=2 head=0 conflict base=0 head=0 params_wrong base=0 head=0 decl_missing base=0 head=0 decl_extra base=0 head=0 type_unmarked base=2 head=2 == f. host round trips (both binaries) cases to round-trip: 30 l10-scout2/l10-arora23saurabh-ibm-bob-ibmi-benchmar/l10-arora23saurabh-ibm-bob-ibmi-benchmar-1 base=match head=match l10-scout2/l10-danlong005-imoq/l10-danlong005-imoq-1 base=different head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-1 base=match head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-4 base=match head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-5 base=match head=match dev5/p3 base=match head=match dev5/p4 base=match head=match dev5/p5 base=match head=match activation-group-20261118/activation-caller base=match head=match activation-group-20261118/activation-new base=match head=match l10-scout2/l10-mauroghiglia-foms-ibmi/l10-mauroghiglia-foms-ibmi-1 base=different head=match l10-scout2/l10-sagartyagi121-newlibrary/l10-sagartyagi121-newlibrary-1 base=different head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-2 base=failed head=match parameter-blanks-20261118/param-blank-full base=different head=match parameter-blanks-20261118/param-blank-literal base=match head=match parameter-switches-20261118/param-switch-fig base=different head=match parameter-switches-20261118/param-switch-text base=match head=match display-reply-byte-20261118/display-byte-empty base=different head=match display-reply-byte-20261118/display-byte-named base=different head=match halt-indicators-20261118/halt-ind-h1 base=failed head=match halt-indicators-20261118/halt-ind-h2 base=failed head=match halt-indicators-20261118/halt-ind-h1off base=failed head=match halt-indicators-20261118/halt-ind-lr base=match head=match display-param-queue-20261118/dsp-parmq-short base=different head=match display-param-queue-20261118/dsp-parmq-packed base=different head=match l10-scout2b/l10-barrettotte-ibmi-lib-repo/l10-barrettotte-ibmi-lib-repo-1 base=different head=match display-literal-chain-20261118/dsp-chain-bare base=match head=match display-literal-chain-20261118/dsp-chain-prefix base=different head=match display-literal-chain-20261118/dsp-chain-suffix base=different head=match display-literal-chain-20261118/dsp-chain-branch base=different head=match gate: PASS ```
sean added 11 commits 2026-11-18 21:55:33 +00:00
sean force-pushed rpg-reply-and-constants from 17bb135df3
Some checks reported errors
binjovi/ci A newer source or plan superseded this Build
to 66d16488c5
All checks were successful
binjovi/ci Binjovi completed the frozen plan
2026-11-18 21:55:38 +00:00
Compare
binjovi-bot manually merged commit 66d16488c5 into trunk 2026-11-18 22:14:03 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/sourcerer!817
No description provided.