Problem solve
Get help with specific problems with your technologies, process and projects.
Error message not displaying correctly when user has not established a 5250 connection
We've created our own program to do additional password validation, but we're running into problems displaying the error message. We used the sample program from the iSeries Security Reference Manual as a template. Messages are sent using the SNDPGMMSG command. The message displays correctly when the user has already established a 5250 session. However, if the user is going through iSeries Access and is prompted (by a pop up window that displays: Password will expire in XX days or password expired) for the user ID/password, the message is not displayed. I suspect it is because the 5250 session is not established. Any thoughts?
We've created our own program to do additional password validation, but we're running into problems displaying the error message. We used the sample program from the iSeries Security Reference Manual as a template. Messages are sent using the SNDPGMMSG command. The message displays correctly when the user has already established a 5250 session. However, if the user is going through iSeries Access and is prompted (by a pop up window that displays: Password will expire in XX days or password expired) for the user ID/password, the message is not displayed. I suspect it is because the 5250 session is not established. Any thoughts?
I believe that the problem is that iSeries Access has their own hard-coded messages and they are not "looking for" messages from a password validation program. I've talked with IBM about this and there is currently no way around it. I suggest that you enter a program change request so that the iSeries Access message is customizable in this situation.
Dig Deeper on Debugging
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.
Meet all of our AS/400 experts
View all AS/400 questions and answers
Start the conversation
0 comments