Sceduled ascii dump

gerie

Member
Every week I make an ascii dump of the database in order to fill the data ware house of an organisation. The data ware house is ofcourse not a progress database. I use the data administration tool to create the dump.
Is there a way to scedule this dump?

Env. WS2003 Standard ed.
Progress 10.1B

Thanks in advanced,

Gerie
 
You could use the windows task scheduler. But first you will have to write a script or put together a 4gl program to actually do the dump. It isn't especially hard. For each table being dumped the data dictionary basically does:

Code:
output to value( "dumpname.d" ).
for each tablename no-lock:
  export tablename.
end.
/* write a trailer that your data warehouse load probably ignores */
output close.
 
There are several ways to do it.

One is that you can just have a program that does (using a table called customer as an example):
output to cust.d.
for each cust no-lock:
export cust.
end.
output close.

Or another way is to have a program that calls the Progress routine that dumps data but in the end you end up with the same thing.

Hope this helps.

Gary Mittleman
garym@camgar.ca
 
Back
Top