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 » ExceptionList into MRM field

Post new topic  Reply to topic
 ExceptionList into MRM field « View previous topic :: View next topic » 
Author Message
superstar
PostPosted: Thu Jun 01, 2006 6:07 pm    Post subject: ExceptionList into MRM field Reply with quote

Apprentice

Joined: 12 May 2004
Posts: 31

hello,

i am trying some thing of this sort:

OutputRoot.MRM.FieldA.FieldB = InputExceptionList;

FieldB is not pupulated in the output.

FieldB is of type string (output MRM generated from a schema).

I am unable to understand how to put the exception list tree into a field..

any ideas ...

Thanks,
superstar
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 01, 2006 7:20 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You want to use ASBITSTREAM.

You do not, ever ever ever, want to use BITSTREAM.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
superstar
PostPosted: Thu Jun 01, 2006 7:53 pm    Post subject: Reply with quote

Apprentice

Joined: 12 May 2004
Posts: 31

thanks for the reply Jeff.

SET OutputRoot.MRM.Result = ASBITSTREAM(InputExceptionList,,1208
,,,,options);

Doesnot seem to work ....
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 01, 2006 9:26 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

superstar wrote:
thanks for the reply Jeff.

SET OutputRoot.MRM.Result = ASBITSTREAM(InputExceptionList,,1208
,,,,options);

Doesnot seem to work ....


Why not?

What does it do? What do you want it to do?

Actually. Wait.

It might not work on ExceptionList, as there wouldn't be a bitstream or a parser...

Hrm.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
superstar
PostPosted: Fri Jun 02, 2006 11:03 am    Post subject: Reply with quote

Apprentice

Joined: 12 May 2004
Posts: 31

exactly .. hence I had to write a compute node before this particular node and capture the exception list into an XML tree ... and ...

Code:


SET msgBLOB = ASBITSTREAM(InputBody.Message.excepList,,1208,'','','',FolderBitStream);

SET excepList = CAST(msgBLOB AS CHARACTER CCSID InputRoot.MQMD.CodedCharSetId ENCODING InputRoot.MQMD.Encoding);

OutputRoot.MRM.Msg.MyExceptionMsg = excepList;




is there a better way ???

Thanks.
Superstar
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 » ExceptionList into MRM field
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.