| Author | Message | 
		
		  | mar | 
			  
				|  Posted: Mon Oct 18, 2004 2:42 am    Post subject: message contents question |   |  | 
		
		  | Apprentice
 
 
 Joined: 18 Oct 2004Posts: 26
 
 
 | 
			  
				| Hi. Can anyone please tell me if the message contents format can be anything else except string? For example, in Windows, can I put a message containing an image? Thanks in advance. |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Nigelg | 
			  
				|  Posted: Mon Oct 18, 2004 2:51 am    Post subject: |   |  | 
		
		  | Grand Master
 
 
 Joined: 02 Aug 2004Posts: 1046
 
 
 | 
			  
				| If you put an image into a msg, you should probably describe it as an MQFMT_NONE, which just puts spaces in the MD.Format field. The Format field is really only used for data conversion. If you are passing binary data you should leave the field empty.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mar | 
			  
				|  Posted: Mon Oct 18, 2004 4:16 am    Post subject: |   |  | 
		
		  | Apprentice
 
 
 Joined: 18 Oct 2004Posts: 26
 
 
 | 
			  
				| Thanks Nigelg. Do you know any resource (code, documentation ) available on this? Thanks in advance
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | bower5932 | 
			  
				|  Posted: Mon Oct 18, 2004 5:42 am    Post subject: |   |  | 
		
		  |  Jedi Knight
 
 
 Joined: 27 Aug 2001Posts: 3023
 Location: Dallas, TX, USA
 
 | 
			  
				| You can get information on the MQMD Format field in the Application Programming Reference. |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mar | 
			  
				|  Posted: Tue Oct 19, 2004 3:13 am    Post subject: clarification |   |  | 
		
		  | Apprentice
 
 
 Joined: 18 Oct 2004Posts: 26
 
 
 | 
			  
				| thanks for replying me. I didn't explain clearly what I meant. I am interested in handling messages containing scanned images. I would like to know if there is any documentation or even sample in this. Programming language is not a concern. If anyone has seen anything, please let me know. Thanks in advance.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | jefflowrey | 
			  
				|  Posted: Tue Oct 19, 2004 6:11 am    Post subject: |   |  | 
		
		  | Grand Poobah
 
 
 Joined: 16 Oct 2002Posts: 19981
 
 
 | 
			  
				| The contents of the message are irrelevant to MQSeries, except where you have told it to perform character translation. 
 So all of the examples, that do not use MQFMT_STRING, and all of the documentation that is not specifically about character translation are directly applicable to your situation.
 _________________
 I am *not* the model of the modern major general.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mar | 
			  
				|  Posted: Tue Oct 19, 2004 11:32 pm    Post subject: |   |  | 
		
		  | Apprentice
 
 
 Joined: 18 Oct 2004Posts: 26
 
 
 | 
			  
				| Thank you all for answering my query. |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |