DATASERVERS function
Returns a list of database types your OpenEdge product supports from where it is executed. The DATASERVERS function takes no arguments.
Syntax
The DATASERVERS function returns a character string containing a comma-separated list of database types. For example:
Which indicates licensed support for the OpenEdge database, DataServer for Microsoft SQL Server, and DataServer for Oracle.
You can use the returned string with the LOOKUP function to determine whether a particular type of database is supported.
Example
The following example displays a selection list of all supported database types:
r-dserv.p
DEFINE VARIABLE db-types AS CHARACTER NO-UNDO VIEW-AS SELECTION-LIST
INNER-CHARS 20 INNER-LINES 3 LABEL "DataServers".
FORM db-types.
db-types:LIST-ITEMS = DATASERVERS.
UPDATE db-types.
|
See also
ALIAS function,
CONNECT statement,
CONNECTED function,
CREATE ALIAS statement,
CREATE CALL statement,
DBCODEPAGE function,
DBCOLLATION function,
DBRESTRICTIONS function,
DBTYPE function,
DBVERSION function,
DELETE ALIAS statement,
DISCONNECT statement,
FRAME-DB function,
LDBNAME function,
LOOKUP function,
NUM-DBS function,
PDBNAME function,
SDBNAME function