Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

prowin32 starting procedure parameters

Status
Not open for further replies.

ruiaraujo

Programmer
May 30, 2003
1
PT
Hi all.
I need to pass a parameter to a starting procedure witch is itself a parameter of prowin32.exe ms-dos file.

This is wrong:
Code:
prowin32 -b d:\database_name -p dump_d.r ("table_name")

I read somewhere that can also use
Code:
dump_d.r ("all")
Help me doing it right.

I wish to export a table to a .d file automaticaly, using a ms-dos batch file, so it runs every night in scheduled tasks.

I'm a newbie in this language and I can't figure it out by myself because I haven't got the compiler installed. This way I can't do experiments with self-made procedures. So my only way out is using the already-compiled ones.

Thank you.
 
Have you tried referencing the .p or .w instead of the .r? Also, you may want to reference an .ini file (-ini filename.ini) which lists the propath for the instance of Progress. Make sure the first folder in the propath is the folder where the .r is.

"c:\program files\bin\prowin32.exe" -b d:\database_name -p dump_d.w

(dump_d.w would need to contain the entire query, including the table name to dump.)

We keep our .r's in a separate folder from the .w's and that folder is the first folder in the propath.

Natalie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top