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 » WebSphere Message Broker (ACE) Support » Coversion :- UNIX to MVS

Post new topic  Reply to topic
 Coversion :- UNIX to MVS « View previous topic :: View next topic » 
Author Message
DaveyD
PostPosted: Wed Dec 19, 2001 7:20 am    Post subject: Reply with quote

Novice

Joined: 11 Dec 2001
Posts: 12

I am receiving a message on UNIX with an RFH2 header on and want to strip the haeder off and send it to an application running on MVS.
The code I am using is:
SET OutputRoot.MQRFH2 = NULL
SET OutputRoot.MQMD.Format = 'MQSTR';

However, the application running on MVS fails with a 2111 code.

When the message came in without the header on and I simply did a bit of reformatting then delivered the message it worked fine !!
Any ideas ?
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Dec 19, 2001 10:36 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

You don't say if you "copy message header" or "copy entire message" in the compute node.

If you do neither of these then the output message should not be affected by different message headers in the input message. Just build the new output headers as needed.

Remember to construct the MQMD before the MQRFH2 (if any)and before the message body.
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Dec 19, 2001 11:42 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Rason code 2111 is 'MQRC_SOURCE_CCSID_ERROR'.

You might have to play around with setting the correct CCSID (and Encoding) when you strip out the RFH2 as the following is what you have:

CCSID in MQMD gives coding for RFH2.
CCSID in RFH2 gives coding for Message.

Doesn't always follow that the RFH2 and Message have the same CCSID (and Encoding).

Cheers,

_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Coversion :- UNIX to MVS
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.