Consultor Eletrônico



Kbase P106026: What is the predefined WebSpeed environmental variable DB_OBJECT
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/5/2005
Status: Unverified

GOAL:

What is the predefined WebSpeed environmental variable DB_OBJECT

GOAL:

How to define DB_OBJECT to the WebSpeed Broker and it's agents

FACT(s) (Environment):

WebSpeed 3.1D
WebSpeed 3.1E
OpenEdge 10.x

FIX:

Associates code objects with databases. You can specify exact pathname ending with the object name, or you can use a wild card. In addition, you can exclude a pathname by proceeding it with an ! (exclamation point).

If a code object is not found in a DB_OBJECT list, it is assumed that no database access is required. When a code object is run and it's database is not connected, an attempt is made to connect the database. If connect fails, an error message results.

The VALUE is [logical database name | DB_GROUP name]=[delimited list of code objects].

For example (assuming that sports was defined as a database group containing sports2000 and db1):
sports=c:/usr/apps/cart/*;/app2/collect

Activation of this variable can be accomplished either by:

1. Using the Progress Explorer and entering the name of the variable in the NAME field in the brokers' Environment Variable Properties dialog box and the Value in the VALUE field.

2. Manually add to the ubrokers.property file under the Environment section for your broker.
[Environment.wsbroker1]
DB_OBJECT=<logical database name | DB_GROUP name = delimited list of code objects>