|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ExceptionList into MRM field |
« View previous topic :: View next topic » |
Author |
Message
|
superstar |
Posted: Thu Jun 01, 2006 6:07 pm Post subject: ExceptionList into MRM field |
|
|
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 |
|
 |
jefflowrey |
Posted: Thu Jun 01, 2006 7:20 pm Post subject: |
|
|
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 |
|
 |
superstar |
Posted: Thu Jun 01, 2006 7:53 pm Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Thu Jun 01, 2006 9:26 pm Post subject: |
|
|
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 |
|
 |
superstar |
Posted: Fri Jun 02, 2006 11:03 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|