In DB2 for i5/OS query management, a collection of system resources and a set of query commands within an application program.