ACC X.25 Protocol User's Guide
X.25 Application Programming
ZX25CALLOUT (3X) — ACC X.25
Chapter 4 93
RETURN VALUE Routine zx25callout returns a 0 when successful. If there was a ZCOM
error, it returns a negative value. See
/opt/acc/include/zcom/zcomsys.h for the list of ZCOM error codes and
their meanings. If zx25callout itself failed, one of the following positive
error codes is returned:
ZxeUNKNOWN_L2_ZLU (02) Unable to find the X.25 link ZLU for
this SVC ZLU.
ZxeREQ_TIMEOUT (04) The remote ZCOM system did not
respond within 30 seconds.
ZxeNOT_A_SVC (05) The ZLU specified is a PVC ZLU. You
must specify an SVC ZLU with this
routine.
ZxeSVC_NOT_IDLE (08) The ZLU specified is already in use.
That is, it is not in the idle state and
therefore can not be used to place an
outbound call request.
ZxeLINK_IS_DOWN (11) The X.25 link is down. Unable to
accept call.
ZxeALL_LCNs_IN_USE (12) All of the available Logical Channels
(as determined by your subscription)
are in use. Try again later.
ZxeUNKNOWN_VC_ZLU (13) The ZLU specified is not an X.25
Virtual Circuit ZLU.
ZxeINVALID_CUD_LEN (14) The length specified for the Call User
data is longer than the maximum
permissible value (usually 128 bytes).
ZxeINVALID_FAC_LEN (15) The length specified for the Facilities
data is longer than the maximum
permissible value (usually 109 bytes).
ZxeMUST_CALL_ZX25INFO (17) The zx25info() routine has not been
called. You must call zx25info before
issuing any other zx25...() calls.
ZxeBAD_ZX25INFO_ADDR (18) The pointer to the zx25info_type
structure does not contain the same
address that was passed to the
zx25info() routine.










