Tuesday 25 August 2020

MQ SETUP SAMPLE


crtmqm CCAPPQMGRP3



dis lsstatus(*)


DEF LISTENER(CCAPPQMGRP3.TCP) TRPTYPE(TCP) PORT(1521) CONTROL(QMGR)



START LISTENER(CCAPPQMGRP3.TCP)


display LISTENER(CCAPPQMGRP3.TCP)



DISPLAY LSSTATUS(CCAPPQMGRP3.TCP)


DEF chl(CCAPPQMGRP3.CHL) chltype(SVRCONN) TRPTYPE(TCP) 



ALTER QMGR CHLAUTH(DISABLED)



alter authinfo(SYSTEM.DEFAULT.AUTHINFO.IDPWOS) authtype(IDPWOS) chckclnt(OPTIONAL)


refresh sucurity



DEF QL(MQCC01) USAGE(XMITQ)


DEF CHL(CCAPPQMGRP3.RBLCC01) CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('10.60.2.194(1414)') XMITQ(MQCC01) DISCINT(0)


start chl(CCAPPQMGRP3.RBLCC01)


dis chs(CCAPPQMGRP3.RBLCC01)






DEF CHL(RBLCC01.CCAPPQMGRP3) CHLTYPE(RCVR) TRPTYPE(TCP)



====DEF QR(RBLVPMG.REQUEST) RNAME(RBLVPMG.REQUEST) RQMNAME(MFI1) XMITQ(MQCC01)


DEF QR(RBLVPMG.REQUEST3) RNAME(RBLVPMG.REQUESTS) RQMNAME(MFI1) XMITQ(MQCC01)


DEF QL(MQVPMG.RESPONSE3)


++++

====




10.80.64.208


crtmqm CCAPPQMGRP4



DEF LISTENER(CCAPPQMGRP4.TCP) TRPTYPE(TCP) PORT(1521) CONTROL(QMGR)



START LISTENER(CCAPPQMGRP4.TCP)


display LISTENER(CCAPPQMGRP4.TCP)



DISPLAY LSSTATUS(CCAPPQMGRP4.TCP)




DEF chl(CCAPPQMGRP4.CHL) chltype(SVRCONN) TRPTYPE(TCP) 




ALTER QMGR CHLAUTH(DISABLED)



alter authinfo(SYSTEM.DEFAULT.AUTHINFO.IDPWOS) authtype(IDPWOS) chckclnt(NONE)



DEF QL(MQCC01) USAGE(XMITQ)





DEF CHL(CCAPPQMGRP4.RBLCC01) CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('10.60.2.194(1414)') XMITQ(MQCC01) DISCINT(0)




DEF CHL(RBLCC01.CCAPPQMGRP4) CHLTYPE(RCVR) TRPTYPE(TCP)




DEF QR(RBLVPMG.REQUEST4) RNAME(RBLVPMG.REQUESTS) RQMNAME(MFI1) XMITQ(MQCC01)



DEF QL(MQVPMG.RESPONSE4)



dis chs(CCAPPQMGRP4.RBLCC01)



start chl(CCAPPQMGRP4.RBLCC01)



====


10.




DEF CHL(CCAPPQMGRP3.RBLCC01) CHLTYPE(RCVR) TRPTYPE(TCP)



DEF CHL(CCAPPQMGRP4.RBLCC01) CHLTYPE(RCVR) TRPTYPE(TCP)





DEF CHL(RBLCC01.CCAPPQMGRP3) CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('10.80.64.207(1521)') XMITQ(CCAPPQMGRP3) DISCINT(0)


start chl(RBLCC01.CCAPPQMGRP3) ***


dis chs(RBLCC01.CCAPPQMGRU3)



DEF CHL(RBLCC01.CCAPPQMGRP4) CHLTYPE(SDR) TRPTYPE(TCP) CONNAME('10.80.64.208(1521)') XMITQ(CCAPPQMGRP4) DISCINT(0)



start chl(MQCC01.CCAPPQMGRP4)


dis chs(MQ

CC01.CCAPPQMGRP4)



def ql(CCAPPQMGRP3) usage(XMITQ) trigger trigtype(first) trigdata(RBLCC01.CCAPPQMGRU3) initq(SYSTEM.CHANNEL.INITQ)


def ql(CCAPPQMGRP4) usage(XMITQ) trigger trigtype(first) trigdata(RBLCC01.CCAPPQMGRP4) initq(SYSTEM.CHANNEL.INITQ)



def queueremote






DEF QR(CCAPPQMGRP3.RESPONSE) RNAME(RBLVPMG.RESPONSE3) RQMNAME(CCAPPQMGRP3) XMITQ(CCAPPQMGRP3)


DEF QR(CCAPPQMGRP4.RESPONSE) RNAME(RBLVPMG.RESPONSE4) RQMNAME(CCAPPQMGRP4) XMITQ(CCAPPQMGRP4)








DEF QA(ALQ.CCAPPQMGRP3.RESPONSE) TARGET (CCAPPQMGRP3.RESPONSE) 


DEF QA(ALQ.CCAPPQMGRP4.RESPONSE) TARGET (CCAPPQMGRP4.RESPONSE) 



triggering done with two channels.


No comments:

Post a Comment