Don't fault yourself. You may have based your belief on previous experience on systems where the case IS insensitive. System value QPWDLVL controls this. "Back in the day" it either didn't exist or, later on, defaulted to level 0. On new systems it still defaults to level 0.
https://www.ibm.com/docs/en/i/7.5?topic=passwords-password-level-qpwdlvl
Many of us have decades of experience and have handled the whole gamut from development to security to upgrades and patches. Coming in from development it takes a wee bit to garner all this.
That link above is the whole documentation on this system (software wise, I can get you hardware info too).
If you have a training budget IBM has several courses on IBM i. Sometimes you can get bundles. See more at https://www.ibm.com/training/search?query=ibm%20i
There are third party courses available also
https://www.fortra.com/solutions/ibmi-as400/academy
https://www.400school.com/
and a plethora of others.
------------------------------
Robert Berendt IBMChampion
------------------------------
Original Message:
Sent: Wed February 07, 2024 06:07 PM
From: tudis lei
Subject: Password issue when using Macro
Thank you for such valuable answer.
The reason for the issue is that I somehow believed the password was case-insensitive.
So I didn't spend time to perform a simple test,
instead I was thinking of all sorts of complicated situations...
Thank you for your time sincerely.
------------------------------
tudis lei
Original Message:
Sent: Wed February 07, 2024 02:06 AM
From: Satid Singkorapoom
Subject: Password issue when using Macro
Dear Tudis
Do you use a password that complies to any existing password rules in your IBM i server? Look at relevant system values on this.
If there is no complex password rules and assuming that you use purely UK/US English alphabets for the password and not other Latin alphabets, what is the Host Code Page parameter you specify for your 5250 session? Check this by selecting from the menu bar Communication --> Configure.... If it is not 037 United State, then you may need to try using proper alphabet supported by the specify Host Code Page. There may be some other reasons for your issue but this is the only one I'm familiar with.
------------------------------
Chance favors only the prepared mind.
-- Louis Pasteur
------------------------------
Satid S.
Original Message:
Sent: Tue February 06, 2024 09:03 AM
From: tudis lei
Subject: Password issue when using Macro
I am using macro (HAScript) to log in to an AS400 application - Infor Infinium HCM, the UI looks like this:
username: _______
password: _______
(The password input box is masked to never reflect any value/length of input on the UI)
When the password contains numbers (e.g. AB2000), the macro works perfectly.
When the password only has English letters (e.g. PAULO), the macro can still run but the application would say: the password is invalid. (I am 100% sure the script is inputting the correct string at the correct place)
What could be the reason for this? Thank you so much.
------------------------------
tudis lei
------------------------------