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 » How to define groups for SWIFT sequence in a message set?

Post new topic  Reply to topic
 How to define groups for SWIFT sequence in a message set? « View previous topic :: View next topic » 
Author Message
m.schneider
PostPosted: Tue May 29, 2007 2:19 am    Post subject: How to define groups for SWIFT sequence in a message set? Reply with quote

Centurion

Joined: 10 Apr 2007
Posts: 132
Location: Germany

Hello,

I am facing the following problem. How can I represent the following structure?
There is no problem defining the fields 20C and 23G, but how can I define a group surround them?
I tried using ":16R:GENL" as Group Indicator and Group Terminator in a Group, but it doesnt work?
Does anyone have advice for this problem?

:16R:GENL /* start of block */
:20C::SEME//NLBHN00000517877
:23G:NEWM
:16S:GENL /* end of block */
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue May 29, 2007 3:51 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I tried using ":16R:GENL" as Group Indicator and Group Terminator in a Group, but it doesnt work?
Does anyone have advice for this problem?
Modelling a SWIFT message is very difficult. Have you considered buying the SWIFT message sets? http://www.mqseries.net/phpBB2/viewtopic.php?t=35813

Tip : "it doesn't work" is not the best way to describe a parsing problem. At least quote the error message.
Back to top
View user's profile Send private message
Lisa
PostPosted: Tue May 29, 2007 10:34 am    Post subject: Reply with quote

Master

Joined: 07 Jun 2002
Posts: 287
Location: NJ

Toolkit 6.0.2 has a sample SWIFT message set. Take a look at this sample. You should be able to resolve your problem.

By the way, in my opinion, it does not make sense to purchase the SWIFT support pac from IBM if your company only needs a few message types.

My company only uses the MT5* series and we created everything from scratch.

Lisa
Back to top
View user's profile Send private message Send e-mail
m.schneider
PostPosted: Tue May 29, 2007 11:48 pm    Post subject: Reply with quote

Centurion

Joined: 10 Apr 2007
Posts: 132
Location: Germany

Thanks for the answers.

I only need a few message types from the 5* messages. I also heard buying the messages is pretty expensive.
The MT103 example is a good start, I already learned a lot from the definitions there. But the MT103 has not Sequences which always start with 16R and end with 16S.
I still don't understand how to model a sequence/ block that starts with a certain tag and ends with another one.
Back to top
View user's profile Send private message
Mensch
PostPosted: Wed May 30, 2007 1:37 am    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

m.schneider wrote:
The MT103 example is a good start, I already learned a lot from the definitions there. But the MT103 has not Sequences which always start with 16R and end with 16S.
I still don't understand how to model a sequence/ block that starts with a certain tag and ends with another one.


Hi,

If your group indicators and terminators are different treat them as a local element in particular sequence..
_________________
Thanks and Regards ,
Mensch
Back to top
View user's profile Send private message
m.schneider
PostPosted: Tue Jun 05, 2007 12:57 am    Post subject: Reply with quote

Centurion

Joined: 10 Apr 2007
Posts: 132
Location: Germany

THX a lot.

That is exactly how it can be done, ...

The definition is quite tricky, two groups and the inner one has 16R:GENL as Data Pattern. There is a need of a better documentation about such issues.

The XML extract looks like this

<SW16R>GENL</SW16R>
<SW20C>
<QUALIFIER>SEME</QUALIFIER>
<REFERENCE>NLBHN00000517903</REFERENCE>
</SW20C>
<SW23G>
<FUNCTION>NEWM</FUNCTION>
</SW23G>
<SW16S>GENL</SW16S>
Back to top
View user's profile Send private message
prabha
PostPosted: Thu Jun 14, 2007 1:19 am    Post subject: Reply with quote

Newbie

Joined: 13 Jul 2006
Posts: 9
Location: india-chennai

Hi

How u were able to convert the SWIFT FIN msg to SWIFT XML msg ?Is there any parser or node or any method to achieve this

SWIFT FIN msg
:16R:GENL /* start of block */
:20C::SEME//NLBHN00000517877
:23G:NEWM
:16S:GENL /* end of block */

TO


The XML extract

<SW16R>GENL</SW16R>
<SW20C>
<QUALIFIER>SEME</QUALIFIER>
<REFERENCE>NLBHN00000517903</REFERENCE>
</SW20C>
<SW23G>
<FUNCTION>NEWM</FUNCTION>
</SW23G>
<SW16S>GENL</SW16S>
Back to top
View user's profile Send private message
Mensch
PostPosted: Thu Jun 14, 2007 2:15 am    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

Compute node
_________________
Thanks and Regards ,
Mensch
Back to top
View user's profile Send private message
m.schneider
PostPosted: Thu Jun 14, 2007 5:21 am    Post subject: Reply with quote

Centurion

Joined: 10 Apr 2007
Posts: 132
Location: Germany

I used the example supplied by the toolkit 6.0.2 and build a SWIFT-message which also has XML as wire format.

The example provides the mapping of a MT102 message with header and trailer. It is a really good example for the beginning
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 » How to define groups for SWIFT sequence in a message set?
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.