Chapter Contents

Previous

Next
appcsevr

appcsevr



Perform an APPC/VM SEVER

Portability: SAS/C extension


SYNOPSIS
DESCRIPTION
RETURN VALUE
CAUTION
IMPLEMENTATION
EXAMPLE


SYNOPSIS

#include <cmsappc.h>

int appcsevr(const char *name, struct appc_send_plist *send_p,
             const char *code);


DESCRIPTION

The appcsevr function invokes the APPC/VM SEVER function. name is the name passed to a previously invoked appcconn function; send_p is the pointer to an APCC/VM parameter list, and code 6 is either "ALL" or "ONE". Refer to iucvsevr for more information on the code parameter.


RETURN VALUE

The appcsevr function returns 0 if the function call is successful. If either signal or sigaction has not been called, appcsevr returns -1 . If the CMSIUCV macro returns a nonzero return code, appcsevr returns that value. If an IUCV error occurs, appcsevr returns 1 , and the value of IPRCODE is available in send_p-> ip.rcode .


CAUTION

You must call iucvset before calling appcsevr .


IMPLEMENTATION

The appcsevr function invokes the APPC/VM SEVER function.


EXAMPLE

#include <cmsappc.h>

short pathid;           /* PATHID to be severed */

path.pathid = pathid;
rc = appcsevr("SENDER",&path,"ONE");


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.