ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Unable to create local queue

Post new topic  Reply to topic
 Unable to create local queue « View previous topic :: View next topic » 
Author Message
Atlanta06
PostPosted: Thu Nov 30, 2006 2:28 pm    Post subject: Unable to create local queue Reply with quote

Novice

Joined: 29 Nov 2006
Posts: 11

I am using the following cmd to create a local queue.

DEFINE QLOCAL ('TEST1.INPUT') +
* CRDATE (2006-10-1 +
* CRTIME (09.08.26) +
DESCR('WebSphere MQ Default Local Queue') +
PUT(ENABLED) +
DEFPRTY(0) +
DEFPSIST(NO) +
SCOPE(QMGR) +
GET(ENABLED) +
MAXDEPTH(50000) +
MAXMSGL(4194304) +
SHARE +
DEFSOPT(SHARED) +
MSGDLVSQ(PRIORITY) +
HARDENBO +
USAGE(NORMAL) +
NOTRIGGER +
TRIGTYPE(FIRST) +
TRIGDPTH(1) +
TRIGMPRI(0) +
TRIGDATA(' ') +
PROCESS(' ') +
INITQ(' ') +
RETINTVL(999999999) +
BOTHRESH(0) +
BOQNAME(' ') +
QDEPTHHI(80) +
QDEPTHLO(20) +
QDPMAXEV(ENABLED) +
QDPHIEV(DISABLED) +
QDPLOEV(DISABLED) +
QSVCINT(999999999) +
QSVCIEV(NONE) +
DISTL(NO) +
NPMCLASS(NORMAL) +
CLUSTER(' ') +
CLUSNL(' ') +
DEFBIND(OPEN) +
REPLACE

The irony is I am able to create the queue by using runmqsc on one QM but not on the other.Both QM's are on different hosts.It gives me

AMQ8405: Syntax error detected at or near end of command segment below:-
DEFINE QLOCAL ('TEST1.INPUT') DESCR('WebSphere MQ Default Local Queue') PUT(ENABLED) DEFPRTY(0) DEFPSIST(NO) SCOPE(QMGR) GET(ENABLED) MAXDEPTH(50000) MAXMSGL(4194304) SHARE DEFSOPT(SHARED) MSGDLVSQ(PRIORITY) HARDENBO USAGE(NORMAL) NOTRIGGER TRIGTYPE(FIRST) TRIGDPTH(1) TRIGMPRI(0) TRIGDATA(' ') PROCESS(' ') INITQ(' ') RETINTVL(999999999) BOTHRESH(0) BOQNAME(' ') QDEPTHHI(80) QDEPTHLO(20) QDPMAXEV(ENABLED) QDPHIEV(DISABLED) QDPLOEV(DISABLED) QSVCINT(999999999) QSVCIEV(NONE) DISTL(NO) N

AMQ8427: Valid syntax for the MQSC command:

DEFINE QLOCAL(q_name)
[ BOQNAME(string) ] [ BOTHRESH(integer) ]
[ CLUSNL(namelist_name) ] [ CLUSTER(cluster_name) ]
[ DEFBIND( NOTFIXED | OPEN ) ] [ DEFPRTY(integer) ]
[ DEFPSIST( NO | YES ) ] [ DESCR(string) ]
[ DEFSOPT( EXCL | SHARED ) ] [ DISTL( NO | YES ) ]
[ GET( ENABLED | DISABLED ) ] [ INITQ(string) ]
[ LIKE(qlocal_name) ] [ MAXDEPTH(integer) ]
[ MAXMSGL(integer) ] [ MSGDLVSQ( PRIORITY | FIFO ) ]
[ NOHARDENBO | HARDENBO ] [ NOREPLACE | REPLACE ]
[ NOSHARE | SHARE ] [ NOTRIGGER | TRIGGER ]
[ PROCESS(string) ] [ PUT( ENABLED | DISABLED ) ]
[ QDEPTHHI(integer) ] [ QDEPTHLO(integer) ]
[ QDPHIEV( ENABLED | DISABLED ) ] [ QDPLOEV( ENABLED | DISABLED ) ]
[ QDPMAXEV( ENABLED | DISABLED ) ] [ QSVCIEV( NONE | HIGH | OK ) ]
[ QSVCINT(integer) ] [ RETINTVL(integer) ]
[ SCOPE( QMGR | CELL ) ] [ TRIGDATA(string) ]
[ TRIGDPTH(integer) ] [ TRIGMPRI(integer) ]
[ TRIGTYPE( FIRST | EVERY | DEPTH |
NONE ) ] [ USAGE( NORMAL | XMITQ ) ]
One MQSC command read.
One command has a syntax error.
All valid MQSC commands were processed.

Unable to figure out why.Eventhough I am unable to create using runmqsc,I am able to create the queue from the MQ explorer.

Pls provide some input on how to debug this.

TIA
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Nov 30, 2006 2:35 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

One queue manager is < V5.3 csd 6 and doesn't understand npmclass...
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Unable to create local queue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.