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 » Flat file Data to be inserted into a Table

Post new topic  Reply to topic
 Flat file Data to be inserted into a Table « View previous topic :: View next topic » 
Author Message
mvsivaiah
PostPosted: Wed Sep 10, 2008 6:01 am    Post subject: Flat file Data to be inserted into a Table Reply with quote

Apprentice

Joined: 30 May 2008
Posts: 25

Hi All, Please me.

I've data values separated by spaces in a flat (text) file. I would like to enter these values into columns of a Table (database). The data to be appended in the table every time, when the flow runs. Also I need to load the data only when the error code is '0', which is a data value in the same flat (text) file.

I've a doubt with: how to read and load the data (separated by spaces) to particular columns of table, at a particular condition?


Please guide me with possible solutions/designs to achieve this task?
_________________
Venkat.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Sep 10, 2008 6:39 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Create a message set with a TDS physical format.
Create a message flow, and on the input node specify the MRM parser, and the message set, type and physical format
In a Compute node, query the message tree for the error code. If it is 0, put the values into the database.

If that does not make sense, you should probably start by looking at some of the samples in the Samples gallery.
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 » Flat file Data to be inserted into a Table
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.