Chapter Contents

Previous

Next
appc

appc



Perform APPC/VM Functions

Portability: SAS/C extension


SYNOPSIS
DESCRIPTION
RETURN VALUE
CAUTION
IMPLEMENTATION
EXAMPLE
RELATED FUNCTIONS


SYNOPSIS

#include <cmsappc.h>

extern int appcrecv(struct appc_send_plist *send_p);
extern int appcscnf(struct appc_send_plist *send_p);
extern int appcscfd(struct appc_send_plist *send_p);
extern int appcsdta(struct appc_send_plist *send_p);
extern int appcserr(struct appc_send_plist *send_p);
extern int appcsreq(struct appc_send_plist *send_p);


DESCRIPTION

Each of these functions performs an APPC/VM function. The function names and APPC/VM functions are associated as follows:

SAS/C Functions APPC/VM Function
appcrecv RECEIVE
appcscnf SENDCNF
appcscfd SENDCNFD
appcsdta SENDDATA
appcserr SENDERR
appcsreq SENDREQ


RETURN VALUE

All of the functions return the condition code set by the APPC/VM macro instruction.


CAUTION

You must establish an IUCV signal handler with either signal or sigaction and initialize IUCV communications with iucvset before invoking any of these functions.


IMPLEMENTATION

The appc functions invoke the APPC/VM Assembler interface.


EXAMPLE

See The APPCSEND Program and The APPCSERV Program.


RELATED FUNCTIONS

iucvset


Chapter Contents

Previous

Next

Top of Page

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