Error in SYS2.JCLLIB.CHGPWD Volker Bandke turnkey-mvs

If anyone has been using Volker Bandke’s turnkey-mvs trying to change their password using the provided job in SYS2.JCLLIB.CHGPWD and then noticed that they are unable to login, the provided job has a slight flaw in it that actually changes the username and not the password.

Original Script (Lines 21-23)

CHANGE (_theuid) DATA(_thepass)

The job jcl should in fact be:

CHANGE (_theuid _curpass) DATA(_newpass)

This will then successfully change the password for the account, however please note that the target user will need to be logged off of TSO

Volker Bandke’s Turnkey MVS


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s