Returns the PASSWORD of the user.
A system maintained variable that returns the PASSWORD of the user. The password returned is that used to log on. This variable is valid only for use within the LOGON REQUEST when starting an MAI-FS (Multiple Application Interface-Fullscreen) session, or from within an MAI session script procedure. For security reasons, it returns a null value if used elsewhere.
Example: &USERPW
TSO &USERID/&USERPW
Notes:
The password is stored in encrypted form, and is decrypted only when referenced. In addition, buffers containing the password are erased immediately after use.
The SYSPARMS USERPW operand determines the availability of &USERPW as logon data. For more information, see the Reference Guide. You can prevent the use of this system variable in your product region.
If a user changes their password, &USERPW returns the new value.
| Copyright © 2009 CA. All rights reserved. |
|