Reading a COBOL DAT file

13,841

Solution 1

I have successfully read some of the dat files using http://www.cobolproducts.com/datafile just now which I came to know through another forum. Most probably I will work with them to help me read the rest of the files that I am having an issue with.

Solution 2

A few possibilities.

1/ See if you can find the names of the people that worked for the company. They may be helpful.

2/ Open the DAT file in a text editor. The data may be decodable from that. If the basic format can be discerned, quick'n'dirty code can be written to extract it.

3/ Open up the executable in an editor, there may be strings in there that indicate which compiler was used, then you can search for info on its file formats. If it's a DOS application, there's a good chance it was either Microsoft or Fujitsu COBOL.

4/ Consider placing job requests on work sites like elance or rentacoder; I don't think there's a cost if the work can't be done successfully.

5/ Hire someone to examine it and advise on the likelihood of recovery.

6/ Get a screen dump of the record contents for every active record and re-construct it from that.

Some of these are pretty hard so your mileage may vary.

Good luck.

Share:
13,841

Related videos on Youtube

Sudeep
Author by

Sudeep

Technologist, Entrepreneur, Coach, Coin Collector and Blogger. Director of Inforica India - http://www.inforica.in Organizer of Startup Weekend Hyderabad - http://hyderabad.startupweekend.org

Updated on June 04, 2022

Comments

  • Sudeep
    Sudeep almost 2 years

    I have been given a set of COBOL DAT, IDX and KEY files and I need to read the data in them and export it into Access, XLS, CSV, etc. I do not know the version, vendor of the COBOL code as I only have the windows executable that created the files.

    I have tried Easysoft and Parkway ODBC drivers but I have not been successful in reading the data from the files.

    I do not have access to the source code as the company that was distributing this product shut down.

Related