Loading .df files from a procedure.

MurrayH

Member
1. Create a new database: prodb mydb $DLC/empty8
2. pro mydb -i -B 20000
3. Go to the data administrator and load the DF and then load the tables (which will load the .ds)

Murray
 

Bubbancs

New Member
Sorry I frogot to say that
I need to load the files from a procedure,
not from tha administrator, or other tool.

Thanx.

Bubu
 

MurrayH

Member
input from /tmp/mytab.d.
repeat:
create mytab.
import mytab.
end.
input close.

Or something close to that
 
I have tested this V8 & V9 on our unix box from the tramlines and it seems to work:

run prodict/load_df.p("database.df")

where database.df is your required database definition file.

The code is stored under $DLC/src/prodict. (There is also a load_d.p program).
 
Top