ODBC policy: Prevent use of named data sources

 

Use this policy to restrict the use of named data sources when using iSeries Access ODBC support.

A "named data source" is one that:

A user may create a named data source using the iSeries Access ODBC Administration program. A program may create a named data source too -- by calling, for example, SQLCreateDataSource.

A program may create an ODBC connection by calling SQLDriverConnect. If the DSN option is used, it specifies a named data source to use. If the FILEDSN option is used, it specifies the name of a file that contains connection options. The file name is not a data source name, hence use of FILEDSN is not use of a named data source.

The restriction options for this policy are the following:

If when connecting no named data source is specified, the data source used will be a temporary one, called a "program generated data source." The use of program generated data sources can be restricted using the Prevent use of program generated data sources policy.

This policy is an override of machine setting enabled.

Policy Type
Restriction Configuration
Suggestion Mandate
X

Policy Scope
Per PC (all users) Per user Per user setting (May override machine setting) Per iSeries connection
X X X

 

Parent topic:

Policies by function: ODBC

Related concepts
ODBC policy: Prevent use of program generated data sources