I thought there was an API that would generate a list of the IBM i object types, *PGM, *CMD, *FILE, etc. I know there is an API to convert from the *PGM to the hex notation for the object type, but I can't find one that actually lists the available object types.
What I want to do is create a CMD that, when prompted lists the available object types instead of having to hard code them into the command. I thought they gave use this like 20 years ago. Maybe it was an old MI routine? Anyone know/remember?