Progress
Language Reference


DATASERVERS Function

Interfaces
OS
SpeedScript
All
All
Yes

Returns a list of database types your Progress 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 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 DATABASE 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


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095