Changing RACF passwords

When IMS Connect is configured to perform RACF® authentication, you can change RACF password by issuing a password change request to IMS Connect from your Java™ application.

To change the RACF password of the user ID that is specified in your message from your Java application:

Procedure

Submit a message that includes the password change request keyword HWSPWCH in the following format:
HWSPWCH old-password/new-password/new-password
The HWSPWCH keyword must be at the beginning of the application data section of the message and be followed by one or more blank spaces, the current password, a forward slash character, the new password, another forward slash and then the new password again.
  • The keyword HWSPWCH must be all uppercase characters.
  • You must include one or more blank spaces between HWSPWCH and the old password.
  • The old password must be valid password for the user ID.
  • All passwords must follow RACF standards.

If the password is successfully changed, a "HWSC0031I PASSWORD CHANGE SUCCESSFUL" message is returned. If the operation fails, the IMS TM resource adapter throws an exception ICO0001E with a reason code indicating the error.