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 » Invalid message body/header sequence 'none'/'MQHRH2

Post new topic  Reply to topic
 Invalid message body/header sequence 'none'/'MQHRH2 « View previous topic :: View next topic » 
Author Message
smeunier
PostPosted: Wed Dec 06, 2006 8:32 am    Post subject: Invalid message body/header sequence 'none'/'MQHRH2 Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

I have been trying to resolve this error message for a while now, but have not been able to get around it. Perhaps a second set of eyes.

A plain message is received into input node. In the compute node, I add and RFH2 header and add publication information and then send to publication node, but I get this error. The inbound message is coming as MQMD.Format= ' '; I need to change this to MQHRF2 correct? to add RFH2 header? The error occur on popaget to output node.

Here is my ESQL:

Code:

SET OutputRoot.MQMD = InputRoot.MQMD;
SET OutputRoot.MQMD.(MQMD.Field)Format = 'MQHRF2  ';




-- Build RFH2 Message Header
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version =2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format ='        ';
SET OutputRoot.MQRFH2.(MQRFH2.Field)CodedCharSetId =1208;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Flags =0;
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID =1208;


SET OutputRoot.MQRFH2.pcs.Command = 'Publish';
SET OutputRoot.MQRFH2.pcs.Topic = 'MCS2/'||Event||'/'||Type;
SET OutputRoot.MQRFH2.pcs.PubOpt = 'Local';

SET OutputRoot.MQRFH2.usr.Event =Event;
SET OutputRoot.MQRFH2.usr.Type =Type;

SET TotalLength = length("InputRoot"."BLOB"."BLOB")- 8;
Set "OutputRoot"."BLOB"."BLOB" = SUBSTRING("InputRoot"."BLOB"."BLOB" FROM 13 for TotalLength);
Back to top
View user's profile Send private message
killer
PostPosted: Wed Dec 06, 2006 9:36 am    Post subject: Reply with quote

Apprentice

Joined: 06 Jul 2006
Posts: 35

What the error you got?
Can you explain it.
Back to top
View user's profile Send private message Send e-mail
smeunier
PostPosted: Wed Dec 06, 2006 11:34 am    Post subject: Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

The subject was the error message. I did some further playing around and used the MQI constant for the MQMD.Format and that seemed to work. The message now flows to the publication node, where it fails with an Unknown or invalid attribute.


Code:

t)[3640]BIP7056E: Attribute value not found or invalid Attribute value not found.


Not sure what that may be about.
Back to top
View user's profile Send private message
smeunier
PostPosted: Wed Dec 06, 2006 11:46 am    Post subject: Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

Helps to put the bi-focals on PCS vs. PSC was the issue.....
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 » Invalid message body/header sequence 'none'/'MQHRH2
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.