Greetings fellow monks,

I have an interesting and strange problem: I have a series of database files (15 to be exact) that I'd like to read data from. However, I don't have a clue what RDBMS (or even just DBMS) the files belong to. They all have *.DAT extention, but the various sites I've searched in hopes to find out what these are simply say they're "database files". (Yeah, I knew that already.) Once I figure out where the files come from, I could probably hack something together with DBI and some old DBD from CPAN. In the meantime, I'm stuck.

Is there anything out there that can do a "detect" and convert on these files? Or perhaps at least point me in the right direction?

The files don't seem to have any naming on them with the following possible exception: All of the files have positions 02 through 04 at the start of the file read FF, FF, 58. And it looks like character 03 is used as a column seperator. And 2E ends a record.

Any thoughts or ideas? If I can't find anything really promising soon, I'm probably going to just write something to manually parse this stuff out of the original binary, but that idea frightens me.

-gryphon
code('Perl') || die;


In reply to ID DAT db files by gryphon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.