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 » Best Performance

Post new topic  Reply to topic
 Best Performance « View previous topic :: View next topic » 
Author Message
mymq
PostPosted: Wed May 23, 2007 8:47 pm    Post subject: Best Performance Reply with quote

Centurion

Joined: 01 Mar 2007
Posts: 101
Location: US-Greenwille

Hi,

In my, i got to loop thru a message set (COBOL Copy book) TREE. I need to go thru each node and take out the value and create an OutputRoot. I have lot of lot of message BLOCKS in my input message.

My question is:

1) Should i use MOVE, FIRSTCHILD and NEXTSIBILING procedure
OR
2) When i loop through, Can i goto directly refer the respective BLOCK using the array index.

Which one is best way of doing?

Anyone help me out?
_________________
--SRK--
Back to top
View user's profile Send private message Send e-mail
marcin.kasinski
PostPosted: Wed May 23, 2007 11:26 pm    Post subject: Re: Best Performance Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Hi,
If you have to read all tags in your message the best way is using reference (MOVE, FIRSTCHILD and NEXTSIBILING).
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
kimbert
PostPosted: Thu May 24, 2007 5:12 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I have lot of lot of message BLOCKS in my input message.
If your input message is very large you can save heap by using the technique outlined in this doc : http://www-128.ibm.com/developerworks/websphere/library/techarticles/0505_storey/0505_storey.html
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 » Best Performance
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.