Frequently Asked Questions
This section addresses common questions about PATROL for iSeries.
Message Queue monitoring
What regular expression must I use to find messages with an empty message ID?
You can use [^A-Z0-9a-z] regular expression in the Include Message IDs field to match messages with an empty message ID.
How to get messages with same severity?
You can define the same value in Minimum Severity and Maximum Severity field to get messages with same severity.
How to decode numeric value for message type used in the event data, with the selection of message types?
When you select *RPY, the numeric value that is returned in the events is as per the value seen on the IBM iSeries host.
Table-1: PATROL for iSeries: Message type selection in Message Queue monitor configuration
Message type | Numeric value of Message type on the iSeries host |
---|---|
*INFO | 04 |
*INQ | 05 |
*RQS | 08 or 10 |
*COMP | 01 |
*DIAG | 02 |
*NOTIFY | 14 or 16 |
*ESCAPE | 15 or 17 |
*RPY | Any between 21 to 26 |
*COPY | 06 |
So for example if you have selected message type *RPY then the KM filter matches any messages with message type from 21 to 26 (from Table-2).
Table-2: IBM iSeries host: Message Type and value
Numeric value of Message type on the iSeries host | Message type |
---|---|
01 | Completion |
02 | Diagnostic |
04 | Informational |
05 | Inquiry |
06 | Sender's copy |
08 | Request |
10 | Request with prompting |
14 | Notify, exception already handled when API is called |
15 | Escape, exception already handled when API is called |
16 | Notify, exception not handled when API is called |
17 | Escape, exception not handled when API is called |
21 | Reply, not checked for validity |
22 | Reply, checked for validity |
23 | Reply, message default used |
24 | Reply, system default used |
25 | Reply, from system reply list |
26 | Reply, from exit program |
PGM relates queries
How to check the PGM version installed on the iSeries host?
The PGM version is listed in the InfoBox and configuration variable of the following application classes:
- Message Queue Container (AKN_MSGQ_CNTR)
- History Log (AKN_QHST)
- Job Queue Container (AKN_JOBQ_CNTR)
- ASP Container (AKN_ASP_CNTR)
- Network Interface Container (AKN_INTERFACE_CNTR)
- Network Connection Container (AKN_CONNECTION_CNTR)
- Scheduled Jobs Container (AKN_SCHJOBS_CNTR)
To check the PGM version in PATROL console
Check the PGM version property in the InfoBox of the above application classes.
To check the PGM version in TrueSight console
Check the PGMVersion configuration variable on the Monitor Information tab of the above application classes.
How to install PGM on an iSeries host?
Before enabling monitoring of of ASP, Network Interface, Message Queue, History Log, Scheduled Jobs, Job Queue, and Network Connection application class, ensure that these binaries are configured on the remote iSeries host.
To configure the iSeries binaries on the remote host:
- Log in to the iSeries system.
Delete the BMC_TSIM library that exists due to earlier installations of the KM by using the following command:
DLTLIB BMC_TSIMCreate the BMC_TSIM library on the iSeries system by using the following command:
CRTLIB BMC_TSIM
- Create SAVF_4230 save file under the BMC_TSIM library using the following command:
CRTSAVF FILE(BMC_TSIM/SAVF_4230) TEXT('Contains BMC PGMs to be called remotely') - Copy the SAVF_4230 save file from <PATROL_HOME>/akn directory to the iSeries system in the BMC_TSIM library by using the FTP utility in binary mode as follows:
- Open command prompt and navigate to the <PATROL_HOME>/akn directory.
- Enter ftp <iSeries hostname> command where <iSeries hostname> is the name of your iSeries system.
- Connect to the iSeries system by providing credentials
- Change mode to binary by using the bi command
- Navigate to BMC_TSIM library on iSeries system using the following command:
cd BMC_TSIM - Copy the SAVF_4230 save file using the following command:
mput SAVF_4230 - End the FTP session by entering the following command:
bye
- Copy the BMC_TSIM_4_2_30.qsh file from <PATROL_HOME>/akn directory to the iSeries system in the /tmp directory by using the FTP utility in ASCII mode as follows:
- Open command prompt and navigate to the <PATROL_HOME>/akn directory.
- Enter ftp <iSeries hostname> command where <iSeries hostname> is the name of your iSeries system.
- Connect to the iSeries system by providing credentials
- Navigate to /tmp directory on iSeries system using the following command:cd /tmp
- Copy the BMC_TSIM_4_2_30.qsh file using the following command:
mput BMC_TSIM_4_2_30.qsh - End the FTP session by entering the following command:
bye
- Login to the iSeries system.
- Open QSHELL on iSeries system using qsh command.
On qsh prompt, navigate to the IFS path /tmp where the BMC_TSIM_4_2_30.qsh script is copied. Use the following command:
cd /tmp- Ensure that /usr/bin path is set in the environment variable PATH.
- To verify, enter the following command:
echo $PATH If the environment variable PATH is not set, use the following command to set the PATH:
export PATH=$PATH:/usr/bin
- To verify, enter the following command:
Execute the BMC_TSIM_4_2_30.qsh script. The script can be used as follows:
./BMC_TSIM_4_2_30.qsh- The configuration is complete when the script execution ends.
- Use the DSPLIB BMC_TSIM command to verify if the the PGM files and MSGQ files are restored and created on the remote iSeries host.
The following PGM files are restored when you execute the script:
- ASPCOLLECT
- JBQCOLLECT
- MSQCOLLECT
- NETCONCOLL
- NETSTATCOL
- QHTCOLLECT
- SCHCOLLECT
- IFSCOLLECT
The following MSGQ files are created when you execute the script:
- ASP_DATA
- CONN_DATA
- INTF_DATA
- JOBQ_DATA
- MSGQ_DATA
- QHST_DATA
- SCHD_DATA
- IFS_DATA
No data is displayed in the agent action reports
Message Queue (AKN_MSGQ) and History Log (AKN_QHST) menu commands or agent actions are not displaying data
Ensure that you have selected the Enable Report option while configuring Message Queues and History Log monitor types respectively in the PATROL or TrueSight console.