6100 ADCCP Programming Manual

4 Writing Applications that Use
ADCCP
069225 Tandem Computers Incorporated 4–1
This section describes the tasks an application must perform to ensure successful
communication with stations on an ADCCP line. These tasks and the methods of
performing them differ slightly depending on whether:
The line is switched or leased.
The local station is a primary station, a combined station, or one or more
secondary stations.
The application is the sole user of the line.
An overview of the application tasks is also provided. The information provided
describes:
The requests to make to accomplish the task
How the task differs for different types of lines and stations
The special factors to consider if the line has multiple openers
The system procedure calls used to accomplish an application task
Detailed descriptions of ADCCP requests and responses follow the descriptions of the
application tasks
Application Tasks For an application to communicate over an ADCCP line, it must perform a specific set
of tasks. These tasks are:
Opening the line
Setting line options
Defining the station list
Preparing to receive asynchronous messages
Starting the link
Transferring data
Shutting down the link
Closing the line
The application must also be able to perform error recovery in addition to the eight
tasks involved in communicating over an ADCCP line. Refer to the CP6100 I/O Process
Programming Manual for a description of error handling and reporting, and to the
Guardian 90 Operating System Programmer’s Guide for error recovery.