PreviousNextIndex

DATASERVERS function

Returns a list of database types your OpenEdge product supports from where it is executed. The DATASERVERS function takes no arguments.

Syntax

DATASERVERS 

The DATASERVERS function returns a character string containing a comma-separated list of database types. For example:

"PROGRESS,ODBC,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


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex