Publicité

Queue Manager both as sender and Receiver.docx

sarvank2
22 Mar 2022
Queue Manager both as sender and Receiver.docx
Queue Manager both as sender and Receiver.docx
Queue Manager both as sender and Receiver.docx
Queue Manager both as sender and Receiver.docx
Publicité
Queue Manager both as sender and Receiver.docx
Queue Manager both as sender and Receiver.docx
Queue Manager both as sender and Receiver.docx
Queue Manager both as sender and Receiver.docx
Queue Manager both as sender and Receiver.docx
Prochain SlideShare
CCDT(client connection)MQ.docxCCDT(client connection)MQ.docx
Chargement dans ... 3
1 sur 9
Publicité

Contenu connexe

Publicité

Queue Manager both as sender and Receiver.docx

  1. Knowledge ispower.SoWise share it Thispurelyforthe educationpurpose.Thisispartof opensource consumption. pg.1 Three DQMs whereQM1 Queue Manager acting as Receiver and Sender. C:WINDOWSsystem32>RUNMQSCQM2 5724-H72 (C) CopyrightIBMCorp. 1994, 2018. StartingMQSC for queue managerQM2. DEFINE QL(L2) 1 : DEFINEQL(L2) AMQ8006I: IBMMQ queue created. DEFINE CHANNEL(TO.QM2) CHLTYPE(RCVR) 2 : DEFINECHANNEL(TO.QM2) CHLTYPE(RCVR) AMQ8014I: IBMMQ channel created. DEFINE LSTR(QM2.LSTR) TRPTYPE(TCP) PORT(1415) 3 : DEFINELSTR(QM2.LSTR) TRPTYPE(TCP) PORT(1415) AMQ8626I: IBMMQ listenercreated. START LSTR(QM2.LSTR) 4 : STARTLSTR(QM2.LSTR) AMQ8021I: Requesttostart IBMMQ listeneraccepted. DIS LSSTATUS(*) ALL 5 : DISLSSTATUS(*) ALL AMQ8631I: Displaylistenerstatusdetails. LISTENER(QM2.LSTR) STATUS(RUNNING)
  2. Knowledge ispower.SoWise share it Thispurelyforthe educationpurpose.Thisispartof opensource consumption. pg.2 PID(4164) STARTDA(2022-03-22) STARTTI(12.15.22) DESCR( ) TRPTYPE(TCP) CONTROL(MANUAL) IPADDR(*) PORT(1415) BACKLOG(100) END 6 : END 5 MQSC commandsread. C:WINDOWSsystem32>RUNMQSCQM1 5724-H72 (C) CopyrightIBMCorp. 1994, 2018. StartingMQSC for queue managerQM1. DEFINE QL(QM2.XQ) USAGE(XMITQ) 1 : DEFINEQL(QM2.XQ) USAGE(XMITQ) AMQ8006I: IBMMQ queue created. DEFINE QR(SENDQ) RNAME(L2) RQMNAME(QM2) XMITQ(QM2.XQ) 2 : DEFINEQR(SENDQ) RNAME(L2) RQMNAME(QM2) XMITQ(QM2.XQ) AMQ8006I: IBMMQ queue created. DEFINE CHANNEL(TO.QM2) CHLTYPE(SDR) XMITQ(QM2.XQ) CONNAME('LOCALHOST(1415)') 3 : DEFINECHANNEL(TO.QM2) CHLTYPE(SDR) XMITQ(QM2.XQ) CONNAME('LOCALHOST(1415)') AMQ8014I: IBMMQ channel created. START CHANNEL(TO.QM2) 4 : STARTCHANNEL(TO.QM2) AMQ8018I: Start IBMMQ channel accepted. DIS CHS(TO.QM2) 5 : DISCHS(TO.QM2) AMQ8417I: DisplayChannel Statusdetails. CHANNEL(TO.QM2) CHLTYPE(SDR) CONNAME(127.0.0.1(1415)) CURRENT
  3. Knowledge ispower.SoWise share it Thispurelyforthe educationpurpose.Thisispartof opensource consumption. pg.3 RQMNAME(QM2) STATUS(RUNNING) SUBSTATE(MQGET) XMITQ(QM2.XQ) END 6 : END 5 MQSC commandsread. No commandshave a syntax error. All validMQSCcommandswere processed. C:WINDOWSsystem32>RUNMQSCQM1 5724-H72 (C) CopyrightIBMCorp. 1994, 2018. StartingMQSC for queue managerQM1. DEFINE QL(L2.R) 1 : DEFINEQL(L2.R) AMQ8006I: IBMMQ queue created. DEFINE CHANNEL(TO.QM1) CHLTYPE(RCVR) 2 : DEFINECHANNEL(TO.QM1) CHLTYPE(RCVR) AMQ8014I: IBMMQ channel created. DEFINE LSTR(QM1.LSTR) TRPTYPE(TCP) PORT(1414) 3 : DEFINELSTR(QM1.LSTR) TRPTYPE(TCP) PORT(1414) AMQ8626I: IBMMQ listenercreated. START LSTR(QM1.LSTR) 4 : STARTLSTR(QM1.LSTR) AMQ8021I: Requesttostart IBMMQ listeneraccepted. DIS LSSTATUS(QM1.LSTR) 5 : DISLSSTATUS(QM1.LSTR) AMQ8631I: Displaylistenerstatusdetails. LISTENER(QM1.LSTR) STATUS(RUNNING) PID(18420) STARTDA(2022-03-22) STARTTI(12.22.42) DESCR( )
  4. Knowledge ispower.SoWise share it Thispurelyforthe educationpurpose.Thisispartof opensource consumption. pg.4 TRPTYPE(TCP) CONTROL(MANUAL) IPADDR(*) PORT(1414) BACKLOG(100) END 6 : END 5 MQSC commandsread. No commandshave a syntax error. All validMQSCcommandswere processed. C:WINDOWSsystem32>RUNMQSCQM3 5724-H72 (C) CopyrightIBMCorp. 1994, 2018. StartingMQSC for queue managerQM3. DEFINE QL(L2.R.XQ) USAGE(XMITQ) 1 : DEFINEQL(L2.R.XQ) USAGE(XMITQ) AMQ8006I: IBMMQ queue created. DEFINE QR(SENDQ1) RNAME(L2.R) RQMNAME(QM1) XMITQ(L2.R.XQ) 3 : DEFINEQR(SENDQ1) RNAME(L2.R) RQMNAME(QM1) XMITQ(L2.R.XQ) AMQ8006I: IBMMQ queue created. DEFINE CHANNEL(TO.QM1) CHLTYPE(SDR) XMITQ(L2.R.XQ) CONNAME('LOCALHOST(1414)') 4 : DEFINECHANNEL(TO.QM1) CHLTYPE(SDR) XMITQ(L2.R.XQ) CONNAME('LOCALHOST(1414)') AMQ8014I: IBMMQ channel created. START CHANNEL(TO.QM1) 5 : STARTCHANNEL(TO.QM1) AMQ8018I: Start IBMMQ channel accepted. DIS CHS(TO.QM1) 6 : DISCHS(TO.QM1) AMQ8417I: DisplayChannel Statusdetails.
  5. Knowledge ispower.SoWise share it Thispurelyforthe educationpurpose.Thisispartof opensource consumption. pg.5 CHANNEL(TO.QM1) CHLTYPE(SDR) CONNAME(127.0.0.1(1414)) CURRENT RQMNAME(QM1) STATUS(RUNNING) SUBSTATE(MQGET) XMITQ(L2.R.XQ) END 7 : END 6 MQSC commandsread. One commandhas a syntax error. All validMQSCcommandswere processed. C:WINDOWSsystem32>AMQSPUTSENDQ1QM3 Sample AMQSPUT0 start target queue isSENDQ1 HI HELO Sample AMQSPUT0 end C:WINDOWSsystem32>AMQSPUTSENDQQM1 Sample AMQSPUT0 start target queue isSENDQ HASU SASSU Sample AMQSPUT0 end C:WINDOWSsystem32>AMQSGETL2 QM2 Sample AMQSGET0 start message <HASU> message <SASSU> ^C
  6. Knowledge ispower.SoWise share it Thispurelyforthe educationpurpose.Thisispartof opensource consumption. pg.6 C:WINDOWSsystem32>AMQSGETL2.R QM1 Sample AMQSGET0 start message <HI> message <HELO> no more messages Sample AMQSGET0 end
  7. Knowledge ispower.SoWise share it Thispurelyforthe educationpurpose.Thisispartof opensource consumption. pg.7
  8. Knowledge ispower.SoWise share it Thispurelyforthe educationpurpose.Thisispartof opensource consumption. pg.8
  9. Knowledge ispower.SoWise share it Thispurelyforthe educationpurpose.Thisispartof opensource consumption. pg.9
Publicité