| Author | 
		  Message
		 | 
		
		  | Datatrac | 
		  
		    
			  
				 Posted: Mon Apr 01, 2002 2:26 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Tue Apr 02, 2002 5:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Datatrac | 
		  
		    
			  
				 Posted: Tue Apr 02, 2002 2:18 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Wed Apr 03, 2002 4:39 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Datatrac | 
		  
		    
			  
				 Posted: Wed Apr 03, 2002 7:08 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Wed Apr 03, 2002 7:49 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Datatrac | 
		  
		    
			  
				 Posted: Wed Apr 03, 2002 7:59 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Wed Apr 03, 2002 8:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |