Defining a sender channel and transmission queue on QM1 on z/OS

Use the DEFINE CHANNEL and DEFINE QLOCAL commands to set up the required objects.


Procedure

On QM1, issue commands like the following example:
DEFINE CHANNEL(QM1.TO.QM2) CHLTYPE(SDR) TRPTYPE(TCP) CONNAME(QM1.MACH.COM) XMITQ(QM2) SSLCIPH(TLS_RSA_WITH_AES_128_CBC_SHA) DESCR('Sender channel using TLS from QM1 to QM2')

DEFINE QLOCAL(QM2) USAGE(XMITQ)
The CipherSpecs at each end of the channel must be the same.

Only the SSLCIPH parameter is mandatory if we want your channel to use TLS. See CipherSpecs and CipherSuites in IBM MQ for information about the permitted values for the SSLCIPH parameter.


Results

A sender channel, QM1.TO.QM2, and a transmission queue, QM2, are created. Parent topic: Work with SSL/TLS on z/OS