Tuesday 11 September 2012

How To Define Channels

Define Sender Channel

DEFINE CHANNEL(CHANNEL-NAME) +
                CHLTYPE(SDR)  +
                CONNAME('IP(PORT)') +
                XMITQ(XMITQ-NAME) +
                TRPTYPE(TCP)

Default Sender Cahnnel is  "SYSTEM.DEF.SENDER"

Define Receiver Channel

DEFINE CHANNEL(CHANNEL-NAME) +
                CHLTYPE(RCVR) +
                TRPTYPE(TCP) 

Default Receiver Channel is "SYSTEM.DEF.RECEIVER"

Define Server Channel

DEFINE CHANNEL(CHANNEL-NAME) +
                CHLTYPE(SVR) +
                CONNAME('IP(PORT)')  +
                XMITQ(XMITQ-NAME) +
                TRPTYPE(TCP)

Default Server Channel is "SYSTEM.DEF.SERVER"

Define Requester Channel

DEFINE CHANNEL(CHANNEL-NAME) +
                CHLTYPE(RQSTR)  +
                CONNAME('IP(PORT)') +
                 TRPTYPE(TCP)

Default Requester channel is "SYSTEM.DEF.REQUESTER"

Define Cluster Sender Channel

DEFINE CHANNEL(CHANNEL-NAME) +
               CHLTYPE(CLUSSDR) +
               CONNAME('IP(PORT-NO)') +
               CLUSTER(CLUSTER-NAME)

Default Cluster Sender Channel is "SYSTEM.DEF.CLUSSDR" 


Define Cluster Receiver Channel

DEFINE CHANNEL(CHANNEL-NAME) +
               CHLTYPE(CLUSRCVR) +
               CONNAME('IP(PORT-NO)') +
               CLUSTER(CLUSTER-NAME)

Default Cluster Sender Channel is "SYSTEM.DEF.CLUSRCVR" 


Define ServerConnection Channel

DEFINE CHANNEL(CHANNEL-NAME) +
                CHLTYPE(SVRCONN) +
                TRPTYPE(TCP)

Default ServerConnection Channel is "SYSTEM.DEF.SVRCONN"

Define ClientConnection Channel

DEFINE CHANNEL(CHANNEL-NAME) +
                CHLTYPE(CLNTCONN) +
                CONNAME('IP(PORT)')  +
                QMNAME(QMGR-NAME) +
                 TRPTYPE(TCP)

Default ClientConnection is "SYSTEM.DEF.CLNTCONN"

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Best Regards,
MADHU K
IBM MQ Certified Professional
HYDERABAD
+917893751171/+919964371404
mailme.mq@gmail.com
trainingontech.com
http://www.ibmmqadmin-madhu.blogspot.in