Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : DB-REFERENCES attribute
 

DB-REFERENCES attribute

A comma-separated list of the databases, (in the form of logical database names) referenced by an r-code file or by a persistent procedure. Returns the Unknown value (?) for a Web service procedure or proxy procedure.
Data type: CHARACTER
Access: Read-only
Applies to: Procedure object handle, RCODE-INFO handle, SOURCE-PROCEDURE system handle, TARGET-PROCEDURE system handle, THIS-PROCEDURE system handle
The following example displays a list of all databases referenced by sample.r in a comma-separated list that is contained in the DB-REFERENCES attribute.
RCODE-INFO:FILE-NAME = "sample.r".
DISPLAY RCODE-INFO:DB-REFERENCES.