Invalidate Profile Token (QSYINVPT, QsyInvalidatePrfTkn) API


  Required Parameter Group for QSYINVPT:

1 Profile token Input Char(32)
2 Error code I/O Char(*)

  Default Public Authority: *USE

  Threadsafe: Yes



  Syntax for QsyInvalidatePrfTkn:
 #include <qsyptkn.h>

 void QsyInvalidatePrfTkn
        (unsigned char  *Profile_token,
         void           *Error_code);

  Service Program: QSYPTKN

  Default Public Authority: *USE

  Threadsafe: Yes

The Invalidate Profile Token (OPM, QSYINVPT; ILE, QsyInvalidatePrfTkn) API invalidates a profile token. The profile token is no longer usable for other profile token APIs except the Remove Profile Token (QSYRMVPT, QsyRemovePrfTkn) API.


Authorities and Locks

API Public Authority
*USE

Required Parameter Group

Profile token
INPUT; CHAR(32)

The profile token to be invalidated.

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

Message ID Error Message Text
PF2225 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.


API introduced: V4R5

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