Question

  Asked: Mar 6 2008   4:08 PM GMT
  Asked by: Rpm


Do API's 'QSYRUPWD' and 'QSYSUPWD' work with QSECOFR user profile?


QSYRUPWD, QSYSUPWD, AS/400 security, i5, OS/400

Our password maintenance programs, use API's 'QSYRUPWD' and 'QSYSUPWD'.

They work a traet with standard profiles, but don't seem to work for user profile QSECOFR. (we also have a copy of this profile called WSECOFR and this doesn't work either).

Is there a built-in 'block' on the QSECOFR profile within these API's?

Thanks for any help.

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



What type of error are you getting? QSECOFR, and WSECOFR, should work fine with the APIs. There is CPD2201 listed in QSYSUPWD as a possible error, but I just made a quick test case using QSECOFR and it ran fine.


Hi, Thanks for testing that out for me. I believe I've spotted my own deliberate mistake. It appears to be a timing issue on the system where the password is changed. My pgm actually puts the old password back, after retrieving the new one. When testing out QSECOFR password changes, it seems that I was actually retrieving the old password, not the new one. I have now added a delay into the 'put the old password back' routine and it now works fine. Thanks again.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register