1 | Time out | Output | Binary(4) |
2 | Profile token | Input | Char(32) |
3 | Error code | I/O | Char(*) |
#include <qsyptkn.h> void QsyGetPrfTknTimeOut (int *Time_out, unsigned char *Profile_token, void *Error_code);Service Program: QSYPTKN
The Get Profile Token Time Out (OPM, QSYGETPT; ILE, QsyGetPrfTknTimeOut) API gets the number of seconds until a profile token is not valid.
The seconds until the profile token times out. If 0 is returned, the profile token is no longer valid.
The profile token for which to get the time out.
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
Message ID | Error Message Text |
---|---|
CPF2225 E | Not able to allocate internal system object. |
CPF2274 E | Profile token is not valid. |
CPF3CF1 E | Error code parameter not valid. |
CPF3C36 E | Number of parameters, &1, entered for this API was not valid. |
CPF3C90 E | Literal value cannot be changed. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
Top | Security APIs | APIs by category |