Use DSPMSGD to get the list of all message ids in a message file.
Register Hereor login if you are already a member
On your as/400 - wrkmsgf q*
System message files usually begin with Q
In this is in a message file qpqmsgf
so wrkmsgf qpgmsgf should get you to the message file you need