How to map and parsing/reading two flat files

Posted on 2012-04-11
Last Modified: 2012-04-23
Hi Friends,

I have a two flat files with hears/coloums like

Template_ Batch120408.txt



Param_MSISDN      Param_IMSI
966540510136      420030100033981
966540510295      420030100033982
966540510296      420030100033983
966540510298      420030100033984

How can i map and parse these two flat files?
Question by:PrakashVarma
LVL 40

Accepted Solution

gurvinder372 earned 500 total points
ID: 37831464
parsing first fie should not be a tough job since there seems to be a clear delimiter '||' between columns.
-- what are the semantics of these columns?
-- how does the columns map to information in second file?
-- what is the delimiter used in second file?

Author Comment

ID: 37831499
- how does the columns map to information in second file?
i need solution for this

-- what is the delimiter used in second file?
LVL 16

Expert Comment

ID: 37833253
To put it another way: What is the expected output?

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
base64 decode encode 12 119
Strange loading of website behaviour 3 32
Java SE 8u111  Lot of stuff broke 11 54
Oracle SQL syntax check  without executing 6 34
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This video teaches viewers about errors in exception handling.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now