OSI/AS Programming Manual
APS_ASSOC_CONNECTREQ_
APS Procedure Calls
056783 Tandem Computers Incorporated 3–31
APS_ASSOC_CONNECTREQ_
This procedure allows you to issue a session, presentation, or ACSE connect request to
a remote application. For more information about connection establishment, see
“Establishing a Connection” in Section 2.
status
:= APS_ASSOC_CONNECTREQ_
(
cepi
! O
,
api-environment
! I
,
local-appl
! I
,
remote-appl
! I
,
session-rqmnts
! I
,[
conid
] ! I
,[
user-data
] ! I
,[
tag
] ! I
,[
service-id
] ! I
,[
mode
] ! I
,[
pres-context-list
] ! I
,[
pres-default-context-name
] ! I
,[
acse-appl-context-name
] ! I
,[
acse-local-ae-title
] ! I
,[
acse-remote-ae-title
] ! I
,[
acse-local-invocation-ids
] ! I
,[
acse-remote-invocation-ids
] ! I
,[
subdevice-name
] ); ! I
status
returned value
INT
indicates the outcome of the call. For the possible values of ZAPS-VAL-STATUS-
xxx, see “Status Codes” in Appendix B.
cepi
output
INT .EXT:ref:1
is the connection endpoint identifier (CEPI) for this connection. If this procedure
call is successful, the interface generates a valid CEPI. If the procedure fails, the
API returns a CEPI of -1.
api-environment
input
INT .EXT:ref:(ZAPS-DDL-ENVIRONMENT)
specifies the OSI/AS subsystem you wish to use (identified by its OSI manager
process name) and the wait mode.