PureBytes Links
Trading Reference Links
|
was: Re: OpenIsamFile Failed?
Well, as Pete, and Dave, and others suggested, the solution DID turn
out to be to simply rebuild the main bonn.idx main-data index file.
Once that was rebuilt, the paste-in operation cheerfully built the
index file for the paste-in rollover .dat file and the paste-in
operation proceded as usual. Once again the ancient maxim holds:
whenever experiencing ANY problem with TS, rebuild the ISAM index file.
To clarify the other suggestions, apparently lack of disc space is
not a problem, as I've got even less free space now that I've added
all those ticks to the Dec contract. I'll crunch my .dat file next
weekend, after the Sep contract officially expires. And of course,
no dlls were missing, or other program corruptions of that sort.
I think my index file probably became corrupted when I fixed a bad
tick or two during trading hours with the RT server. I try to
remember to rebuild the ISAM index after the market closes on days
like that, but I forgot to this time. Bet I'll remember now...
The interesting thing was the "OpenIsamFile failed case1" message.
I've never seen that before, but it seems to indicate: "You're
trying to paste in a good .dat file when your main ISAM index is
corrupt." Now we all know a teeny bit more about TS, at least
TS 3.5.
One further clarification for Dave: I was REALLY hoping the .dat
file I was pasting in was not corrupt, as it didn't come from a
copy-out process; I made it myself. Thankfully, it is ok.
So, the bottom line: I'm happy to announce that I've put "spzroll.zip"
on my ftp site: ftp://ftp.eskimo.com/u/j/jimo
for everyone to enjoy. This version has the prices rounded to the
nearest legal tick values.
Enjoy,
Jim
|