Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Read Message Source(I/O) from swift header.

2 views
Skip to first unread message

Lingaraj Danappagoudar

unread,
Oct 14, 2008, 3:02:01 AM10/14/08
to
Hi All,

How to read the message source I/O from below message header.
{1:F01SHLLGB20ATOL0000000000}{2:I103CHASGB20XXXXN}{4:

I validated 103.txt against swift MT103.xsd...could not find either I or O
tags to read.

Regards,
Raj..the King!

Lingaraj Danappagoudar

unread,
Oct 14, 2008, 8:45:01 AM10/14/08
to
Hi All,

Here, I=inbound and O=Outbound.

I need to read Inbound(I) and Outbound(O) from swift mesage
header{2:I103CHASGB20XXXXN} or {2:O103CHASGB20XXXXN}

Regards,

Jay Kinker

unread,
Oct 15, 2008, 10:16:05 AM10/15/08
to
Hi Lingaraj,

I have never done this before but here is how you could approach:

Value for "{2:I" or "{2:I" is not maintained in any element within the XSD.
However, there are seperate records within XSD to maintain input and output
header information.

You can see two seperate records "ApplicationHeaderBlock_Input" and
"ApplicationHeaderBlock_Output" under "SWIFTHeader".

Now... if you promote one element (anyone) within each record - based on
which element is populated you will know if the input message is I/O SWIFT
message.

Hope this helps...
Please respond back with what worked for you.

Cheers,

Jay Kinker__

Lingaraj Danappagoudar

unread,
Oct 16, 2008, 10:36:01 AM10/16/08
to
Jay,

I tried with all the elements under ApplicationHeaderBlock_Input and
ApplicationHeaderBlock_Output records, however couldnot able to read
Inbound(I) or Outbound(O) from the swift header.

Regards,
Lingaraj

Jay Kinker

unread,
Oct 17, 2008, 3:30:01 AM10/17/08
to
Ok… let me try to explain again.

As I mentioned in my previous response that value "{2:I" or "{2:O" is not
maintained in any elements. So, won’t be able to get these values from any
element.

However, there are separate records "ApplicationHeaderBlock_Input" and
"ApplicationHeaderBlock_Output" under "SWIFTHeader". I gave an approach (a
work around) on how you can get to know about Inbound/Outbound message due to
this structure.

So now….
If element “MessageType “, “DestinationAddress” or any other element within
"ApplicationHeaderBlock_Input" is populated means that the SWIFT message is
Inbound message

If element “MessageType “, “InputTime” or any other element within
"ApplicationHeaderBlock_Output" is populated means that the SWIFT message is
Outbound message

Cheers,

Jay Kinker__
http://geekswithblogs.net/jaykinker

-----------------------------------------------------------

0 new messages