IBM Support

QMGTOOLS: Scan History Log

Troubleshooting


Problem

Trying to locate messages in the system history log related to a particular type of event can be difficult, due to the number of messages in the log and the number of messages related to the event or topic.

Resolving The Problem

QMGTOOLS has a history log "scan" function to find messages related to a particular predefined topic or event.  The Scan History Log function can be initiated using any of the following methods:
  • GO QMGTOOLS/MG, option 15, option 7
  • GO QMGTOOLS/MG, option 16, option 3
  • GO QMGTOOLS/WM, option 7
  • GO QMGTOOLS/INTMNU, option 3
  • QMGTOOLS/SCNQHST
image-20220311150649-1
Select one of the following options for the MESSAGES parameter to specify the type of event you are interested in:
Messages Option Description List of messages to search for
*ACCESSPATH Access path rebuild CPF3112 CPF3123 CPF3145
*ASPBAL_RGZ ASP balance/reorganize CPC18A1 CPC18A2 CPC18A3 CPC18A4 CPC18A5 CPC18A6 CPC18A7 CPD18AA CPF1888 CPF1889 CPF1891 CPF18AA CPF18AB CPF18AC CPF18AD CPF18AE CPF18AF CPF18B1 CPF18B2 CPF18B3 CPI1470 CPI1472 CPI1473 CPI1474 CPI1475 CPI1476 CPI1477 CPI1478 CPI18A1 CPI18A2 CPI18A3 CPI18A4 CPI18A5 CPI18A6 CPI18A7 CPI18A8
*DAMAGE   Damage AMQ7472 CPA2201 CPD0CE2 CPDA186 CPDA429 CPF3113 CPF3171 CPF3173 CPF3174 CPF3176 CPF3245 CPF3272 CPF3296 CPF3763 CPF3819 CPF3949 CPF5030 CPF7034 CPF8100 CPF8111 CPF811C CPF8198 CPF8199 CPF9804 MCH1602 MCH1604
*DBXREF  Database cross-reference CPF327E CPF32A0 CPF32A1 CPF32A2 CPF32A3 CPF32A4 CPF32A6 CPF32D1 CPF32D4 CPF3954 CPI091D CPI0990 CPI0C04
*IPL IPL and Power down CPA1E01 CPA3702 CPC1292 CPF0901 CPF0903 CPF0905 CPF0918 CPF0923 CPF0930 CPF0931 CPF0933 CPF0934 CPF0954 CPF0955 CPF095A CPF0965 CPF0968 CPF0969 CPF0990 CPF0992 CPF0993 CPF0997 CPF0998 CPF1821 CPI0919 CPI091D CPI091E CPI091F CPI0980 CPI0990 CPI0995 CPI099A CPI099D CPI099F CPI0C04 CPI1183 CPI1184 CPP0E9F
*JOBSCHED Scheduled jobs CPI1141 CPI1142 CPI1143 CPI1144 CPI1145 CPI1146 CPC1236 CPC1242 CPC1243 CPC1119 CPC1120
*LICENSE License keys CPC9E66 CPC9E67 CPD2083 CPD3DBF CPD9E53 CPF9E15 CPF9E17 CPF9E46 CPF9E56 CPF9E57 CPF9E58 CPF9E5E CPF9E60 CPF9E65 CPF9E69 CPF9E6C CPF9E74 CPF9E78 CPF9E7E CPF9E80 CPF9E82 CPF9E84 CPF9E85 CPF9E86 CPFBB93 CPI700E CPI700F CPI7029 CPI9E5D CPI9E5F CPI9E64 CPI9E6A CPI9E75 CPI9E76 CPI9E77 CPI9E85
*RMTJRN Remote journaling CPC6983 CPC6984 CPF70C4 CPF70C5 CPF70D3 CPF70D4 CPF70D5 CPF70D7 CPF70DB CPF70DC CPI7012 CPI7016
*STORAGE Storage threshold CPF0907 CPF090A CPF3793 CPI0953 CPI0954 CPI0955 CPI0999 CPI099C CPI099D CPI112E CPI11AB CPI147B MCH2803
*SYSVAL System value change CPC1139 CPD1686 CPD1687 CPF1030 CPF1076 CPF1078 CPF1805 CPF1806 CPF1807 CPF1808 CPF1809 CPF180A CPF1810 CPF1811 CPF1812 CPF1813 CPF1814 CPF1815 CPF1823 CPF1845 CPF1852 CPF1853 CPF18C0 CPF18C1 CPF18C4 CPI1469
*UPS_POWER UPS and power CPF1816 CPF1817 CPF1818 CPF1819 CPF181A CPF1821 CPI0961 CPI0962 CPI0963 CPI0964 CPI0965 CPI0966 CPI0973 CPI0974 CPI0975 CPI0976 CPI0978 CPI0979 CPI0981 CPI0994 CPP0730 CPP0733 CPP0734 CPP0735 CPP073A CPP073D CPP0891 CPP0892 CPP0893 CPP0894 CPP0895 CPP0896 CPP0897 CPP0898 CPP0899 CPP3502 CPP3504 CPP3505 CPPA73A CPPA73B CPPA73D CPPA740 CPPA743 CPPA744 CPPA745 CPPA891 CPPA892 CPPA893 CPPA894 CPPA895 CPPA896 CPPA897 CPPA898 CPPA899
*VFYSAV   Verify save CPC2356 CPC3702 CPC3707 CPC370C CPC9410 CPF0968 CPF0994 CPF2361 CPF3763 CPF3770 CPF3771 CPF3772 CPF3777 CPF3837 CPF902E CPF9410
Second, select the date range either by using the special keywords: *BEGIN and *CURRENT, or by specifying specific start and end dates using the current job's date format.
Finally, specify if you want the results displayed on the screen - '*', or if you want them spooled - '*PRINT'.   The print option will always include second level help text.
Example of running QMGTOOLS/SCNQHST MESSAGES(*IPL) PERIOD(*BEGIN *CURRENT) OUTPUT(*)
image-20220311161644-2
For additional details about a specific message, move cursor to that message and press F1 for help as shown below:
image-20220311161958-3

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
01 September 2023

UID

ibm16563049