Pathway/iTS TCP and Terminal Programming Guide
Processing Unsolicited Messages
Compaq NonStop™ Pathway/iTS TCP and Terminal Programming Guide—426751-001
7-18
Unsolicited-Message Reply Layout
03 REPLY-ID PIC 9(4) COMP VALUE 1.
Reply identification number. Must be 1.
03 REPLY-VERSION PIC 9(4) COMP.
Reply format version number. This number is less than or equal to the value
of the MSG-VERSION field in the corresponding unsolicited message. The
TCP converts this field to:
$MIN ( MSG-VERSION, version the TCP recognizes )
This line lets the message sender, when it receives the reply back from the
TCP, know what version level of the UMP protocol the TCP is using,
thereby allowing message senders to interact more effectively with TCPs
that are using older versions of the UMP protocol.
03 REPLY-HEADER-LEN PIC 9(4) COMP.
The number of bytes in the header of the reply message (currently 16).
03 ERROR-CODE PIC 9(4) COMP.
Zero or an error code returned by the TCP.
03 INFO1 PIC 9(4) COMP.
See error code 10 in "Unsolicited Message Error Codes" in this section.
03 INFO2 PIC 9(4) COMP.
Reserved for future use.
03 REPLY-SEQ-NUM PIC 9(4) COMP.
The sequence number (MSG-SEQ-NUM) from the message that is being
replied to. The COMP VALUE is a 16-bit binary number.
02 SCOBOL-REPLY.
The requester furnishes this data by using a REPLY TO UNSOLICITED
MESSAGE statement.
03 REPLY-TEXT PIC X(number-of-characters).
The text being returned.