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 » Referencing repeating Swift tags

Post new topic  Reply to topic
 Referencing repeating Swift tags « View previous topic :: View next topic » 
Author Message
brokendrum
PostPosted: Tue Mar 25, 2003 4:33 am    Post subject: Referencing repeating Swift tags Reply with quote

Apprentice

Joined: 14 Jan 2003
Posts: 34

If you're familiar with Swift messages you'l know that, for example a tag such as 98a may repeat as follows:

:98A::TRAD//20021030
:98C::SETT//20021101120000
:98A::ADEL//20021125

...depending on the date/time content of 98a. However, when it come to referencing this repeating field, the 'A' or 'C' suffix to '98' prevents me using a repeating function. What I need to use is something like:

WHILE X <= CARDINALITY(InputBody.98*[])
DO
IF InputBody.Keyword = 'TRAD'
THEN
SET OutputRoot.Trade.Date=InputBody.98*[X].Date;
END IF;
SET X=X+1;
END WHILE;

where * is a wildcard, to reference all occurances of tag 98, be it 98A or 98C.

Any ideas?
Back to top
View user's profile Send private message
Lisa
PostPosted: Tue Mar 25, 2003 10:34 am    Post subject: SWIFT Reply with quote

Master

Joined: 07 Jun 2002
Posts: 287
Location: NJ

Can you explain how your SWIFT MT is defined?
What CSD level are you on?

Lisa
Back to top
View user's profile Send private message Send e-mail
brokendrum
PostPosted: Tue Mar 25, 2003 11:56 pm    Post subject: Reply with quote

Apprentice

Joined: 14 Jan 2003
Posts: 34

Lisa,

I'm using CSD4. I'm not sure what you mean by 'how your SWIFT MT is defined'. In this example it's an MT541 parsed by a pre-built Swift Message Set. The message tree looks something like this....

(0x1000013)SW98A = (
(0x300000B)QUALIFIER = 'TRAD'
(0x300000B)DATE = TIMESTAMP '2002-10-30 00:00:00'
)

Thanks.
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 » Referencing repeating Swift tags
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.