You should be able to use DSPUSRPRF to create an output file :-
DSPUSRPRF USRPRF(*ALL) OUTPUT(*OUTFILE) OUTFILE(YOURLIB/YOURFILE)
Then you can use Query to select the user profiles with password expiration of *NOMAX. This should be field UPPWEI < 0. If field UPPWEI = 0 then this should use the system value QPWDEXPITV.
You should ignore it and put the effort into removing all of the passwords. Why mess around with them when an EIM/SSO setup makes them obsolete?