Change Previous Sign-On Date (QSYCHGPR) API


  Required Parameter:

1 Error Code I/O Char(*)

  Default Public Authority: *USE

  Threadsafe: No

The Change Previous Sign-On Date (QSYCHGPR) API changes the previous sign-on date and time to the current date and time for the user profile that is currently running. If a user has been swapped in using the Set Profile (QWTSETP) API, that user's previous sign-on date and time is the one that gets changed.


Authorities and Locks

None


Required Parameter

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
CPF2213 E Not able to allocate user profile &1.
CPF3C90 E Literal value cannot be changed.
CPF3CF1 E Error code parameter not valid.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.


API introduced: V2R3
Top | Security APIs | APIs by category