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

Data Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual426750-003
5-65
Clauses in Message Description Entry
MESSAGE SECTION.
01 MSG MESSAGE FORMAT IS FIXED.
05 MSG-FLD1 PIC X(10) FROM WS-MSG-FLD2.
05 MSG-FLD2 PIC X(5) FROM WS-MSG-FLD3.
05 MSG-FLD3 PIC X(10) FROM WS-MSG-FLD1.
05 MSG-FLD4 PIC 99,999 FROM WS-MSG-FLD4.
For detailed information on how to define the message description entry to reorder,
format, and convert the data, see the
Pathway/iTS TCP and Terminal Programming
Guide
.
Clauses in Message Description Entry
FIELD-DELIMITER Clause
The FIELD-DELIMITER clause defines the character used to separate one field from
another in a message. You can use this clause to define a field delimiter that
corresponds to the field delimiter specified by the appropriate message format
protocol. The default field delimiter is a comma (,).
The FIELD-DELIMITER clause can also disable the processing of the field delimiter.
You must disable the field delimiter when dealing with the data stream as an entire
message.
"
character
"
is any single ASCII character enclosed in quotation marks. The default field
delimiter is a comma (,).
decimal-value
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 letter P in
ASCII or the ampersand (&) in EBCDIC.
ON
enables processing of delimiters at the field level.
OFF
disables processing of delimiters at the field level.
The following rules apply:
FIELD-DELIMITER [ IS ] { "
character
" }
{
decimal-value
}
{ ON }
{ OFF }