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 » Tab delimited file parsing in MRM

Post new topic  Reply to topic
 Tab delimited file parsing in MRM « View previous topic :: View next topic » 
Author Message
sagar_edu5
PostPosted: Tue Feb 01, 2005 12:33 pm    Post subject: Tab delimited file parsing in MRM Reply with quote

Newbie

Joined: 11 Dec 2004
Posts: 7

Hi All,

I have a requirement for parsing a tab delimited file within MRM. I am using TDS for doing the requirement in WBIMB v5.0.

I dont understand how to mention "TAB" as a delimiter in the message set. Does any of you have a clue to it?

Any help would be appreciated.

Thanks and Regards,
Sagar
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Feb 01, 2005 12:39 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I think that TAB is actually <HT>

But I forget my control characters as often as I use them.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sagar_edu5
PostPosted: Tue Feb 01, 2005 3:58 pm    Post subject: Reply with quote

Newbie

Joined: 11 Dec 2004
Posts: 7

Hi Jeff,

Is the TDS mnemonic for tab <HT> for Windows XP platform? Does it matter or change based on platforms.

Thanks and Regards,
sagar
Back to top
View user's profile Send private message
Prithvi
PostPosted: Tue Feb 01, 2005 10:39 pm    Post subject: Reply with quote

Apprentice

Joined: 20 Dec 2004
Posts: 34

As far as i know the ASCII character set is platform independent.

You could go through them at this site:
http://www.finseth.com/parts/ascii.html

Regards
_________________
Prithvi
Back to top
View user's profile Send private message Yahoo Messenger
kirani
PostPosted: Wed Feb 02, 2005 12:03 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

TDS mnemonics are specific to MRM, so they are platform independent.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
sagar_edu5
PostPosted: Wed Feb 02, 2005 7:32 am    Post subject: Reply with quote

Newbie

Joined: 11 Dec 2004
Posts: 7

Hi,

I have tried parsing the flat file with tab delimited data using TDS(MRM) in WBIMB V5.0

The data is something like this

2 30000 200000 XXXXX
4 13123 123213 YYYYYY

All elements delimited by tab(<HT>) and carriage return(OD OA) after every line.

I have defined the various elements in TDS and created the message set according to the specifications. The problem when i tried parsing is that the message is giving an exception.

Message Translation Interface Parsing Errors have
occurred:

The TDS worker is not receiving a proper Message Id parameter during initialization.


Ensure that the message identifier used in your message matches the message as defined in the Message Brokers Toolkit.

The thing is i have mentioned the message set properties in the MQInput node. I have followed some earlier posts but i couldnt get a clue. Is it possible that TDS is unable to parse this tab delimited flat file?

Any suggestions would be accepted. Is there any experience parsing tab delimited flat files?

Thanks and Regards,
sagar
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 02, 2005 7:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Did you deploy the message set along with the message flow?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
shanson
PostPosted: Wed Feb 02, 2005 8:20 am    Post subject: Reply with quote

Partisan

Joined: 17 Oct 2003
Posts: 344
Location: IBM Hursley

This error occurs before the message is parsed, so it is nothing to do with tabs (and <HT> is the correct mnemonic btw, and it only gets applied after data conversion to unicode has occurred so there are no platform issues).

As stated above check that the Message Domain, Message Set, Message Type and Message Format properties all match your message, and that the message set in the deployed bar file was generated after the message was added. The Message Type should be the message name as shown in the V5 toolkit message editor.
Back to top
View user's profile Send private message
sagar_edu5
PostPosted: Wed Feb 02, 2005 10:05 am    Post subject: Reply with quote

Newbie

Joined: 11 Dec 2004
Posts: 7

Hi Hanson,


I checked that the Message Domain, Message Set, Message Type and Message Format properties are all matching in the flow but i am still getting the same error. I am giving the input message with the tab delimited through RFHUtil.

Thanks and regards,
sagar
Back to top
View user's profile Send private message
shanson
PostPosted: Wed Feb 02, 2005 10:25 am    Post subject: Reply with quote

Partisan

Joined: 17 Oct 2003
Posts: 344
Location: IBM Hursley

Has the MQRFH2 got the correct mcd folder information - this overrides the domain/set/type/format info on the input node?
Back to top
View user's profile Send private message
sagar_edu5
PostPosted: Wed Feb 02, 2005 10:38 am    Post subject: Reply with quote

Newbie

Joined: 11 Dec 2004
Posts: 7

Where can i get this mcd folder info?

thanks,
sagar
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 02, 2005 10:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

sagar_edu5 wrote:
Where can i get this mcd folder info?

thanks,
sagar


Since you are using RFHUtil to create the MQRFH2 header, then you should set these properties in the correct pane on the RFHUtil, so it will build them properly into the message.
_________________
I am *not* the model of the modern major general.
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 » Tab delimited file parsing in MRM
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.