| Author | Message | 
		
		  | MB Developer | 
			  
				|  Posted: Mon May 26, 2014 9:07 pm    Post subject: How to use QLOAD |   |  | 
		
		  |  Disciple
 
 
 Joined: 03 Feb 2014Posts: 179
 
 
 | 
			  
				| Hi All, 
 please tell me the use of qload and how to work with qload.
 
 
 Thanks And Regards,
 Suresh K
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | MQsysprog | 
			  
				|  Posted: Mon May 26, 2014 10:12 pm    Post subject: |   |  | 
		
		  | Centurion
 
 
 Joined: 24 Feb 2014Posts: 116
 
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | PaulClarke | 
			  
				|  Posted: Mon May 26, 2014 11:13 pm    Post subject: |   |  | 
		
		  |  Grand Master
 
 
 Joined: 17 Nov 2005Posts: 1002
 Location: New Zealand
 
 | 
			  
				| QLOAD (or SupportPac MO03) comes with a fairly comprehensive User Guide. I don't doubt there are other snippets of information I could have put in it but certainly most of it is there. 
 If you want some help on a particular piece of it then you are going to have to be a lot more specific. What exactly are you trying to do?
 
 Cheers,
 Paul.
 _________________
 Paul Clarke
 MQGem Software
 www.mqgem.com
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | nicholas1 | 
			  
				|  Posted: Wed Jun 25, 2014 10:14 am    Post subject: Unique Id parameter in MQ |   |  | 
		
		  | Newbie
 
 
 Joined: 25 Jun 2014Posts: 1
 
 
 | 
			  
				| How to defind Unique id parameter in MQ. 
 Reason message are still sitting on queue is because Xi believes those are duplicate messages: (see message below)
 Duplicate JMS message with JMS message ID ID:414d5120434c542e54455354552e4120b5393e50212f9402 detected. Duplicate will be ignored
 
 The message id must be unique or only two messages will be processed.
 (One for each server 0 and 1) the other messages will be trashed as duplicates.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Wed Jun 25, 2014 4:01 pm    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| More pertinent should be the question: Why do you have multiple messages with the same messageId / correlationid ???  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | dextermbmq | 
			  
				|  Posted: Sat Jul 26, 2014 12:29 pm    Post subject: |   |  | 
		
		  | Voyager
 
 
 Joined: 26 Jul 2014Posts: 77
 
 
 | 
			  
				| There are many uses of qload : 
 1)Browsing/Deleting messages from the queue :
 
 qload -i <Queue Name> -m <Queue ManagerName> -dA -f <File name>
 
 Use "-I" for removing the messages
 
 2)Loading messages from one queue to other
 
 qload  -m <Queue ManagerName> -I <SourceQName> -o <DestQName>
 
 
 3)search all the messages with a string "xyz" from a queue and get output in a file
 
 
 qload -i <Queue Name> -m <Queue ManagerName> -s xyz -dA -f <File name>
 
 
 
 4) Loading X messages from index Y , from a source q to a Dest q
 
 qload -m <Queue ManagerName>  -I <SourceQName> -o <DestQName> -r Y..(X+Y)
 
 
 and many more..
  |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | MB Developer | 
			  
				|  Posted: Sun Jul 27, 2014 7:44 pm    Post subject: |   |  | 
		
		  |  Disciple
 
 
 Joined: 03 Feb 2014Posts: 179
 
 
 | 
			  
				| HI dextermbmq, 
 
 I already Done......anyway thanks.....
 
 If you know any other utility then shared.
 _________________
 Thanks....
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | dextermbmq | 
			  
				|  Posted: Thu Jul 31, 2014 10:53 am    Post subject: |   |  | 
		
		  | Voyager
 
 
 Joined: 26 Jul 2014Posts: 77
 
 
 | 
			  
				| There is one more utility "Q" utility but there is one drawback with it that we cannot use it to load messages to queue. We can just browse/delete messages from  a queue to a file 
 q -i <Queue Name> -m <QueueManager> -dd3><file_name>
 
 There are other tools like "MQMONN" available that allow messages to be unloaded/moved/deleted from a local queue  to a file/another queue.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |