forked from karthickow/ImpCommands
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Websphere MQ.txt
72 lines (59 loc) · 1.82 KB
/
Websphere MQ.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
*MQADMIN
dspmqver
dspmqver -i
dspmqver -a
crtmqm -q CHLAUTH_QM;
strmqm CHLAUTH_QM
dspmq
runmqsc CHLAUTH_QM
DEFINE qlocal(CHLAUTH_QM.LOCAL.QUEUE)
echo "dis QLOCAL(*)" | runmqsc CHLAUTH_QM | grep -1 test
runmqsc CHLAUTH_QM
DEFINE LISTENER(LISTENER.TCP) TRPTYPE (TCP) PORT(1414)
start LISTENER(LISTENER.TCP)
ps -ef | grep mqlsr
runmqsc CHLAUTH_QM
DEFINE CHANNEL(CHLAUTH_QM.LOCAL.MY_SVRCONN) CHLTYPE(SVRCONN)
runmqsc CHLAUTH_QM
DISPLAY CHLAUTH(*)
DIS QMGR CHLAUTH
ALTER QMGR CHLAUTH(DISABLED)
DELETE CHANNEL(MY_SVRCONN)
DELETE LISTENER(LISTENER.TCP)
set MQSERVER=MY_SVRCONN/TCP/localhost(1414)
amqsput CHLAUTH_QM.LOCAL.QUEUE CHLAUTH_QM
amqsget CHLAUTH_QM.LOCAL.QUEUE CHLAUTH_QM
amqsputc CHLAUTH_QM.LOCAL.QUEUE CHLAUTH_QM
amqsputc SYSTEM.DEFAULT.LOCAL.QUEUE CHLAUTH_QM
setmqaut -m CHLAUTH_QM -t qmgr -p pattu +connect
setmqaut -m CHLAUTH_QM -t queue -n SYSTEM.DEFAULT.LOCAL.QUEUE -p pattu +put
setmqaut -m CHLAUTH_QM -t queue -n SYSTEM.DEFAULT.LOCAL.QUEUE -p pattu +get
setmqaut -m CHLAUTH_QM -t queue -n CHLAUTH_QM.LOCAL.QUEUE -p pattu +put
setmqaut -m CHLAUTH_QM -t queue -n CHLAUTH_QM.LOCAL.QUEUE -p pattu +get
setmqaut -m CHLAUTH_QM -t qmgr -p ibmmq@home +connect
setmqaut -m CHLAUTH_QM -t queue -n SYSTEM.DEFAULT.LOCAL.QUEUE -p ibmmq@home +put
setmqaut -m CHLAUTH_QM -t queue -n SYSTEM.DEFAULT.LOCAL.QUEUE -p ibmmq@home +get
Jar that are required in the classpath:
--------------------------------------
C:\Program Files\IBM\WebSphere MQ\java\lib
CL3Export.jar
CL3Nonexport.jar
rmm.jar
providerutil.jar
ldap.jar
jta.jar
jndi.jar
jms.jar
fscontext.jar
dhbcore.jar
connector.jar
com.ibm.mqjms.jar
com.ibm.mq.jmqi.jar
com.ibm.mq.jar
com.ibm.mq.headers.jar
com.ibm.mq.commonservices.jar
com.ibm.mq.pcf.jar
C:\Program Files\IBM\SDP\runtimes\base_v7\runtimes
com.ibm.ws.admin.client_7.0.0.jar
com.ibm.ws.messagingClient.jar
com.ibm.ws.ejb.thinclient_7.0.0.jar