Changing an individual password

TRS clients can change their own host password by executing this RPC, where newpwd is the new host password for the client:

exec sgw_pemchpwd newpwd, newpwd 

You must be logged in as the user whose password you want to change. Depending on whether security is enabled, TRS passes one of the following to the PEM server:

The user ID, current password, and new password must be up to 8 characters. You must enter the new password twice, as shown in the preceding syntax example.

This operation updates a user’s host password at the mainframe security system, and, when TRS security is enabled, it also updates the user’s HOST_PWD at the TRS security level.

Only the individual user can change his or her password on the host; the TRS administrator cannot perform this task.

NoteWhen security is not enabled, changing the host password does not change the password under which are currently logged in. When you change your host password, you cannot execute any RPCs until you log out of TRS and log in with the correct password.