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 » TDS query

Post new topic  Reply to topic
 TDS query « View previous topic :: View next topic » 
Author Message
amit_talpade_star
PostPosted: Fri Dec 24, 2004 7:08 am    Post subject: TDS query Reply with quote

Apprentice

Joined: 14 Dec 2004
Posts: 39

I have to build a message model with the following pattern

TIF+ABC+ABC MR::1'
FTV+++NH+:12345678901+UA:1111111112'
TKT+6182104576754'
CPN+1'

The first 3 characters on each row are tags. The rest are data elements.

My problem is that there is no group identifier. This group of 4 rows can repeat upto 10 times, but is optional. TIF and FTV must occur in the group and TKT and CPN are optional. Additionally the length of data variables can also vary.

How do I define a message model or group for the same?

Any help would be most appreciated
Back to top
View user's profile Send private message Send e-mail
javaforvivek
PostPosted: Tue Dec 28, 2004 9:12 pm    Post subject: Reply with quote

Master

Joined: 14 Jun 2002
Posts: 282
Location: Pune,India

just one clarification needed:
are the trailing single quotes present in your message?
eg, does your message looks like:
TIF+ABC+ABC MR::1'
or like:
TIF+ABC+ABC MR::1
_________________
Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
javaforvivek
PostPosted: Tue Dec 28, 2004 10:07 pm    Post subject: Reply with quote

Master

Joined: 14 Jun 2002
Posts: 282
Location: Pune,India

Just forgot one more thing to ask:
Quote:
TKT and CPN are optional.


Whats the rule behind this?
I mean, is it that TKT and CPN both should appear or just any one of them can appear? Do these tags go in pair or separately?
_________________
Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
amit_talpade_star
PostPosted: Wed Dec 29, 2004 2:28 am    Post subject: Reply with quote

Apprentice

Joined: 14 Dec 2004
Posts: 39

Dear Vivek,

Thanks. I have managed to get the problem sorted out using a complex type and attaching the four tags mentioned as local elements (child elements) of that complex type, each element being a complex type itself.

Additionally each of the these elements I have treated as a tag.

The problem has been resolved.

Regards,

Amit
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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