Sample SQ DISPLAY command sets


Message Advisor provides sample SQ DISPLAY command sets that can serve as templates when building your own SQ DISPLAY command sets. The MAQSAMP library contains the sample command sets.

The following table identifies the library members that contain the sample SQ DISPLAY command sets.

Member

Description

QMC@DSP1

displays message queue statistics

QMC@DSP2

displays destination queue information

QMC@DSP3

displays destination information

QMC@DSP4

displays record information

Warning

Note

Many of the samples include field-level prompts (e.g., IMSID=?). When you execute a command set through the Message Advisor Interactive System Productivity Facility (ISPF) interface, you will be prompted to provide a valid value for any field that contains a prompt.

If you execute a command set outside of the Message Advisor ISPF interface, you will not be prompted to replace the ?. Therefore, you must remember to replace all ? with a valid value before submitting the request.

The following sample command sets, shown in the following figure,  are similar, but not identical to, the samples provided in MAQSAMP, and shows a command set requesting a detailed report of destinations with messages. The command set requests a report for all destinations starting with $R61P.

DISPLAY IMSID=R61P,TYPE=DESTINATION
 SELECT DESTINATION=$R61P*
END

In the following figure shows the first command set requests a display of destination queues for destinations that begin with MSC and end in 2. The second command set requests a display of destination queues for TRAN1, APPC, and OTMA destinations. The third command set requests a display of destination queues for the staging destinations ( Q2 and Q6). MAQSAMP(QMC@DSP2).

DISPLAY IMSID=PR7B,TYPE=DEST_QUEUES
 SELECT DESTINATION=MSC*2
END

DISPLAY IMSID=PR7B,TYPE=DEST_QUEUES
 SELECT QTYPE=(Q1,Q7,Q9)
END

DISPLAY IMSID=PR7B,TYPE=DEST_QUEUES
 SELECT QTYPE=(Q2,Q6)
END

The following figure shows a command set requesting a message record prefix and text in hexadecimal format. For this sample, the ENTRYID was determined from a previously-executed Message Advisor DISPLAY command. MAQSAMP(QMC@DSP4) contains a sample command set similar to that in this figure.

DISPLAY IMSID=PR7B,TYPE=RECORD,
 ENTRYID=02000507BA23FCAB3532F0A7
END

The following figure shows a command set requesting message queue statistics. MAQSAMP(QMC@DSP1) contains a sample command set similar to that in this figure.

DISPLAY IMSID=R61P,TYPE=STATISTICS
END

For more information about building and executing an SQ DISPLAY command set and for information about using the SQ DISPLAY command to create reports, see the Using.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Message Advisor for IMS 1.9