Recover RPG parameter constants, display messages and halt indicators #817
Loading…
Reference in a new issue
No description provided.
Delete branch "rpg-reply-and-constants"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Recover RPG parameter constants, display messages and halt indicators
Character parameters
Recover
*BLANKSwhen 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
*ONand*OFFby 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
DSPLYwith an explicitly empty queue and a response. A one-byte character response also works with a named queue.Display queue parameters
Recover a mainline
DSPLYqueue from a character entry parameter or from%CHARof 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,
%CHARof anint(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
17bb135df366d16488c5