Consultor Eletrônico



Kbase P59994: How to connect to a database via shared memory
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/12/2003
Status: Unverified

GOAL:

How to establish a shared memory connection to the Progress database

FACT(s) (Environment):

Progress 9.1x

FACT(s) (Environment):

Windows 32 Intel

FIX:

For connecting to a Progress database via shared memory you need to have the
same Progress client and database version. The database has to be started on
the same machine as the Progress client application is running to be able to share the same physical memory. The shared memory connection needs less parameters than every other kind of connection. To establish a shared memory connection to a Progress database the client connect parameter is:

-db <path to database>\database name without extension> .

Example :
-db e:\wrk\progress\v91d\sports .

4GL example:
connect -db e:\wrk\progress\v91d\sports .
if connected ("sports") then message dbname " is connected ".

If the database is started with procontrol you need also to make sure
that the client has access rights to the shared memory of the database
started with the proservice user account if that is different.