lost MASTER/EMASTER files

#1
Hello,

could You please write me, if there is a chance to recreate MASTER and EMASTER file for special database files? I've lost these two files by accident and cannot access data.

Best regards
W
 
#2
Can you give more details? MASTER & EMASTER files for "special database" files? What do you mean by special data base files? You can recreate these MASTER files, of course, with difficulty and time. It is simpler getting the data from some source. If you can provide me with more details, I may be able to help.
 
#3
Hi ,

special database - i meant given database. I have database with data files but do not have master/emaster files for them which i guess are the index for data files. Due to the lack of master/emaster files i cannot explore the content of data files. I would be the best to recreate master/emaster files.
Coul You please write me how i may do this??

Best regards
Wojciech
 
#4
Are they Metastock data files?
MASTER, EMASTER & XMASTER files contain as the name suggests contains the Master information for the data files. These are fields like, Symbol, Security Name, Periodicity, # of fields in data, Starting Date, Ending Date, File Number, etc., for each file in the directory. And, you could search for Metastock file format, etc.,

First take a backup of your directory, and, keep it aside.
One crude way is, find out the last no. of the data file in the directory. This will be the no. followed by F in Fxxx.dat. I hope all the data is with the same periodicity. Now using Downloader, you can create as many files as in the original directory in a new directory with the same periodicity, and, give some name for the symbol, security (different for each file), etc., Downloader has created Master & EMaster for you in this directory. After you've created these files, take the Master, EMaster from this directory and copy them on to your original directory. After this you should be able to see your data, though the names will be different (other Master info will also be different). Run a Test to fix errors in the directory, which normally fixes the starting, ending dates. You will have to rename the security names to the required ones. This should work. Maybe this procedure might look complex reading it, but it is fairly simple while doing it.

Like I said, there is insufficient info on the nature of data. No. of files, periodicity of data, No. of fields (Date, Time, Open, High, Low, Close, Volume, OI), etc., You've better chances of recovering if you know these atleast, and, you do not have mixed periodicity data for different securities in the same folder. Wish you all the best, and, contact me for any clarifications required.
 
#7
Hello,

sorry for the delay in reply.
Thanks to Your help the recover of the lost master/emaster files succeeded.
Many many thanks for that :)

Regards
Wojciech