The GetProperty Method

Previous Next

See Also

The internal Rules Engine GetProperty method retrieves system information from the Rules Engine. The syntax is:

SELECT RulesEngine.GetProperty('<property>')

The following properties are available for use with the GetProperty method:

Property

Description

Application

Returns the name of the application

ConceptualFile

Returns the name and location of the conceptual file that is in use, e.g.:

c:\progra~1\usd80\app\TRAVEL.con

Database

This is the name of the database, as used when communicating with the database.

OsUserName

Returns the user name under which the Rules Engine process is running.

OsUserHomeDir

Returns the home folder of the user under which the Rules Engine process is running.

OsUserTempDir

Returns the temporary (temp) folder specified for the user under which the Rules Engine process is running.

Rdbms

Returns the RDBMS type. for example Oracle.

RdbmsVersion

Returns the version of the RDBMS, e.g.:

9.2.0.1.0

RecordFactsCacheSize

Returns the value of the RecordFactsCacheSize property, set as a deployment configuration setting in the USoft Authorizer.

RowsCommitted

This property returns the number of records committed during the last successful commit (as displayed in the commit message). The property is active until the next commit/rollback attempt. For example:

SELECT 'OK'

WHERE RulesEngine.GetProperty('RowsCommitted') = 1

SystemDir

Returns the System Directory: the folder under which this USoft instance is installed, e.g.:

c:\progra~1\usd70

TransactionMode

Returns either 'Immediate' or 'Batch', depending upon the transaction mode setting, e.g.:

SELECT RulesEngine.GetProperty('TransactionMode')

USoft_LogDir

Returns the path to the USoft logging folder. All USoft log files are stored in this location by default.

USoft_TempDir

Returns the path to the USoft temporary folder. All temporary files created and used by USoft are stored in this location.

Version

Returns the USoft version, e.g.:

8.0.1Q.Production