Get Profile Token Time Out (QSYGETPT, QsyGetPrfTknTimeOut) API


  Required Parameter Group for QSYGETPT:


  Default Public Authority: *USE

  Threadsafe: Yes



  Syntax for QsyGetPrfTknTimeOut:
 #include <qsyptkn.h>

 void QsyGetPrfTknTimeOut
        (int            *Time_out,            
         unsigned char  *Profile_token,
         void           *Error_code);

  Service Program: QSYPTKN

  Default Public Authority: *USE

  Threadsafe: Yes

The Get Profile Token Time Out (OPM, QSYGETPT; ILE, QsyGetPrfTknTimeOut) API gets the number of seconds until a profile token is not valid.


Authorities and Locks

API Public Authority
*USE

Required Parameter Group

Time out
OUTPUT; BINARY(4)

The seconds until the profile token times out. If 0 is returned, the profile token is no longer valid.

Profile token
Input; CHAR(32)

The profile token for which to get the time out.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages



API introduced: V4R5

[ Back to top | Security APIs | APIs by category ]