I deleted the "stock" folder and used relative paths, but assert remains:

f=:Open_jdb_ jpath'~temp'
d=:Create__f 'stock'
t=:Create__d 'history' 
|bad jmf header: assert
|   'bad jmf header'    assert 0[free fh,mh,fad

All files (dir, c1, c0, d1, etc...) have been created, but I can't work with
table "history".
For example, I have made InsertCols, but get error, perhaps what have been
"bad jmf header"   :-(

InsertCols__d 'history';0 : 0
   date int;
   cost float
   volum int
   )
|101 Table not found: history: throw
|       throw'101 Table not found: ',>y



Oleg Kobchenko wrote:
> 
> Try deleting the "stock" folder and try again.
> Use relative paths.
> 
> This is what I get after that example with
>   f=:Open_jdb_ jpath'~temp'
>   ...
> 
>    load''dir'
>    dir jpath'~temp/stock'
> history   <dir>     15-Nov-09 06:37:52
> dir             332 15-Nov-09 06:37:52
> trans             1 15-Nov-09 06:37:52
>    dir jpath'~temp/stock/history'
> c0        5284 15-Nov-09 06:37:52
> c1        5284 15-Nov-09 06:37:52
> d0        5284 15-Nov-09 06:37:52
> d1        5284 15-Nov-09 06:37:52
> d2        1296 15-Nov-09 06:37:52
> 
> 

-- 
View this message in context: 
http://old.nabble.com/JDB---big-trouble-tp26357848s24193p26358539.html
Sent from the J Programming mailing list archive at Nabble.com.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to