OSI/AS Programming Manual
Procedure Call Descriptions
APS Procedure Calls
3–4 056783 Tandem Computers Incorporated
Figure 3-1. Sample APS Procedure Call Description (Page 1 of 2)
status :=
This indicates the type of value that the procedure returns. For the 
APS procedures, the variable name is always either 
status
 or 
error.
 The 
status
 values returned are from the list of ZAPS-VAL-STATUS-
xxx
 status 
codes given in Appendix B; the 
error
 values returned are from
the list of ZAPS-ERR-
xxx
 error values given in Appendix B.
This is the name of the procedure. It must appear in the program 
exactly as shown, including the underline characters. In a C program, 
all letters in the name must be uppercase.
You must enclose the list of parameters in parentheses. Use commas 
to separate multiple parameters. In the notation, optional parameters
are enclosed in square brackets (“[“ and “]”); these brackets must not
appear in the program. If you omit optional parameters, a placeholder
comma “,” must be present for each omitted parameter, except for
parameters omitted from the end of the list.
 status
 := APS_ASSOC_ATTACH_ ( 
cepi
 ! O
 , 
api-environment
 ! I
 , 
local-appl
 ! I
 ,[ 
tag
 ] ! I
 ,[ 
service-id 
] ! I
 ,[ 
subdevice-name
 ] ); ! I
status 
returned value
 INT
 indicates the outcome of the call...
cepi
 output
 INT .EXT:ref:1 
 is the connection endpoint identifier (CEPI)...
1 2 3 4
5
6
7
Legend
1
2
3
075










