6100 ADCCP Programming Manual

Contents
069225 Tandem Computers Incorporated vii
Section 4 Writing Applications that Use ADCCP
Application Tasks 4-1
Opening the Line 4-2
OPEN Procedure 4-5
FILEINFO Procedure 4-7
NUMOUT Procedure 4-8
WRITE Procedure 4-9
AWAITIO Procedure 4-9
ABEND Procedure 4-10
SETMODE Procedure 4-11
Considerations in Opening a Line 4-12
Multiple OPEN Calls 4-12
Unsolicited Messages 4-12
Multiple Processes Opening the Same Line 4-12
Setting Line Options 4-13
WRITEREAD Procedure 4-15
Considerations in Setting Line Options 4-16
Defining the Station List 4-17
Preparing to Receive Asynchronous Messages 4-19
Starting the Link 4-19
START 4-19
MODEM CONTROL 4-19
MODE SET 4-20
RECEIVETEXT 4-20
Transferring Data 4-21
Sending Data 4-21
Receiving Data 4-21
Shutting Down the Link 4-22
Closing the Line 4-22
Error Recovery 4-23
Error Handling and SYSGEN 4-24
Canceling a Request 4-25
Format of Requests and Responses 4-25
Definitions of Fields in Requests 4-26
Definitions of Fields in Responses 4-26
Definitions of Fields in Asynchronous Responses 4-27