The Artima Developer Community
Sponsored Link

Java Buzz Forum
Reading legacy flat files with Java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Simon Brown

Posts: 636
Nickname: simonbrown
Registered: Jun, 2003

Simon Brown is a Java developer, architect and author.
Reading legacy flat files with Java Posted: Nov 16, 2004 4:13 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Simon Brown.
Original Post: Reading legacy flat files with Java
Feed Title: Simon Brown's weblog
Feed URL: http://www.simongbrown.com/blog/feed.xml?flavor=rss20&category=java
Feed Description: My thoughts on Java, software development and technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Simon Brown
Latest Posts From Simon Brown's weblog

Advertisement

My current project has a need to extract some information from legacy flat files that are sitting on an OpenVMS system. Initially we thought that these files were ISAM, but it turns out that they are native RMS files. These files are still being used by production applications and languages like FORTAN provide an easy way to open them up and understand the data. Java, however, is a different story.

After some googling on the Internet we came up with a handful of third party products. Some of them are potentially suitable and some aren't. However, regardless of this, what amazed me the most is how difficult finding potential solutions was in the first place! We tried searching for JDBC drivers, ODBC drivers, JCA adapters, JDO implementations, pre-built IO libraries, migration tools, FORTAN compilers for Windows (the target deployment platform) and probably more that I can't think of right now.

Another option we're looking at is parsing the files up using bespoke code. I wouldn't say this is easy, since we're having to deal with the file byte by byte, but it's certainly feasible, especially since we've discovered that it's possible to get hold of sequential versions of the flat files that contain only the records and not the indexes. I am surprised that there isn't more out there, but then again I guess there are always going to be implementation specific formats and semantics that can't easily be written in a way that suits everybody. That said, if you do know of any Java libraries that might be relevant, it'd be great to hear from you.

Read: Reading legacy flat files with Java

Topic: [Nov 4, 2004 13:45 PST] 16 Links Previous Topic   Next Topic Topic: Junit - Getting (quickly) started with Examples

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use