Conversion ?

vb.net, vs2012

I have an old "TURBO PASCAL" database (7.0 version (I BELIEVE!!))  "a whole bunch of .DAT files."
and I must bring them to (THE 21ST CENTURY) AND a SQL SERVER database

even if I can get the Pascal data to an comma delimited ASCII file - I think I can take it from there
but I have not a clue on how to mine the data from those old Pascal files!!

And I have very little time, CAN ANYONE TELL ME WHERE TO START, ON THIS ISSUE????
MBHEY131Asked:
Who is Participating?
 
MerijnBSr. Software EngineerCommented:
It seems that these databases are a dump of 'records' in pascal (pascal record is somewhat like c struct).
Having the original record would help a lot, so yes, I'm referring to the .pas files.
Alternatively, do you know (somewhat) the layout of these tables?
0
 
Dave BaldwinFixer of ProblemsCommented:
Can you post a small file?  Borland had Paradox during that time and Paradox was an X-base format, similar to but not exactly Dbase.  Here http://www.alexnolan.net/software/dbf.htm is a dbf editor/viewer that might help or at least tell you whether the files are in X-base format.
0
 
MBHEY131Author Commented:
had to rename file from "cust.dat" to "cust.txt" in order to get it uploaded.
CUST.txt
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
MBHEY131Author Commented:
I know virtually nothing about Pascal, Borland, Paradox, x-base formats, etc.
0
 
Dave BaldwinFixer of ProblemsCommented:
It is basically a position dependent flat text data file.  I can't seem to get rid of the binary header so it can be just a text file.
0
 
MBHEY131Author Commented:
?
0
 
MerijnBSr. Software EngineerCommented:
Can you post one of the files?
0
 
MBHEY131Author Commented:
There is a file posted named "cust.txt" which I had to rename from "cust.dat"
0
 
MerijnBSr. Software EngineerCommented:
Ah, I missed the file before. Do you have the original pascal sources?
0
 
larryhSr. Software EngineerCommented:
It's not an xBase file.  An xBase file has column names in the header and I didn't see that when I looked at the file.  My guess is that it is a custom format from the application developer.
0
 
MBHEY131Author Commented:
Expert Comment
MerijnB2015-03-17 at 02:19:31ID: 40670054
Ah, I missed the file before. Do you have the original pascal sources?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

No, they are long gone, (I believe) - But I possibly do have a connection to a person that (MAY) be able to help
that will take some time though as he is out of the country on vacation and does not like to be bothered.

the ".pas" files is what I assume you are referring to?
Is there such a thing as a "DE-COMPILE" or something like that is PASCAL, as I know next to nothing about it.
Could that give (CODE) or - the info you need?
0
 
MBHEY131Author Commented:
Expert Comment
larryh2015-03-17 at 07:02:25ID: 40670653
It's not an xBase file.  An xBase file has column names in the header and I didn't see that when I looked at the file.  My guess is that it is a custom format from the application developer.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I've started that route (THE ORIGINAL APP DEVELOPER) and all may not be lost after all, we'll see!
=============================================================================
0
 
MBHEY131Author Commented:
Expert Comment
MerijnB2015-03-17 at 09:07:15ID: 40671018

It seems that these databases are a dump of 'records' in pascal (pascal record is somewhat like c struct).
Having the original record would help a lot, so yes, I'm referring to the .pas files.
Alternatively, do you know (somewhat) the layout of these tables?
++++++++++++++++++++++++++++++++++
I think I will go with the APP DEVEL0PER route now, that's getting more promising by the minute, but thanx for your assistance.
=========================================
0
 
mlmccCommented:
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.