Pathmaker Programming Guide

Modifying Requesters
Advanced Pathmaker Programming Topics
067868 Tandem Computers Incorporated 9–29
Messages for DB Requesters
The messages for DB requesters are displayed on the ADVISORY line when
appropriate. These messages can be rewritten or translated into other languages.
Some of these messages are incomplete in the file and are filled in programmatically,
usually with numeric values.
If you decide to rewrite these messages, you must be careful not to write a new
message that overflows the field lengths of the locations to which the messages are
moved in the Working-Storage Section of the generated SCREEN COBOL code. For
example, T9154-INSERT-OK-MESSAGE is moved to T9154-OK-MSG, which has a
length of 22 characters. In T9154CPY, you could rewrite this message any way you
want as long as it is equal to or less than 22 characters; for example:
?SECTION DB-MESSAGE-FORMATS, TANDEM
.
.
.
01 T9154-INSERT-OK-MESSAGE PIC X(18)
VALUE "Record inserted OK".
.
.
.
You must redefine the field length if the message length changes:
?SECTION DB-MESSAGE-FORMATS, TANDEM
.
.
.
01 T9154-INSERT-OK-MESSAGE PIC X(19)
VALUE "Next record, please".
.
.
.