Dear Doug
Your message was understood. Please read on to the end as I have a question for you.
Dear Kathy
From a Google search, I found this old IBM Support Forum entry discussing a problem in running Web Query report :
https://www.ibm.com/mysupport/s/question/0D50z000060GUoHCAW/webquery-scheduled-jobs which indicated that
Web Query report failed to run when the user's password expired. This is a standard IT security practice not to allow a user with expired password to get into the system. So, I believe the problem you asked about must have the cause in the possibility that your user's password had already passed its expiration date at the moment your user tried to run the report which subsequently failed. You can easily test this by using CHGUSRPRF with PWDEXP(*YES) (do not change the password yet) and try to run a report for that user profile to see if it fails with the error that you described. If this is the case, it explains your statement that other users who use IBM i regularly never has this problem because they are always prompted to supply a new password when they access IBM i from any user interface other than Web Query's.
The solution is that you need to find a way for that problematic user to check if the password is expired yet before running the report. Or you change the report to run under a different user profile WITHOUT password expiration (read the thread above how to do this). If this latter method causes a violation in your organization's IT security policy, then what you can do is to create a new user with PASSWORD (*NONE) which should not violate the policy because a user profile with PASSWORD(*NONE) cannot be used to sign on to IBM i system (and therefore no worry about password expiration) and it is used to run batch jobs when normal user profile has any problem running jobs like what you asked. You ALSO need to assign proper access authority to this user profile object with no password so that it can be used by only a limited group of users who have a need for it. Also assign this new user proper access authority to your application data objects
Doug
This problematic user accesses IBM i ONLY from Web Query interface. I wonder if you or your colleague can inform Kathy if there is a proper practice in Web Query usage for such a user to get IBM i prompt asking for a new password when the existing one already expires before they can proceed with using Web Query ?
------------------------------
Right action is better than knowledge; but in order to do what is right, we must know what is right.
-- Charlemagne
Satid Singkorapoom
------------------------------
Original Message:
Sent: Mon January 23, 2023 06:58 AM
From: Kathy Ried
Subject: Where is the iSeries User/password tied to a scheduled report?
I have a user who writes her own DB2 reports and creates the schedules for them. Our system requires that we change our iSeries password every 90 days. So every time she changes her password, her scheduled DB2 Web Query reports do not run. Apparently they can't run because the password has changed. The scheduled log report says 'Task error: IBFSException 6000: Bad userid'. Her profile shows that there were 74 'Password verifications not valid' from last night's attempts to run her reports. Note: she does not use her iSeries User/password for anything else, she works outside of the iSeries otherwise.
Where/how is the userid/password attached to the scheduled report? is it on the report, or is it on the scheduling setup? My own scheduled reports, and others that also schedule reports, do not have a problem when changing password. Is there a setting that she may have set somewhere that is requiring the userid/password in order for the schedule job to run?
------------------------------
Kathy Ried
------------------------------