My TSS exit TSSINSTX gets called for the POSTINIT, PASSWORD and PASSPHRASE functions. A segment called $XXX was created to hold an encrypted password or passphrase and the current date. I encrypt by calling CSNBSAE.
I take the password (or new password if one exists) and place it in the TSS parameter area for TSSAI. The password (or new password) is written into the TSS database by calling TSSAI using the $XXX segment. I do the same for passphrases. The encrypted old password (or new password) is successfully written to the TSS database by the call to TSSAI using a TSSCLASS of FLDUPD. But when there is a new password, the new password is NOT updated for the userid. It seems that the call to TSSAI is interfering with the update of the new passwords for the userid. When I comment the call to TSSAI, the new password is updated for the userid. I can login with the new password and it works. The return code from the TSSAI call is 0. The documentation on TSSINSTX and TSSAI made no mention of conflicts between the the exit and the TSSAI API. Can someone help me with this ? Thanks in advance, Pierre/ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
