Can't get prowin32.exe command to work

wsaunders

New Member
I am trying to run a compiled procedure form the proenv command prompt but I am not having much luck. I am usinig 8.3E. This should be easy. Any ideas?


Command
prowin32.exe -p "D:AAA\BBB\CCC.r"

Error
Progress window comes up with D:\AAA\BBB\CCC.r Database <database> not connected. (1006)
** Unable to run startup procedure D:\AAA\BBB\CCC.r. (492)


Command
prowin32.exe <database> -b -S <ServerName> -p "D:\AAA\BBB\CCC.r"
Windows error message

Error
Unable to find server <ServerName> with protocol TCP in file SERVICES or SERVICES file not found in expected location. (5192)



Any ideas?
 

wsaunders

New Member
OK,

I don't have the db username or password.

I did get this to work from proenv, but now I need to create a bat file to automate the process.


Works from Proenv:
prowin32.exe <database> -b -p " D:\AAA\BBB\CCC.r "

Does no work from windows command prompt:
"D:\DLC\bin\prowin32.exe" <database> -b -p "D:\AAA\BBB\CCC.r"

The above statement gives me 2 errors that both say "There is no server for <dbName>.(1423)"

Do I need to add a db connection? Can I do it without having username password?

I'm sorry I'm such a novice, please help.

-Will
 

doreynie

Member
Using progress db you have 2 options:

The DB is running in single mode
or the DB is running in multiuser mode

1. Single user : you have to connect with the -1 option

2. Multi user : you MAY NOT use the -1 option, but, there should be a 'server running' for your database.

Starting a database server : you must do that from within procontrol (configuration settings in windows)
 
Top