Standards
Standards / Extensions |
C or C++ |
Dependencies |
z/OS® UNIX |
both |
OS/390 V2R9 |
Format
#include <sys/__wlm.h>
int UnDoImportWorkUnit(wlmxtok_t *exporttoken, unsigned long *conntoken);
AMODE 64:
#include <sys/__wlm.h>
int UnDoImportWorkUnit(wlmxtok_t *exporttoken, unsigned int *conntoken);
General description
Undoes an earlier request to import an enclave using the ImportWorkUnit()
function.
The UnDoImportWorkUnit() function uses the following parameters:
- *exporttoken
- Points to a work unit export token that was returned from a
call to ExportWorkUnit().
- *conntoken
- Specifies the connect token that represents the connection to
WLM.
Returned value
If successful, UnDoImportWorkUnit() returns 0.
If unsuccessful, UnDoImportWorkUnit() returns -1 and sets
errno to one of the following values:
- Error Code
- Description
- EFAULT
- An argument of this function contained an address that was not
accessible to the caller.
- EINVAL
- An argument of this function contained a value that is not correct.
- EMVSSAF2ERR
- An error occurred in the security product.
- EMVSWLMERROR
- A WLM service failed. Use __errno2() to obtain the WLM service
reason code for the failure.
- EPERM
- The calling thread's address space is not permitted to the BPX.WLMSERVER
Facility class. The caller's address space must be permitted to the
BPX.WLMSERVER Facility class, if the BPX.WLMSERVER class is defined.
If BPX.WLMSERVER is not defined, the calling process is not defined
as a superuser (UID=0).