Please enable JavaScript to view this site.

ESL Documentation

Catalogue Command (ODBC Only)
Returns list of Data Source.

datasources

Use this command to obtain a list of data sources that have been configured for the User.

 

Column Name

Column Number

Comment

DATASOURCE_NAME

1

Name of the data source that can be used with the login command.

REMARKS

2

A description of the data source.

Example

subroutine PopulateDataSources(string: ListBox_SV) is

 

string        DataSource_LSV

 

 clear ListBox_SV

 begin guarded

         response to start

                 send "datasources\n" to SQL

         response to "SQL>" from SQL

                 leave block

         response to line from SQL

                 extract from input

                         take to "~" DataSource_LSV

                 add to ListBox_SV

                         insert DataSource_LSV "\n"

 end