Chapter Contents

Previous

Next
iucvclr

iucvclr



Terminate IUCV Communications

Portability: SAS/C extension


SYNOPSIS
DESCRIPTION
RETURN VALUE
CAUTION
IMPLEMENTATION
EXAMPLE


SYNOPSIS

#include <cmsiucv.h>

int iucvclr(const char *name);


DESCRIPTION

iucvclr terminates IUCV communications for a program. name points to a string that must match the name argument to a previously invoked iucvset function.


RETURN VALUE

iucvclr returns 0 if the function call was successful. If signal(SIGIUCV,fp) has not been called, iucvclr returns - 1 . If the HNDIUCV macro returns a nonzero return code, iucvclr returns that value. If an IUCV error occurs, iucvclr returns 1000 + the value of IPRCODE (as does HNDIUCV).


CAUTION

You must call iucvset before calling iucvclr .


IMPLEMENTATION

iucvclr invokes the CMS HNDIUCV macro with the CLR parameter and frees the external interrupt data queue associated with name .


EXAMPLE

#include <cmsiucv.h>
.
.
.
rc = iucvclr("SENDER");


Chapter Contents

Previous

Next

Top of Page

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