Midrange News for the IBM i Community

Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
Anyone know how to list OBJTYPES?
has no ratings.
Published: 19 Feb 2013
Revised: 20 Feb 2013 - 2159 days ago
Last viewed on: 17 Jan 2019 (3630 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Anyone know how to list OBJTYPES? Published by: Bob Cozzi on 19 Feb 2013 view comments(2)

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?

Return to midrangenews.com home page.
Sort Ascend | Descend