Tuesday, 23 September 2014

Implementing Server -Client communication using CCDT client channel table

WMQ Server - Client connection Methods


Method-1:

Create one channel definition on client machine and the other on the sever.

SERVER  :  Define a Server-connection channel on WMQ Server product installed machine

DEFINE CHANNEL (CHL1) CHLTYPE (SVRCONN) TRPTYPE (TCP)


CLIENT  (on WMQ client product intalled machine)

SET MQSERVER=ChannelName/TransportType/ConnectionName


Method-2:

Define both a server-connection channel as well as client-connection channel on the server side and will use a file called CHANNEL TAB file copied to the client machine for it to use to connect to the server.

1. Define a SVRCONN channel on the server side

DEFINE CHANNEL (CHL) CHLTYPE (SVRCONN) TRPTYPE (TCP)

2. Define a CLIENTCONN channel on the server side

DEFINE CHANNEL (CHL) CHLTYPE (CLNTCONN) TRPTYPE (TCP) CONNAME (‘xx.xx.xx.xx(port)’) QMNAME(QMgr Name)


Note: Client channel definition table can contain more than 1 client-connection channel definition
Channel definition file is named as AMQCLCHL.TAB is created and can be found under /default location /qmgrs/QMGRNAME/@ipcc directory. You are required to copy the client channel definition table to the client machine as a binary file.

CLIENT (on WMQ client product intalled machine)

SET MQCHLLIB=location of the file and the Folder (Just SET the path of the file)

SET MQCHLTAB=AMQCLCHL.TAB.

1 comment:

  1. you blog is very useful SAP bods learners.very informative content and detailed topic explanation.one of the recommanded content.we are very glad to leave a comment here.thank you for sharing your knowledge.also visit our blogs
    Websphere mq Training in Bangalore

    ReplyDelete