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 » IBM MQ API Support » Dynamic temporary queues

Post new topic  Reply to topic
 Dynamic temporary queues « View previous topic :: View next topic » 
Author Message
Datatrac
PostPosted: Mon Apr 01, 2002 2:26 pm    Post subject: Reply with quote

Newbie

Joined: 15 May 2001
Posts: 5
Location: Atlanta, GA

Any C/C++ code available demonstrating the creation of dynamic queues would be appreciated. Your comments and suggestions on your experience using dynamic queues will also be valuable. Thanks.
Back to top
View user's profile Send private message Visit poster's website
mrlinux
PostPosted: Tue Apr 02, 2002 5:50 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

See IBM Sample code amqsreq0.c this comes with MQSeries.
The location of the source for the sample varies by platform.

_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Datatrac
PostPosted: Tue Apr 02, 2002 2:18 pm    Post subject: Reply with quote

Newbie

Joined: 15 May 2001
Posts: 5
Location: Atlanta, GA

The amqsreq0.c sample hid the fact that a corresponding model queue must exist in order to successfully create a dynamic queue. I'll proceed with creating a model queue (on my AIX system no default model queue is evident) and test the dynamic queue feature.
Back to top
View user's profile Send private message Visit poster's website
mrlinux
PostPosted: Wed Apr 03, 2002 4:39 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

There is a default model queue, SYSTEM.DEFAULT.MODEL.QUEUE not that it makes
any difference.

_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Datatrac
PostPosted: Wed Apr 03, 2002 7:08 am    Post subject: Reply with quote

Newbie

Joined: 15 May 2001
Posts: 5
Location: Atlanta, GA

Oversight on my behalf...you must use DISPLAY QMODEL (not QLOCAL) to search for available Model queues.
Moving forward, I'm wondering if remote clients can create dynamic queues.
Back to top
View user's profile Send private message Visit poster's website
mrlinux
PostPosted: Wed Apr 03, 2002 7:49 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Remote Clients can create dynamic queues, also just another tip when looking
for queues of unknown type you can do a 'dis q(*)' or replace * with whatever your looking for and it will display QREMOTE/LOCAL/ALIAS/MODEL

_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Datatrac
PostPosted: Wed Apr 03, 2002 7:59 am    Post subject: Reply with quote

Newbie

Joined: 15 May 2001
Posts: 5
Location: Atlanta, GA

My dynamic queue example behaves nicely.
Good tip. How about a 'repeat last command' in runmqsc?
Thanks Jeff.
Back to top
View user's profile Send private message Visit poster's website
mrlinux
PostPosted: Wed Apr 03, 2002 8:15 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well I have limited expierence on AIX, can you set your command line history to
bring up the previous command, if so it may work in the runmqsc env. I konw it
works under NT.

_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Dynamic temporary queues
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.