QUERY commands
Use the IMS™ QUERY commands to display information about IMS resources.
The QUERY commands return information based on the keyword specified. All of the QUERY commands are type-2 commands and can be issued from the OM API.
These commands can be issued through TSO SPOC, IBM® Management Console for IMS and DB2® for z/OS®, the Manage Resources options in the IMS Applications menu, or other user-written programs that issue commands through OM API. These commands can also be issued to an IMSplex by using the Batch SPOC utility.
The value shown in the QCNT column of the command output has different meanings for different commands, as described in individual QUERY command topics.
- QUERY AREA command
Use the QUERY AREA command, which is a type-2 command, to display information about DEDB areas and area data set information. - QUERY DB command
Use the QUERY DB command, which is a type-2 command, to display information about databases. - QUERY DBDESC command
Use the QUERY DBDESC command to query information about database descriptors. A descriptor is a model that can be used to create descriptors or resources. - QUERY IMS command
Use the QUERY IMS command, which is a type-2 command, to display status and attributes information from IMS. - QUERY IMSCON commands
Use the QUERY IMSCON commands to display the status and activity of one or more IMS Connect resources. - QUERY IMSPLEX command
Use the QUERY IMSPLEX command, which is a type-2 command, to display information about one or more IMSplex members. - QUERY LE command
Use the QUERY LE command to display Language Environment® (LE) runtime parameter overrides defined by a previous UPDATE LE command. The query can use filters on transaction code, LTERM, user ID, or program name. - QUERY LTERM command
Use the QUERY LTERM command to display information about logical terminals (LTERMs). This command can be specified only through the OM API and is valid on an XRF alternate. - QUERY MEMBER command
Use the QUERY MEMBER command to display status or attribute information about one or more members of the IMSplex. - QUERY MSLINK command
Use the QUERY MSLINK command to query information about the definition and status of specified logical links. - QUERY MSNAME command
Use the QUERY MSNAME command to query definition and status information about the specified logical link path. - QUERY MSPLINK command
Use the QUERY MSPLINK command to query definition and status information about the specified physical links. - QUERY NODE command
Use the QUERY NODE command to display information about ISC TCP/IP or VTAM® nodes (terminals) and non-VTAM devices (SPOOL and SYSOUT devices) in an IMSplex. - QUERY ODBM commands
Use the QUERY ODBM commands to query information about Open Database Manager (ODBM), a component of the Common Service Layer (CSL). - QUERY OLC command
For an IMS running with RM (RMENV=Y), the QUERY OLC command returns information about the OLCSTAT DS that is shared by all of the IMS systems participating in global online change. - QUERY OLREORG command
Use the QUERY OLREORG command to query information about an online reorganization or alteration of a HALDB partition. - QUERY OTMADESC command
Use the QUERY OTMADESC command to query information about an existing IMS Open Transaction Manager Access (OTMA) destination descriptor. - QUERY OTMATI command
Use the QUERY OTMATI command to display information about IMS OTMA message workload. - QUERY PGM command
Use the QUERY PGM command to query information about program resources. - QUERY PGMDESC command
Use the QUERY PGMDESC command to query information about program descriptors. A descriptor is a model that can be used to create descriptors or resources. - QUERY POOL command
Use the QUERY POOL command to display information about the current usage of the buffers that are managed by the Fast Path 64-bit buffer manager, processor storage utilization statistics for the pool type specified, and full-function database (OSAM or VSAM) buffer pools. - QUERY RM command
Use the QUERY RM command to view status and attributes information about a Resource Manager (RM) address space. This command returns information about IMSRSC repositories managed by RM. - QUERY RTC command
Use the QUERY RTC command to query Fast Path routing codes. A routing code can be used by the Fast Path Input Edit/Routing Exit Routine (DBFHAGU0) to route a transaction to a different application program within the same load balancing group. - QUERY RTCDESC command
Use the QUERY RTCDESC command to query Fast Path routing descriptors. A descriptor is a model that can be used to create descriptors. - QUERY STRUCTURE command
Use the QUERY STRUCTURE command to display information about IMS coupling facility structures used by members of an IMSplex. - QUERY TRAN command
Use the QUERY TRAN command to display information about transactions (for example, class, status, queue count, and others) across the IMSplex. This command can be specified only through the OM API and is valid on an XRF alternate. - QUERY TRANDESC command
Use the QUERY TRANDESC command to query information about transaction descriptors. - QUERY USER command
Use the QUERY USER command to display information about VTAM users across the IMSplex. A user is either a dynamic (ETO) user, or a static or dynamic (ETO) ISC subpool user. In this context, a user ID that is used for user or terminal security is not considered as a user, but rather as a user ID. This command can be specified only through the OM API and is valid on an XRF alternate. - QUERY USEREXIT command
Use the type-2 QUERY USEREXIT command to display information about the user exits that are defined in the USER_EXITS section of the DFSDFxxx member of the IMS PROCLIB data set. Information about user exits that are not specified in the USER_EXITS section of the DFSDFxxx member is not displayed in the output of the QUERY USEREXIT command. - QUERY USERID command
Use the QUERY USERID command to display information about user IDs across the IMSplex. In this context, a user ID is used for user or terminal security. A user ID is not the same as a user, which is either a dynamic (ETO) user, or a static or dynamic (ETO) ISC subpool user. This command can be specified only through the OM API. It is not valid on an XRF alternate.
Parent topic: IMS commands