The first step:
to create a queue manager
crtmqm QM_HXB_DYCK
start the queue manager
strmqm QM_HXB_DYCK
into the queue manager
runmqsc QM_HXB_DYCK
Step Two:
Create a listener
define listener (QMLFXCC) trptype (tcp ) port (1404) control (qmgr) replace
start listening
start listener (QMLFXCC)
third step:
creating a service channel (external program and connected through this channel NO)
DEFINE channel (CHL_HXBANK_SVRCONN) CHLTYPE (SVRCONN) the MCAUSER ( 'the mqm') Replace
// create the receiving channel
define channel (CHSW02TOHXB) chltype ( rcvr) replace
- Creating transmission channels
define channel (CHHXBTOSW02) chltype (sdr ) conname (. '12 31. 17. 34 (1105) ') xmitq (QMTFXCC) replace
fourth step:
creating a transport column (a native queue)
DEFINE QLOCAL ( QMTFXCC) usage (xmitq) trigger trigtype (first) trigdpth (1) trigdata (CHHXBTOSW02) initq (system. channel. initq) replace
create an accepted queue (local queue)
DEFINE QLOCAL (QLHXBSW02SFS01) MAXDEPTH (100000) DEFPSIST (YES) Replace
create send queue (remote queue)
the DEFINE QREMOTE (TOSW02) ximitq (QMTFXCC) RNAME (QLSW02HZBSF S01) RQMNAME (RMSW02) DEFPSIST (TES) the replace
create a dead letter queue
the DEFINE QLOCAL (QD_QM_HXB_DYCK) DEFPSIST (yes)
the ALTER QMGR deada (QD_QX_HXB_DYCK)
| modified CSID
ALTER QMGR CCSID (819)
fifth step:
start channel
start chl (CHHXB TOSW02)
In which the team management were needed to communicate with others to create a
transmit channel, receive channel, send queue, receive queue, should communicate with others ccsid default value is 1208, the default is not to say 1208