Standards
Standards / Extensions |
C or C++ |
Dependencies |
z/OS® UNIX |
both |
|
Format
#include <sys/__wlm.h>
int ContinueWorkUnit(wlmetok_t *enclavetoken);
General description
The ContinueWorkUnit function provides the ability for an application
to create a WLM work unit that represents a continuation of the work unit associated with
the current home address space.
- *enclavetoken
- Points to a data field of type wlmetok_t where the ContinueWorkUnit()
function is to return the WLM work unit enclave token.
Returned value
If successful, ContinueWorkUnit() returns 0.
If unsuccessful, ContinueWorkUnit() 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 an incorrect value.
- EMVSSAF2ERR
- An error occurred in the security product.
- EMVSWLMERROR
- The WLM create enclave 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 it is defined. If BPX.WLMSERVER is
not defined, the calling process is not defined as a superuser (UID=0).