| Author | Message | 
		
		  | MQAltaf | 
			  
				|  Posted: Wed Feb 22, 2006 2:54 am    Post subject: HP-UX and AIX Code Page differences |   |  | 
		
		  |  Centurion
 
 
 Joined: 10 Feb 2005Posts: 119
 
 
 | 
			  
				| Hi, 
 We have migrated a server from AIX to HP which hosts MQ Sever.
 
 An application on z/OS puts a message to a local queue on the HP server. An application on HP polls the queue and sends a response back to the mainframe queue manager. However, the application on the mainframe doesnt recognise the message since the migration. All worked fine previously.
 
 No message conversion takes place
 All messages sent/received are in ASCI
 
 Would be gratefulf if someone could point me in the right direction
 
 Thanks in advance
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mvic | 
			  
				|  Posted: Wed Feb 22, 2006 3:38 am    Post subject: Re: HP-UX and AIX Code Page differences |   |  | 
		
		  |  Jedi
 
 
 Joined: 09 Mar 2004Posts: 2080
 
 
 | 
			  
				| 
   
	| MQAltaf wrote: |  
	| the application on the mainframe doesnt recognise the message |  Would you please explain more about what is "wrong" with the message when it arrives at the mainframe?
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | MQAltaf | 
			  
				|  Posted: Wed Feb 22, 2006 3:40 am    Post subject: |   |  | 
		
		  |  Centurion
 
 
 Joined: 10 Feb 2005Posts: 119
 
 
 | 
			  
				| What i meant is that the application doesnt recognise the message format. 
 I think it expects the response in ASCI but AIX version of ASCI but now that we have migrated the response is sent back in HP version of ASCI
 
 Could the above be a possibility?
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mvic | 
			  
				|  Posted: Wed Feb 22, 2006 3:48 am    Post subject: |   |  | 
		
		  |  Jedi
 
 
 Joined: 09 Mar 2004Posts: 2080
 
 
 | 
			  
				| 
   
	| MQAltaf wrote: |  
	| What i meant is that the application doesnt recognise the message format. 
 I think it expects the response in ASCI but AIX version of ASCI but now that we have migrated the response is sent back in HP version of ASCI
 
 Could the above be a possibility?
 |  It's possible.  There are several ASCII codepages.
 
 If you need more than "it's possible", please supply details of what is "wrong" with the message when it arrives at the mainframe.
 
 Question: if the message contents are pure ASCII text, then could you tell MQ the message is MQFMT_STRING when putting it on the HP-UX machine, and use MQGMO_CONVERT on the mainframe's MQGET call?
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | mvic | 
			  
				|  Posted: Wed Feb 22, 2006 4:00 am    Post subject: |   |  | 
		
		  |  Jedi
 
 
 Joined: 09 Mar 2004Posts: 2080
 
 
 | 
			  
				| 
   
	| mvic wrote: |  
	| Question: if the message contents are pure ASCII text, then could you tell MQ the message is MQFMT_STRING when putting it on the HP-UX machine, and use MQGMO_CONVERT on the mainframe's MQGET call? |  Actually this may not please your mainframe admins, because MQGMO_CONVERT causes extra processing on the MQGET.  Mainframe owners are usually very careful with their MIPS so they may not be happy to use MQGMO_CONVERT.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | MQAltaf | 
			  
				|  Posted: Wed Feb 22, 2006 4:01 am    Post subject: |   |  | 
		
		  |  Centurion
 
 
 Joined: 10 Feb 2005Posts: 119
 
 
 | 
			  
				| Hi, 
 We are setting MQFT_STRING when putting it on the HP-UX machine. However, we dont use MQGMO_CONVERT on the mainframe's MQGET call.
 
 It has also worked fine previously...No application or MQ infrastructure changes have taken place. The only change in the architecture is the OS change from AIX to HP-UX.
 
 I have noticed that the CCID are different bwteen the two platforms
 
 HP-UX
 CCSID(1051)
 
 AIX
 CCID(819)
 
 I think I will alter the CCID on the queue manager on HP-UX machine to use CCID(819)
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | PeterPotkay | 
			  
				|  Posted: Wed Feb 22, 2006 5:32 pm    Post subject: Re: HP-UX and AIX Code Page differences |   |  | 
		
		  |  Poobah
 
 
 Joined: 15 May 2001Posts: 7723
 
 
 | 
			  
				| 
   
	| MQAltaf wrote: |  
	| All messages sent/received are in ASCI |  So your saying the mainframe app produces ASCII request messages, and expects reply messages in ASCII as well?
 
 
   
	| MQAltaf wrote: |  
	| I think I will alter the CCID on the queue manager on HP-UX machine to use CCID(819) |  Looking at a dog and calling it a duck is not gonna make it quack.
 _________________
 Peter Potkay
 Keep Calm and MQ On
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | kevinf2349 | 
			  
				|  Posted: Wed Feb 22, 2006 6:55 pm    Post subject: |   |  | 
		
		  |  Grand Master
 
 
 Joined: 28 Feb 2003Posts: 1311
 Location: USA
 
 | 
			  
				| 
   
	| Quote: |  
	| It has also worked fine previously...No application or MQ infrastructure changes have taken place. The only change in the architecture is the OS change from AIX to HP-UX.
 
 
 |  
 .....and did the old AIX channeldo the conversion new one not by any chance? Or were the defintions identical?
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |