Use of the task token UEPTSTOK
The task token, UEPTSTOK, provides the address of a 4-byte area that you can use to pass information between successive enqueue requests in the same task. For example, you can use the task token if you need to pass information between successive invocations of the XNQEREQ exit.
By contrast, UEPNQTOK is usable only for the duration of a single
enqueue request, because its contents can be destroyed at the end
of the request.
Note:
- The lifetime of the area pointed to by UEPTSTOK is the lifetime of the task.
- The value of UEPTSTOK is shared by all the exits to which it is passed during the lifetime of the task.
| Argument | Keyword | Data type | Input/output type |
|---|---|---|---|
| Arg1 | RESOURCE | DATA-AREA | input |
| Arg2 | LENGTH | BIN(15) | input |
| Arg3 | MAXLIFETIME | CVDA | input |