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 » Parsing SWIFT message set

Post new topic  Reply to topic
 Parsing SWIFT message set « View previous topic :: View next topic » 
Author Message
jonesn
PostPosted: Tue Jan 31, 2006 8:27 am    Post subject: Parsing SWIFT message set Reply with quote

Apprentice

Joined: 09 Jan 2002
Posts: 47

Chaps,

I am using WBIMB 5 & the IA0T SWIFT message set and would like to parse my input message. There are three ways to parse these messages: MQInput node, RCD or in eSQL using create lastchild etc...

I have successfully parsed the message using MQInput and RCD but cannot get the eSQL option to work.

For the MQInput node I set the Domain, Message Set & Format in the default tab.

For RCD I set the same three attributes but also check the radio buttons indicating that I want to reset the three attributes.

If I use the following eSQL I get an exception...

Code:
set Environment.InputMessage = InputBody;
      
create lastchild of OutputRoot domain 'MRM'
   parse (cast(InputRoot."BLOB"."BLOB" As character
                           ccsid InputRoot.Properties.CodedCharSetId),
   InputRoot.Properties.Encoding,
   InputRoot.Properties.CodedCharSetId,
   'SWIFT_2005_050615',
   '',
   'SWIFT');

    ParserException BIP5136E: Invalid Wire Format Identifier ''.
    When processing an MRM message the broker requires a valid wire format identifier.


This code is lifted from the support pack documentation.

Any idea what I am doing wrong?

Thanks
_________________
---

Nick Jones
IBM Certified Solutions Expert (WebSphere MQ Integrator)
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Feb 01, 2006 2:30 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

The docs say that the PARSE clause has these parameters:
Quote:
|--PARSE--(--BitStreamExpression--+------------------------------+--)--|
| .-<<-----------------------. |
| V | |
'---+-OPTIONS--expression--+-+-'
+-ENCODING--expression-+
+-CCSID--expression----+
+-SET--expression------+
+-TYPE--expression-----+
'-FORMAT--expression---'
I don't see anything corresponding to OPTIONS in your ESQL. If I'm correct, that would explain why the Wire Format Identfier (i.e. the FORMAT parameter on your parse clause) is being picked up as ''.
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 » Parsing SWIFT 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.