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 » SWIFT - CRLF Problem.

Post new topic  Reply to topic
 SWIFT - CRLF Problem. « View previous topic :: View next topic » 
Author Message
anshu
PostPosted: Mon Jan 23, 2006 12:54 pm    Post subject: SWIFT - CRLF Problem. Reply with quote

Novice

Joined: 23 Jan 2006
Posts: 19

I have a TDS to SWIFT conversion message flow. The SWIFT output looks clean except there is a CRLF introduced before the 32A amount field. So instead of

:32A:060123USD1000,00

my output looks like

:32A:060123USD
1000,00

with the CRLF introduced after USD. Any reason why this is happening? Everything else is correct.
Back to top
View user's profile Send private message
wschutz
PostPosted: Mon Jan 23, 2006 1:13 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Did you create the Swift message set yourself or is this the Cat 1 supportpac?

Are you saying that the message on the input side des not have a CRLF?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
anshu
PostPosted: Mon Jan 23, 2006 1:20 pm    Post subject: Reply with quote

Novice

Joined: 23 Jan 2006
Posts: 19

I used the IBM SWIFT message sets supportpac . Regarding the mapping, it is done as follows.


InputRoot.MRM.field 1 mapped to SW32A.date
InputRoot.MRM.field5 mapped to SW32A.currency
InputRoot.MRM.filed7 mapped to SW32A.Amount.

I don't think it is the input root as I used hardcoded values and still get the CRLF.
Back to top
View user's profile Send private message
wschutz
PostPosted: Mon Jan 23, 2006 1:52 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Do you know that the CRLF is a problem? If you send the message to MERVA/SWIFT, does it get rejected?

I assume the CRLF is showing up because its in the message set. if it turns out to be wrong, you'll need to contact your support person for the SWIFT message set. if you need to find out who that is, you can e-mail me. Thanks -wayne
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
anshu
PostPosted: Mon Jan 23, 2006 2:17 pm    Post subject: Reply with quote

Novice

Joined: 23 Jan 2006
Posts: 19

Wayne,

It does cause problems at SWIFT. I looked at the SWIFT message set for 32A fields. The amount is defined as decimal with a zero length. I tried the following

1. changed the field type to string
2. kept the field type as decimal with length 15 and used a CAST in my esql to decimal(12,2)
3. kept the field type as decimal with length 0 (default setting)

all 3 give the desired result for the amount field except in all cases it's preceded by the (undesired)CRLF. As I am in control of the SWIFT message setting, not sure if the customer support would be of any help.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Jan 24, 2006 1:49 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi anshu,

Could you please post your Input and Output message by using a trace node.

Regards.
Back to top
View user's profile Send private message Send e-mail
wschutz
PostPosted: Tue Jan 24, 2006 2:56 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I'd like to see the ESQL you're using to assign the :32A fields (I'm assuming your doing this in a compute node and not using a mapping node)
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
anshu
PostPosted: Tue Jan 24, 2006 5:40 am    Post subject: Reply with quote

Novice

Joined: 23 Jan 2006
Posts: 19

I solved the problem ( I think....) by altering the properties of the SW message set.
Back to top
View user's profile Send private message
woodoo2k
PostPosted: Tue Jan 24, 2006 5:57 am    Post subject: Reply with quote

Apprentice

Joined: 07 Feb 2005
Posts: 28
Location: USA

Could you please put which property of WS message set did you change ?
This will help others having similar problem.
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 » SWIFT - CRLF Problem.
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.