Envoy Application Programming Manual
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Application Programming With Envoy
- 7 ADM-2 Multipoint Supervisor Protocol
- 8 TINET Multipoint Supervisor Protocol
- 9 Burroughs Point-To-Point Protocol
- 10 Asynchronous Line Supervisor Protocol
- A ASCII Character Set
- B ASCII to EBCDIC Code Conversion
- C File-System Procedures
- D Statistics Messages
- E S-Series Changes to Envoy
- NonStop™ Himalaya S-Series Server Architecture
- G-Series Migration Considerations
- CBSENSEON and CFSENSEON Modifiers
- LEOTRESYN and NOLEOTRESYN Modifiers
- Treatment of Characters After the Termination Character
- Number of SYN Characters
- DTR Drop
- Reporting of Parity Error
- Half-Duplex Support for Asynchronous Lines
- Controller Replacement
- SYSGEN and COUP
- Unit Numbers
- FDX Line Changes
- No Support for Auto-Call Unit
- Glossary
- Index
TINET Multipoint Supervisor Protocol
Envoy Application Programming Manual—427159-001
8-30
Programming Example
Table 8-10 lists the error codes that can occur during a WRITE operation.
Programming Example
The programming example Example 8-15 shows the following operations:
•
Formatting, selecting, and sending a write-tutorial-mask message
•
Polling the network
•
Formatting, selecting, and sending a write-data message
The example program is a rudimentary credit-checking program.
INPUT (Tutorial Sequence)
Table 8-11 lists the information entered at a TINET terminal:
Table 8-10. WRITE Error Codes
Error Code Description
0 Operation successful
161 Impossible event occurred for line state
162 Operation timed out
166 ENQ received
171 No response or invalid response received
172 Reply not proper for protocol
173 Maximum allowable NAKs received
177 Text overrun
Table 8-11. TINET Terminal Input
ID Light Meaning Data to Be Entered Key
1 Enter account number 1:15 digits Field
2 Enter bank number 4 digits Field
3 Enter expiration date 3:4 digits Field
4 Enter reference number 8 digits Field
5 Enter transaction code 1:2 digits Field
6 Enter amount of transaction 3:7 digits Field
RE-ENTER Re-enter data specified by current ID
LIGHT