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 1, 2  Next
 Queue setting « View previous topic :: View next topic » 
Author Message
RAKI
PostPosted: Tue Jul 06, 2010 7:52 pm    Post subject: Queue setting Reply with quote

Novice

Joined: 02 Dec 2009
Posts: 23

Hi Folks,

Can some let me know , how to get the setting/properties of an existing Queue.

I need to create a new queue with similar properties under same qmanager.

Thanks in advance !
Back to top
View user's profile Send private message
hunterKillerz
PostPosted: Tue Jul 06, 2010 8:24 pm    Post subject: Re: Queue setting Reply with quote

Apprentice

Joined: 16 Jun 2010
Posts: 40

RAKI wrote:
Hi Folks,

Can some let me know , how to get the setting/properties of an existing Queue.

I need to create a new queue with similar properties under same qmanager.

Thanks in advance !



What language you're using?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jul 06, 2010 9:28 pm    Post subject: Reply with quote

Poobah

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

Take a look at the WMQ Script Command (MQSC) Reference manual.

Look closely at DEFINE Q, specifically DEFINE QLOCAL( ) with the LIKE parameter.

(Looked like English to me.)
_________________
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
shashivarungupta
PostPosted: Wed Jul 07, 2010 1:05 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

hunterKillerz wrote:
What language you're using?

What do you mean by that ? How does it matter when gottu define/alter the queue/its properties.

_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
hunterKillerz
PostPosted: Wed Jul 07, 2010 1:20 am    Post subject: Reply with quote

Apprentice

Joined: 16 Jun 2010
Posts: 40

Quote:

What do you mean by that ? How does it matter when gottu define/alter the queue/its properties.



I tot he was trying to use an application to alter/define its properties.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Jul 07, 2010 1:30 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

hunterKillerz wrote:
Quote:

What do you mean by that ? How does it matter when gottu define/alter the queue/its properties.


I tot he was trying to use an application to alter/define its properties.


RAKI has not mentioned it anywhere that he is using or going to use some application/programming language to do that. Then in such cases we limit ourselves to MQ related facilities... as bruce said.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
hunterKillerz
PostPosted: Wed Jul 07, 2010 1:43 am    Post subject: Reply with quote

Apprentice

Joined: 16 Jun 2010
Posts: 40

shashivarungupta wrote:
hunterKillerz wrote:
Quote:

What do you mean by that ? How does it matter when gottu define/alter the queue/its properties.


I tot he was trying to use an application to alter/define its properties.


RAKI has not mentioned it anywhere that he is using or going to use some application/programming language to do that. Then in such cases we limit ourselves to MQ related facilities... as bruce said.



Sorry, my bad
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Wed Jul 07, 2010 2:02 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

hunterKillerz wrote:
shashivarungupta wrote:
hunterKillerz wrote:
Quote:

What do you mean by that ? How does it matter when gottu define/alter the queue/its properties.


I tot he was trying to use an application to alter/define its properties.


RAKI has not mentioned it anywhere that he is using or going to use some application/programming language to do that. Then in such cases we limit ourselves to MQ related facilities... as bruce said.


Sorry, my bad


Its Okey. We all are learning, atleast I am trying...
Have fun
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
RAKI
PostPosted: Wed Jul 07, 2010 6:32 am    Post subject: Reply with quote

Novice

Joined: 02 Dec 2009
Posts: 23

bruce2359 wrote:
Take a look at the WMQ Script Command (MQSC) Reference manual.

Look closely at DEFINE Q, specifically DEFINE QLOCAL( ) with the LIKE parameter.

(Looked like English to me.)


Thanks guys for taking you time in answering ....may be i should have been more specific.

anyhow Bruce as you said the Defin Qlocal is used to create the queue right( i'm new to this ) so how can i use this to get the existing queue properties to create another queue with those same setting ?

Thanks
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jul 07, 2010 6:37 am    Post subject: Reply with quote

Poobah

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

On Win/UNIX, start the runmqsc control command (program) from a c: or $ prompt. Refer to the WMQ System Administration Guide for information on control commands.

Next, type in this MQSC script command:
DEFINE QL(newqueuename) LIKE(existingqueuename).

You don't need to know the attributes of existingqueuename in advance.

If you don't specify the LIKE parameter, the attributes of SYSTEM.DEFAULT.LOCAL.QUEUE will be used.
_________________
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
RAKI
PostPosted: Wed Jul 07, 2010 6:59 am    Post subject: Reply with quote

Novice

Joined: 02 Dec 2009
Posts: 23

bruce2359 wrote:
On Win/UNIX, start the runmqsc control command (program) from a c: or $ prompt. Refer to the WMQ System Administration Guide for information on control commands.

Next, type in this MQSC script command:
DEFINE QL(newqueuename) LIKE(existingqueuename).

You don't need to know the attributes of existingqueuename in advance.

If you don't specify the LIKE parameter, the attributes of SYSTEM.DEFAULT.LOCAL.QUEUE will be used.


Thanks Bruce ....it was really really helpful .....i was going thru the LIKE and you gave me the one which i need

So ok then i will try to use the like parameter and give the old queue name there so the new one will take those setting !

Thanks once again Bruce ....you guys Rock
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jul 07, 2010 7:08 am    Post subject: Reply with quote

Poobah

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

As compensation for this quick-start answer to your post, you are to read through both the WMQ System Administration Guide and WMQ Script Command (MQSC) Reference.

These two documents provide the foundation for your MQ system administration responsibilities.
_________________
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
RAKI
PostPosted: Wed Jul 07, 2010 7:45 am    Post subject: Reply with quote

Novice

Joined: 02 Dec 2009
Posts: 23

RAKI wrote:
bruce2359 wrote:
On Win/UNIX, start the runmqsc control command (program) from a c: or $ prompt. Refer to the WMQ System Administration Guide for information on control commands.

Next, type in this MQSC script command:
DEFINE QL(newqueuename) LIKE(existingqueuename).

You don't need to know the attributes of existingqueuename in advance.

If you don't specify the LIKE parameter, the attributes of SYSTEM.DEFAULT.LOCAL.QUEUE will be used.


Thanks Bruce ....it was really really helpful .....i was going thru the LIKE and you gave me the one which i need

So ok then i will try to use the like parameter and give the old queue name there so the new one will take those setting !

Thanks once again Bruce ....you guys Rock


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 ??

Thanks
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jul 07, 2010 7:56 am    Post subject: Reply with quote

Poobah

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

It's time for you to read and understand the basics of WMQ, such as WebSphere MQ V6 Fundamentals.

http://www.redbooks.ibm.com/abstracts/sg247128.html?Open
_________________
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
RAKI
PostPosted: Wed Jul 07, 2010 8:03 am    Post subject: Reply with quote

Novice

Joined: 02 Dec 2009
Posts: 23

RAKI wrote:
bruce2359 wrote:
On Win/UNIX, start the runmqsc control command (program) from a c: or $ prompt. Refer to the WMQ System Administration Guide for information on control commands.

Next, type in this MQSC script command:
DEFINE QL(newqueuename) LIKE(existingqueuename).

You don't need to know the attributes of existingqueuename in advance.

If you don't specify the LIKE parameter, the attributes of SYSTEM.DEFAULT.LOCAL.QUEUE will be used.


Thanks Bruce ....it was really really helpful .....i was going thru the LIKE and you gave me the one which i need

So ok then i will try to use the like parameter and give the old queue name there so the new one will take those setting !

Thanks once again Bruce ....you guys Rock


Sure Bruce , I will go thru that .
well i guess i can compare those 2 queues using dis and see if anything is missing !

Anyhow thanks a lot for taking you time in answering .

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 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.