View Single Post

   
  #1 (permalink)  
Old 04-10-2008, 12:01 AM
Andre Georgel
 
Posts: n/a
Default Automatic dump and load of a database.

Hi all,

I want to make a procedure to dump and load automatically a database.

I will use the progress procedures dump_df, dump-d, load_df, load_d but
it seems I've a "big" problem with the environnment variables.

Hereafter, my procedure :
/* Début */
PAUSE 0 BEFORE-HIDE.
RUN dump_df.p (INPUT "ALL", INPUT "acces.df", INPUT "ibm850").
RUN dump_d.p (INPUT "ALL", INPUT "", INPUT "ibm850").
DISCONNECT acces.
UNIX rm acces.db SILENT.
UNIX rm acces.bi SILENT.
UNIX rm acces.lg SILENT.
UNIX prodb acces empty SILENT.

CONNECT acces -1 -i.

RUN load_df.p (INPUT "acces.df").

RUN load_d.p (INPUT "ALL", INPUT "acces/").

/* Fin */

OS is UNOX SCO Openserver 5.06 with Progrese V 7.3E (it is old, I know,
but it run fine . . .)

The PROPATH variable contain /appli/dlc/src/prodict

At execution i've the message "dump_df not found". If i give the full
pat fo dump_df.p, i've another error "not found" message for other
included procedures : prodict/user/uservar.i, prodict/dictvar.i etc...

can somebody give me where is my error ?

tnak you in advance for the answers.

André Georgel


--
A. Georgel

Mail : http://marreduspam.com/ad897732
Site : http://materiels.trans.free.fr


Reply With Quote