how to start with MULTI USER ?

fraso

New Member
This is my startup at my .bat file. :eek:

START /w /MAX prowin32.exe -1 c:\%RT%\sims %YYD% -pq c:\%RT%\admin\st.w

now, i want a multi-user because I parallel will connect via ODBC.

How do i have to start with to get a multi user mode (proserve...?) ?
What should be the paramter lined up ?


thanks,
fraso
 
Well first you'll have to start the database in multi user:

You can do this in the progress explorer tool or just by using a script;
the command is
proserve -db <location of db> -H <servername/hostname> -S <portnumber>

something like:
SET DLC=c:\dlc102a
CALL %DLC%\bin\proserve -db d:\databases\database.db -H hp_conv -S 5001 -ServerType SQL
CALL %DLC%\bin\proserve -db d:\databases\database.db -H hp_conv -S 5002 -m3

of course you can use all kinds of parameters to start the database but this would be the minimum required if you're going to use the network.

the 1st server is a-ServerType SQL type of server which means that you can connect to it with ODBC. The second will support 4GL and the -m3 means it's a secondary broker.

Then you have to specify the database parameters in the startup of your program.
The most easy way is to create a database.pf file and refer to it at the commandline of your startup script.
So create a .pf file with the following parameters:

-db database.db
-H hp_conv
-S 5002

In your startup commandline just add -pf database.pf and you'll be ready to go (ow, and lose the -1).
For more startup parameters just use the search phrase "startup parameters" at the progress kb and you'll find plenty of parameters which can be (very) useful
 
Back
Top