Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)

Data Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual426750-003
5-71
Clauses in Message Description Entry
MESSAGE-DELIMITER Clause
The MESSAGE-DELIMITER clause defines the character(s) used to delimit the
message’s end. You can use this clause to define a message delimiter that matches
the message delimiter that your program expects. The default message delimiter is
two slashes (//).
The MESSAGE-DELIMITER clause can also disable processing of the message
delimiter. You can disable processing of the message delimiter if message delimiters
are not expected in the message format.
char-code
is any single ASCII character in quotation marks or is a number from 0 through
255. This number is the decimal representation of the desired ASCII or EBCDIC
character. For example, 80 represents the character P in ASCII or the character
& in EBCDIC.
OFF
disables processing of delimiters at message level. The following rules apply:
To use message delimiters, you must specify FIXED-DELIMITED or
DELIMITED in the MESSAGE FORMAT clause.
If you omit the MESSAGE-DELIMITER clause, message delimiter processing
is enabled and the default message delimiter is two slashes (//).
When dealing with the data stream on a message level, you can use the
MESSAGE-DELIMITER clause with the RESULTING COUNT clause. For
details, see the RESULTING COUNT clause.
10 Numeric source does not match picture Yes Ye s
11 Numeric value overflow during conversion Yes Yes
16 Field is absent Yes No
MESSAGE-DELIMITER [ IS ] {
char-code
[ ,
char-code
] }
{ OFF }
Table 5-11. Relevant SEND MESSAGE Edit Advisory Error Numbers (page2of2)
Applies to
Edit Advisory
Error Number Meaning Input Output