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 » Sorting of MRM Message set /Temporary variable

Post new topic  Reply to topic
 Sorting of MRM Message set /Temporary variable « View previous topic :: View next topic » 
Author Message
JitaSJ
PostPosted: Wed Feb 07, 2007 10:23 pm    Post subject: Sorting of MRM Message set /Temporary variable Reply with quote

Newbie

Joined: 07 Feb 2007
Posts: 2

HI

My input file is a comma delimited set of line items.I have parsed these to the MRM message set.One of the elements is an invoice number.
I have to group line items with similar invoicenumbers together ,convert the group into a single header and multiple details structure.This has to be sent to the provider part of the flow.

I can sort them first and then send it.But here the problem I face is to assign the InputRoot structure to a temporary variable.Errors come up when I try to do that.

Otherwise,I can search for records having one invoice number.After which I need to remove those records from the input so that they dont reappear in another iteration for the same invoice number.Here I am not able to assign the InputRoot to a NULL.THe problem again is the same thing of finding out a temporary varaible.

Please do help out.

Thanks!!
Back to top
View user's profile Send private message
AkankshA
PostPosted: Thu Feb 08, 2007 4:11 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

What error you are getting when u r trying to assign InputRoot structure to a temporary variable????



"Here I am not able to assign the InputRoot to a NULL"
paste your code statements pls

did u try using InputRoot.MRM = NULL
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Thu Feb 08, 2007 4:12 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You cannot move a tree to any variable. It would need to have a specific type (row?).You can move in a much easier way a tree to a tree. See the Environment tree. You can use it to park the input message and you can manipulate the parked input message (delete elts etc ...) in a way that is not possible with the input tree.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Thu Feb 08, 2007 4:50 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
See the Environment tree. You can use it to park the input message and you can manipulate the parked input message (delete elts etc ...) in a way that is not possible with the input tree.
This is true. You can also copy parts of the input tree directly to the output tree if your processing is simple enough to allow that.

Quote:
I can search for records having one invoice number
Are you using SELECT for this? It's probably the quickest method.
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 » Sorting of MRM Message set /Temporary variable
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.