Chapter Contents |
Previous |
Next |
appcconn |
Portability: | SAS/C extension |
SYNOPSIS | |
DESCRIPTION | |
RETURN VALUE | |
CAUTION | |
EXAMPLE | |
RELATED FUNCTIONS |
SYNOPSIS |
#include <cmsappc.h> int appcconn(const char *name, struct appc_conn_plist *conn_parmlst, void *resv);
DESCRIPTION |
The
appcconn
function invokes the APPC/VM CONNECT function.
name
matches the name of a previously invoked
iucvset
function.
resv
is reserved and
should be set to
NULL
.
RETURN VALUE |
The
appcconn
function returns
0
if the function call is successful. If neither
signal
nor
sigaction
has been called,
appcconn
returns
-1
. If the CMSIUCV macro
returns a nonzero return code,
appcconn
returns that value. If an IUCV error
occurs,
appcconn
returns
1
, and the value of IPRCODE is
available in
conn_parmlst-> ip.rcode
.
CAUTION |
You must call
iucvset
before calling
appcconn
.
EXAMPLE |
#include <cmsappc.h> #include <lcstring.h> int rc; struct appcc_conn_plist path; . . . rc = appcconn("APPCSEND",&conn, NULL);
RELATED FUNCTIONS |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.