Query
From MidrangeWiki
Query/400 is a basic user oriented database report writer.
It is designed to allow non-technical users to create basic reports and online inquiries in a simple, menu driven way.
It is a tool that is pretty safe to put into the hands of users, so long as we know how to prevent them from creating an *OUTFILE that gets same name as a pre-existing real file in our data base.
See CLP/400 examples of CLP programs that give people access to Query stuff that can go on a Menu, so that they do not have Command Line Access which has some security concerns.