+

Search Tips | Advanced Search

Testing a channel

We can test a channel using MQSC commands or using the operations and control panels.

To test a channel using the MQSC commands, use PING CHANNEL.

Use the operations and control panels, starting from the initial panel, complete these fields and press enter:

Field Value
Action 5 (Perform)
Object type SENDER, SERVER, or CHANNEL
Name CHANNEL.TO.USE
Disposition The disposition of the channel object.
The Perform a Channel Function panel is displayed. The text following the panel explains how to use the panel:
Figure 1. Testing a channel
Perform a Channel Function

Select function type, complete fields, then press Enter.


Function type . . . . . . . . _   1. Reset  3. Resolve with commit
2. Ping  4. Resolve with backout

Channel name . . . . . . . : CHANNEL.TO.USE
Channel type . . . . . . . : SENDER
Description . . . . . . . . : Description of CHANNEL.TO.USE


Disposition . . . . . . . . . P   P=Private on MQ25
S=Shared on MQ25
A=Shared on any queue manager

Sequence number for reset . . 1     1 - 999999999
Data length for ping . . . . 16   16 - 32768



Command ===> ________________________________________________________________
F1=Help   F2=Split   F3=Exit   F9=SwapNext F10=Messages F12=Cancel


Select function type 2 (ping).

Select the disposition of the channel for which the test is to be done and on which queue manager it is to be tested.

The data length is initially set to 16. Change it if we want and press enter.

Parent topic: Monitor and control channels on z/OS

Last updated: 2020-10-04