Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Data Division
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
5-64
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, refer to the Compaq NonStop™ 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:
•
To use field delimiters, you must specify FIXED-DELIMITED or DELIMITED in
the MESSAGE FORMAT clause.
FIELD-DELIMITER [ IS ] { "character" }
{ decimal-value }
{ ON }
{ OFF }