You are on page 1of 3

Microsoft Windows XP [Version 5.1.

2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Support>DLTMQM SOURCEQM


WebSphere MQ queue manager 'SOURCEQM' deleted.

C:\Documents and Settings\Support>CRTMQM -SA SOURCEQM


There are 70 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager created.
Directory 'C:\Program Files\IBM\WebSphere MQ\qmgrs\SOURCEQM' created.
The queue manager is associated with installation 'Installation1'.
Creating or replacing default objects for queue manager 'SOURCEQM'.
Default objects statistics : 77 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.

C:\Documents and Settings\Support>STRMQM SOURCEQM


There are 70 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager 'SOURCEQM' starting.
The queue manager is associated with installation 'Installation1'.
5 log records accessed on queue manager 'SOURCEQM' during the log replay phase.
Log replay for queue manager 'SOURCEQM' complete.
Transaction manager state recovered for queue manager 'SOURCEQM'.
WebSphere MQ queue manager 'SOURCEQM' started using V7.5.0.2.

C:\Documents and Settings\Support>RUNMQSC SOURCEQM


5724-H72 (C) Copyright IBM Corp. 1994, 2011. ALL RIGHTS RESERVED.
Starting MQSC for queue manager SOURCEQM.

DEFINE QREMOTE(SEND_TO_REQUESTQ) RNAME(REQUESTQ) RQMNAME(REMOTEQM)


1 : DEFINE QREMOTE(SEND_TO_REQUESTQ) RNAME(REQUESTQ) RQMNAME(REMOTEQM)
AMQ8006: WebSphere MQ queue created.
DEFINE QLOCAL(REMOTEQM) USAGE(XMITQ)
2 : DEFINE QLOCAL(REMOTEQM) USAGE(XMITQ)
AMQ8006: WebSphere MQ queue created.
DEFINE CHANNEL(SOURCEQM/REMOTEQM) CHLTYPE(SDR) XMITQ(REMOTEQM) CONNAME('LOCALHOS
T(1212)') DISCINT(60)
3 : DEFINE CHANNEL(SOURCEQM/REMOTEQM) CHLTYPE(SDR) XMITQ(REMOTEQM) CONNAME(
'LOCALHOST(1212)') DISCINT(60)
AMQ8014: WebSphere MQ channel created.
DEFINE QLOCAL(SOURCEQM.CHANNEL.INITQ) LIKE (SYSTEM.CHANNEL.INITQ)
4 : DEFINE QLOCAL(SOURCEQM.CHANNEL.INITQ) LIKE (SYSTEM.CHANNEL.INITQ)
AMQ8006: WebSphere MQ queue created.
DEFINE SERVICE(CHI_SERVICE) SERVTYPE(COMMAND) STARTCMD('RUNMQCHI') STARTARG('-M
SOURCEQM -Q SOURCEQM.CHANNEL.INITQ') CONTROL(QMGR)
5 : DEFINE SERVICE(CHI_SERVICE) SERVTYPE(COMMAND) STARTCMD('RUNMQCHI') STAR
TARG('-M SOURCEQM -Q SOURCEQM.CHANNEL.INITQ') CONTROL(QMGR)
AMQ8625: WebSphere MQ service created.
START SERVICE(CHI_SERVICE)
6 : START SERVICE(CHI_SERVICE)
AMQ8733: Request to start Service accepted.
DISPLAY QSTATUS(SOURCEQM.CHANNEL.INITQ) TYPE(HANDLE)
7 : DISPLAY QSTATUS(SOURCEQM.CHANNEL.INITQ) TYPE(HANDLE)
AMQ8450: Display queue status details.
QUEUE(SOURCEQM.CHANNEL.INITQ) TYPE(HANDLE)
APPLDESC(WebSphere MQ Channel Initiator)
APPLTAG(ebSphere MQ\bin\runmqchi.exe) APPLTYPE(CHINIT)
BROWSE(NO) CHANNEL( )
CONNAME( ) ASTATE(NONE)
HSTATE(ACTIVE) INPUT(EXCL)
INQUIRE(NO) OUTPUT(NO)
PID(7212) QMURID(0.0)
SET(YES) TID(1)
URID(XA_FORMATID[] XA_GTRID[] XA_BQUAL[])
URTYPE(QMGR) USERID(MUSR_MQADMIN@ABC)
ALTER QLOCAL(REMOTEQM) TRIGGER INITQ(SOURCEQM.CHANNEL.INITQ)
8 : ALTER QLOCAL(REMOTEQM) TRIGGER INITQ(SOURCEQM.CHANNEL.INITQ)
AMQ8008: WebSphere MQ queue changed.

:
END
9 : END
8 MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.

C:\Documents and Settings\Support>AMQSPUT SEND_TO_REMOTEQ SOURCEQM


Sample AMQSPUT0 start
target queue is SEND_TO_REMOTEQ
MQOPEN ended with reason code 2085
unable to open queue for output
Sample AMQSPUT0 end

C:\Documents and Settings\Support>AMQSPUT SEND_TO_REQUESTQ SOURCEQM


Sample AMQSPUT0 start
target queue is SEND_TO_REQUESTQ
MSG1
MSG2
MSG3

Sample AMQSPUT0 end

C:\Documents and Settings\Support>AMQSPUT SEND_TO_REQUESTQ SOURCEQM


Sample AMQSPUT0 start
target queue is SEND_TO_REQUESTQ
MSG1
MSG2
MSG3
MSG4

Sample AMQSPUT0 end

C:\Documents and Settings\Support>RUNMQSC SOURCEQM


5724-H72 (C) Copyright IBM Corp. 1994, 2011. ALL RIGHTS RESERVED.
Starting MQSC for queue manager SOURCEQM.

DEFINE QLOCAL(REPLYQ)
1 : DEFINE QLOCAL(REPLYQ)
AMQ8006: WebSphere MQ queue created.
DEFINE CHANNEL(REMOTEQM/SOURCEQM) CHLTYPE(RCVR)
2 : DEFINE CHANNEL(REMOTEQM/SOURCEQM) CHLTYPE(RCVR)
AMQ8014: WebSphere MQ channel created.
DEFINE LSTR(SOURCEQM.LSTR) TRPTYPE(TCP) PORT(1313) CONTROL(QMGR)
3 : DEFINE LSTR(SOURCEQM.LSTR) TRPTYPE(TCP) PORT(1313) CONTROL(QMGR)
AMQ8626: WebSphere MQ listener created.
START LSTR(SOURCEQM.LSTR)
4 : START LSTR(SOURCEQM.LSTR)
AMQ8021: Request to start WebSphere MQ listener accepted.
DISPLAY LSSTATUS(*) ALL
5 : DISPLAY LSSTATUS(*) ALL
AMQ8631: Display listener status details.
LISTENER(SOURCEQM.LSTR) STATUS(RUNNING)
PID(5708) STARTDA(2015-11-21)
STARTTI(08.40.57) DESCR( )
TRPTYPE(TCP) CONTROL(QMGR)
IPADDR(*) PORT(1313)
BACKLOG(100)

:
END
6 : END
5 MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.

C:\Documents and Settings\Support>AMQSREQ SEND_TO_REQUESTQ SOURCEQM REPLYQ


Sample AMQSREQ0 start
server queue is SEND_TO_REQUESTQ
replies to REPLYQ
MSG1
MSG2
MSG3

response <MSG1>
response <MSG2>
response <MSG3>
no more replies
Sample AMQSREQ0 end

C:\Documents and Settings\Support>


C:\Documents and Settings\Support>