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 » maxmsglen

Post new topic  Reply to topic
 maxmsglen « View previous topic :: View next topic » 
Author Message
mqbrk_newbie
PostPosted: Thu Sep 30, 2004 9:48 am    Post subject: maxmsglen Reply with quote

Acolyte

Joined: 13 Sep 2004
Posts: 70

hi,

I am using WBIMB5+CSD2 . I have input messages both of XML and copybook definition. That is basically I am using WBIMB for the following conversion.
XML-CWf,
XML-XML,
CWF-XML


At one point I need to store the incoming input message length in environment variable of the compute node and use it later for logging and instrumentation details. Is there anyway I can find the length of incoming input message, it can be either Copybook or XML. Anyone can help me out regarding this.

thanks,
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Thu Sep 30, 2004 9:51 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can either set your message flow to read your data as BLOB, use the LENGTH function to get the length of the BLOB data, and then use a ResetContentDescriptor node to assign the right parser to parse the data...

OR....

You can use the 'ASBITSTREAM' function on your Input message to convert it back to a string and then take the length of that string.

The first is likely more efficient.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mqbrk_newbie
PostPosted: Thu Sep 30, 2004 11:53 am    Post subject: maxmsglen Reply with quote

Acolyte

Joined: 13 Sep 2004
Posts: 70

thanks jeff I will try that and get back to you..
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » maxmsglen
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.