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 » !!!Help about TDS in MB, thanks

Post new topic  Reply to topic
 !!!Help about TDS in MB, thanks « View previous topic :: View next topic » 
Author Message
Jonasli
PostPosted: Thu May 13, 2004 10:48 am    Post subject: !!!Help about TDS in MB, thanks Reply with quote

Apprentice

Joined: 24 Apr 2003
Posts: 34
Location: Beijing

i have a doc as the below:

111||122||133;211||222||233;311||322||333

i want to use the TDS parse it,

i do the msg set as the below, but i can not repeat it, pls help me, thanks in advanced..

1. i define one complex type as follow,

TstMsg (complextype1)
complextype1
localelement1 string
localelement2 string
localelement3 string
TstMsgRepeat (complextype2)
complextype2
refer element TstMsg (repeat 1 to -1)

i have define the TDS for complextype1 and complextype2,

if i just use the TstMsg and input the simple string
111||122||133
it's ok to working,

but if i use the TstMsgRepeat and input the totoal string,
it's wrong, i can not parse the input string as the above.

how to do?

pls give me some advice, thanks very much....
Back to top
View user's profile Send private message Yahoo Messenger
Missam
PostPosted: Thu May 13, 2004 11:22 am    Post subject: Reply with quote

Chevalier

Joined: 16 Oct 2003
Posts: 424

Hi Create An element of type ComplexType1 Add this element in ComplexType2 and say Repeting Element Delimiter for this element as ;
then create a message of ComplexType2 and parse it.
Back to top
View user's profile Send private message
Jonasli
PostPosted: Thu May 13, 2004 11:59 am    Post subject: Reply with quote

Apprentice

Joined: 24 Apr 2003
Posts: 34
Location: Beijing

i have do such, but do not work with the MRM parse error,

the reference the element into complextype2 is different to add the element into complextype2?
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Thu May 13, 2004 12:07 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It is a bit out of date, but Support Pack ID05 may help you.

http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24001044&loc=en_US&cs=utf-8&lang=en
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Jonasli
PostPosted: Thu May 13, 2004 12:53 pm    Post subject: Reply with quote

Apprentice

Joined: 24 Apr 2003
Posts: 34
Location: Beijing

Missam and jeff,

thanks very much, i have did it success by the advice of Missam.

define complextype1 include
localelement1 string
localelement2 string
localelement3 string, and with delimitor as "||"


define global element, type as complextype1

define complextype2 reference the fore global element,
and repeat it, with delimitor as ";"

thanks very much again, give me clearly answer, ^_^ good day
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 » !!!Help about TDS in MB, thanks
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.