Querying runtime resource definitions or runtime descriptor definitions dynamically

Use the QUERY command with the appropriate parameter to query database and program resources. All of the QUERY commands are type-2 commands that you can issue from the OM API.

These commands can be issued through the TSO SPOC or the Manage Resources options in the IMS Applications menu. These commands can also be issued to an IMSplex using the batch SPOC utility.

The QUERY commands return information based on the keyword specified. For example, issue the QUERY DB command to view the current database resource or database descriptor settings.

Several type-2 QUERY commands support dynamic resource definition (DRD):

  • QUERY DB
  • QUERY DBDESC
  • QUERY OLC
  • QUERY PGM
  • QUERY PGMDESC
  • QUERY RTC
  • QUERY RTCDESC
  • QUERY TRAN
  • QUERY TRANDESC

When the IMSRSC repository is enabled, you can check for and identify which resource and descriptor definitions have not yet been exported to the IMSRSC repository by issuing the QUERY rsc_type SHOW(EXPORTNEEDED) command, where rsc_type can be DB, DBDESC, PGM, PGMDESC, RTC, RTCDESC, TRAN, or TRANDESC.