Using the query dialogs
The SMP/E dialogs provide you with an online method of system management, software inventory, data base inquiries, and guidance. For example, with the Query dialogs, you can look up information in the CSI data set. The Query dialogs are one of the easiest and most direct methods you can use to obtain the content and status of any SYSMOD that has been processed by SMP/E. You can use the Query dialogs to display an entry in either a specific zone (CSI query) or in all zones (cross-zone query).
You can use the SMP/E dialogs to view a SYSMOD, even if it has been compacted. Use the Query dialog (zone is GLOBAL, entry type MCS, entry name is the SYSMOD name) and you will be shown the complete SYSMOD in an edit session. You may save the SYSMOD in a different location from this session. If you are using SMPPTS spill data sets, there is another benefit of viewing the SYSMOD from the Query dialog, in that you do not have to know in which SMPPTS data set the SYSMOD is stored; SMP/E will find it for you.
To get to the Query dialogs, you select Query (option 3) on the main menu for SMP/E (GIM@PRIM). This takes you to the initial Query panel, shown in Figure 1. If you need assistance with using the Query dialogs, (or any of the SMP/E dialogs), help panels are available.
Let's assume you want to find out which SYSMODs have been applied to a particular target zone on your system. You can accomplish this task using the QUERY SELECTION MENU and selecting the CSI QUERY option (1), as shown in Figure 1.
GIMQUPO QUERY SELECTION MENU
===> 1
1 CSI QUERY - Display SMPCSI entries
2 CROSS-ZONE QUERY - Display status of an entry in
all zones
3 SOURCEID QUERY - Display SOURCEIDs for specified zone
D DESCRIBE - Overview of using QUERY
T TUTORIAL - Information on using QUERY
To return to the SMP/E primary option menu, enter END .
5650-ZOS 5655-G44(C) COPYRIGHT IBM CORP 1982, 2011
When the CSI QUERY panel is displayed (see Figure 2), you can indicate that you want SMP/E to check target zone ZOSTGT1 for all SYSMOD entries.
GIMQU1PO CSI QUERY
===>
Specify the zone, entry type, and name to be queried:
ZONE NAME ===> ZOSTGT1 Name of the zone to be queried.
To display a list of all zones,
leave blank
ENTRY TYPE ===> SYSMOD Entry type to be queried.
To display a list of all valid
entry types, leave ENTRY TYPE
and ENTRY NAME blank
ENTRY NAME ===> Entry name to be queried.
Leave blank or use a wildcard
(entry name pattern) to display
a selection list.
To return to the Query selection menu, enter END .
Because the ENTRY NAME was left blank on the CSI QUERY panel, SMP/E displays another panel (see Figure 3) that lists all the SYSMOD entries in target zone ZOSTGT1.
GIMQUSEA CSI QUERY - SELECT ENTRY
===> SCROLL ===> PAGE
Select one entry to query from target zone ZOSTGT1 :
S NAME ACTION
AZ00005
s UZ00001
UZ00002
The CSI QUERY - SELECT ENTRY panel shows that SYSMODs AZ00005, UZ00001, and UZ00002 have been applied to target zone ZOSTGT1. If you want more information about the contents of SYSMOD UZ00001, you can select that entry by entering an S next to it, and another panel is displayed (see Figure 4).
GIMQIT26 CSI QUERY - SYSMOD ENTRY
===> SCROLL ===> PAGE
To return to the previous panel, enter END .
Entry Type: SYSMOD Zone Name: ZOSTGT1
Entry Name: UZ00001 Zone Type: TARGET
Type: PTF Status: APPLIED
FMID: HOP0001
Date/Time: 07.341 13.57:31 APPLIED
-------- -------- -------- -------- -------- -------- --------
MODS MOD01 MOD02
The CSI QUERY - SYSMOD ENTRY panel displays all the relevant information pertaining to SYSMOD UZ00001.
As you can see, the QUERY dialog panels provide a quick and easy way for you to obtain information about your system.