Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)

Data Division
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual426750-001
5-92
Clauses in Message Description Entry
2. The variable-length field MSG2 contains an output message that originated in
W-FLD2. The first byte of MSG2 contains the number of data characters in the
message:
3. The VARYING2 field MSG3 receives a message and passes it to W-FLD3. The first
two bytes of MSG3 specify that the message has two characters of data:
Since W-FLD3 is an eight-byte binary item, the message is right justified in the field
and filled with zeros.
4. The VARYING1 field MSG4 sends a message containing two characters of data
from W-FLD1:
MSG4 receives a three-character reply, which it places in W-FLD4:
Since W-FLD4 is an alphanumeric item, the reply is left justified in the field and
filled with blanks.
014CDT .CDD
W-FLD2 MSG2
AB A B
,
2
count value
015CDT .CDD
0 2 3 249
,
0000003249
MSG3 W-FLD3
count value
016CDT .CDD
AB
,
2AB
W-FLD1 MSG4
MSG4 W-FLD4
3C CDE
017CDT .CDD
DE