WebSphere MQ Experiment 1,2

Source: Internet
Author: User
Tags reserved valid

To facilitate future implementation on AIX 5L, I use the Windows XP command method to describe the process. The experiment was conducted as a demonstration for the company in Wednesday.

My MQ installation uses GUI method, install in C:/Program Files/ibm/websphere MQ, so do not repeat

Configure the deployment in the following ways:
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:/Program Files/ibm/websphere MQ/BIN>CRTMQM QM2
The WebSphere MQ Queue Manager has been created.
Create or replace the default object for QM2.
Default object statistics: 31 have been created. 0 have been replaced. 0 have failed.
setting is completing.
Setup completed.

C:/Program Files/ibm/websphere MQ/BIN>STRMQM QM2
Amq8118:websphere MQ Queue Manager does not exist.

C:/Program Files/ibm/websphere MQ/BIN>STRMQM QM2
The WebSphere MQ Queue Manager ' QM2 ' has been started.

C:/Program Files/ibm/websphere MQ/BIN>RUNMQSC
5724-B41 (C) Copyright IBM Corp. 1994, 2002. All RIGHTS RESERVED.
Start the queue Manager's MQSC.


Amq8146:websphere MQ Queue Manager is not available.

The MQSC command was not read.
All commands have no syntax errors.
All valid MQSC commands have been processed.

C:/Program Files/ibm/websphere MQ/BIN>RUNMQSC QM2
5724-B41 (C) Copyright IBM Corp. 1994, 2002. All RIGHTS RESERVED.
Start the queue Manager QM2 MQSC.


DEF QL (QM2. A
1:def QL (QM2. A
The Amq8006:websphere MQ queue was created.
DEF QL (QM2. B
2:def QL (QM2. B
The Amq8006:websphere MQ queue was created.
DEF CHL (CH. Qm2_qm1. TCP) Chltype (SDR) REPLACE +trptype (TCP) CONNAME (
) XMITQ (QT). QM1)
3:def CHL (CH. Qm2_qm1. TCP) Chltype (SDR) REPLACE +trptype (TCP)
T1 (1414) ') XMITQ (QT). QM1)
AMQ8405: Syntax error detected at the end of the following command segment or near the end:-
DEF CHL (CH. Qm2_qm1. TCP) Chltype (SDR) REPLACE +

The valid syntax for the AMQ8427:MQSC command is:

DEFINE CHANNEL (Channel_name)
Chltype (SDR) CONNAME (String)
XMITQ (String) [BATCHHB (integer)]
[Batchint (integer)] [Batchsz (integer)]
[CONVERT (NO | YES] [Descr (string)]
[Discint (integer)] [Hbint (integer)]
[Kaint (integer)] [Like (Channel_name)]
[Longrty (integer)] [LONGTMR (integer)]
[Maxmsgl (integer)] [Mcaname (String)]
[Mcatype (PROCESS | THREAD)] [MCAUSER (string)]
[Modename (String)] [Msgdata (String)]
[Msgexit (String)] [Noreplace | REPLACE
[Npmspeed (NORMAL | FAST)] [PASSWORD (string)]
[Rcvdata (String)] [Rcvexit (String)]
[Scydata (String)] [Scyexit (String)]
[SendData (String)] [Sendexit (String)]
[Seqwrap (integer)] [Shortrty (integer)]
[SHORTTMR (integer)] [Sslciph (String)]
[SSLPEER (String)] [Tpname (String)]
[Trptype (LU62 | TCP | NETBIOS | SPX)]
[USERID (String)] [Locladdr (String)]

DEF CHL (CH. Qm2_qm1. TCP) Chltype (SDR) REPLACE +
     4:def CHL (CH. Qm2_qm1. TCP) Chltype (SDR) REPLACE +
Trptype (TCP) CONNAME (' host1 (1414) ') XMITQ (qt.qm1)
       : Trptype (TCP) CONNAME (' host1 (1414) ') XMITQ (QT. QM1)
Amq8014:websphere MQ channel was created.
DEF CHL (CH. Qm1_qm2. TCP) Chltype (RCVR) REPLACE +
     5:def CHL (CH. Qm1_qm2. TCP) Chltype (RCVR) REPLACE +
Trptype (TCP)
      : Trptype (TCP)
AMQ8014: The WebSphere MQ channel has been created.
DEF QL (QT). QM1) REPLACE USAGE (XMITQ)
     6:def QL (QT). QM1) REPLACE USAGE (XMITQ)
Amq8006:websphere MQ queue has been created.
DEF QL (QL. Dlq/host2. QM2) REPLACE
     7:def QL (QL. Dlq/host2. QM2) REPLACE
Amq8006:websphere MQ queue was created.
ALTER QMGR DEADQ (QL. Dlq/host2. QM2)
     8:alter QMGR deadq (QL. Dlq/host2. QM2)
Amq8005:websphere the MQ Queue Manager has changed.


C:/Program files/ibm/websphere mq/bin>runmqlsr-t tcp-p 1414-m QM2
5724-B41 (C) Copyright IBM Corp. 1994, 2002. All RIGHTS RESERVED.

PING CHL (CH. Qm2_qm1. TCP)
9:ping CHL (CH. Qm2_qm1. TCP)
Amq8020:ping WebSphere MQ Channel complete.

C:/Program Files/ibm/websphere mq/bin>runmqchl-c CH. Qm2_qm1. Tcp-m QM2
5724-B41 (C) Copyright IBM Corp. 1994, 2002. All RIGHTS RESERVED.
2006-4-4 17:01:18 The Channel program is started.

12:def QR (ABC) rname (QM1. A) Rqmname (QM1) XMITQ (QT). QM1)
The Amq8006:websphere MQ queue was created.
End
13:end
12 MQSC commands have been read.
3 commands have grammatical errors.
All valid MQSC commands have been processed.

C:/Program Files/ibm/websphere mq/bin>amqsput ABC QM2
Sample AMQSPUT0 Start
Target queue is ABC
Adjoiasdnaskdfjsd

Sample AMQSPUT0 End

C:/Program Files/ibm/websphere mq/bin>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.