Using Ping to test communications

Ping is useful in determining whether the communication link and the two message channel agents that make up a message channel are functioning across all interfaces.

About this task

Ping makes no use of transmission queues, but it does invoke some user exit programs. If any error conditions are encountered, error messages are issued.

Procedure

  • Use the MQSC command PING CHANNEL to test a channel by sending data as a special message to the remote queue manager, and checking that the data is returned.
    The data is generated by the local queue manager.

    [z/OS][IBM i]On z/OS® and IBM® i, you can also use the panel interface to select this option.

  • [UNIX, Linux, Windows, IBM i]On Multiplatforms, use the MQSC command PING QMGR to test whether the queue manager is responsive to commands.