Datasourceinfo()

Returns back a structure with all the details of the datasource. Please note the password is not returned. Keys=[hoststring, drivername, databasename, username, password, logintimeout, connectiontimeout, maxconnections, maxlivetime, maxusage, connectionretries, initstring]

Usage

STRUCTURE = Datasourceinfo( datasource )
Argument Summary
datasource datasource - database datasource you wish to inspect

Calling

Supports named-parameter calling allowing you to use the function like:

Datasourceinfo(
   datasource=?
);

Supports passing parameters as a structure using ArgumentCollection:

Datasourceinfo( ArgumentCollection={
   datasource : ?
} );