IBM Query for i commands

 Work With Queries (WRKQRY) command