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 » Queue setting

Post new topic  Reply to topic Goto page Previous  1, 2
 Queue setting « View previous topic :: View next topic » 
Author Message
bruce2359
PostPosted: Wed Jul 07, 2010 8:16 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9482
Location: US: west coast, almost. Otherwise, enroute.

Quote:
Hey do i need to define a channel for the queue or even this will be taken care of with the same channel being used by existing queue channel ??

MQ channels are used to transmit messages from one qmgr to another qmgr. If the application that puts a message to a queue, and the application that gets the message from a queue, are on the same qmgr, then no channel is required.

If the putting and getting apps are on different qmgrs, then a channel between the two qmgrs is required. Channels are NOT associated with specific application queues.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
sumit
PostPosted: Thu Jul 08, 2010 7:39 am    Post subject: Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

Quote:
...i was going thru the LIKE and you gave me the one which i need...

A good thing about MQSC is that it 'hepls' you in writing a correct command.
Let's say if you have to use LIKE function and you don't know how.
Just type anything in mqsc and it will help you in determining the correct syntax-
Quote:
def ql(
1 : def ql(
AMQ8405: Syntax error detected at or near end of command segment below:-
def ql(

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( YES | NO ) ] [ DESCR(string) ]
[ DEFSOPT( EXCL | SHARED ) ] [ DISTL( YES | NO ) ]
[ GET( ENABLED | DISABLED ) ] [ INITQ(string) ]
[ LIKE(qlocal_name) ] [ MAXDEPTH(integer) ]
[ MAXMSGL(integer) ] [ MSGDLVSQ( PRIORITY | FIFO ) ]
[ HARDENBO | NOHARDENBO ] [ REPLACE | NOREPLACE ]
[ SHARE | NOSHARE ] [ TRIGGER | NOTRIGGER ]
[ 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 ) ] [ NPMCLASS( NORMAL | HIGH ) ]
[ STATQ( QMGR | ON | OFF ) ] [ ACCTQ( QMGR | ON | OFF ) ]
[ CLWLRANK(integer) ] [ CLWLPRTY(integer) ]
[ CLWLUSEQ( LOCAL | ANY | QMGR ) ]
[ MONQ( OFF | QMGR | LOW | MEDIUM | HIGH ) ]
here it tells to give a queue name. then what -
Quote:
def ql(MTYQUEUE) asa
2 : def ql(MTYQUEUE) asa
AMQ8405: Syntax error detected at or near end of command segment below:-
def ql(MTYQUEUE) a

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( YES | NO ) ] [ DESCR(string) ]
[ DEFSOPT( EXCL | SHARED ) ] [ DISTL( YES | NO ) ]
[ GET( ENABLED | DISABLED ) ] [ INITQ(string) ]
[ LIKE(qlocal_name) ] [ MAXDEPTH(integer) ]
[ MAXMSGL(integer) ] [ MSGDLVSQ( PRIORITY | FIFO ) ]
[ HARDENBO | NOHARDENBO ] [ REPLACE | NOREPLACE ]
[ SHARE | NOSHARE ] [ TRIGGER | NOTRIGGER ]
[ 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 ) ] [ NPMCLASS( NORMAL | HIGH ) ]
[ STATQ( QMGR | ON | OFF ) ] [ ACCTQ( QMGR | ON | OFF ) ]
[ CLWLRANK(integer) ] [ CLWLPRTY(integer) ]
[ CLWLUSEQ( LOCAL | ANY | QMGR ) ]
[ MONQ( OFF | QMGR | LOW | MEDIUM | HIGH ) ]

I wrote some junk chars and it gave me a list of valid functions.
To understand more, check the field details in MQ infocenter.
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » Queue setting
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.