Kbase P75397: When using the DATABASES environment variable within WebSpeed, can the same .pf file be used when sp
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/10/2008 |
|
Status: Verified
GOAL:
When using the DATABASES environment variable within WebSpeed, can the same .pf file be used when specifying multiple databases?
GOAL:
When using the DATABASES environment variable within WebSpeed, can I use the same .pf file specified for each database?
FACT(s) (Environment):
WebSpeed 3.1D
OpenEdge 10.x
FIX:
When defining multiple databases within the DATABASES environment variable, you can not use the same .pf file for each logical database defined.
For example, notice the databases "sports2000" and "pscdemo" are using the same .pf file, test.pf;
Databases=sports2000=-pf c:/databases/test.pf|pscdemo=-pf c:/databases/test.pf
By using a the same .pf file, the client will try to reconnect to databases that may already be connected. That is why if you're going to use a .pf file, each logical database must have it's own .pf file
Example,
Databases=sports2000=-pf c:/databases/sports2000.pf|pscdemo=-pf c:/databases/pscdemo.pf
However if you're using a procedure file (.p), you can use the same one by ensuring that the logic within the procedure verifies connects and disconnects for each database.