UTILCONN_TRANSIENT= LIBNAME Statement Option

Enables utility connections to be maintained or dropped, as needed.

Valid in: LIBNAME statement
Default: NO
Supports: All

Syntax

UTILCONN_TRANSIENT= NO | YES

Syntax Description

NO

specifies that a utility connection is maintained for the lifetime of the libref.

YES

specifies that a utility connection is automatically dropped as soon as it is no longer in use.

Details

Data sources can lock system resources as a result of operations such as DELETE or RENAME, or as a result of queries on system tables or table indices. Use a utility connection in these circumstances. The utility connection prevents the COMMIT statements that are issued to unlock system resources from being submitted on the same connection that is being used for table processing. Eliminating COMMIT statements from the table processing connection alleviates the problems that they can cause, such as invalidating cursors and committing pending updates on the tables being processed.
Since a utility connection exists for each LIBNAME statement, the number of connections to a data source can become large as multiple librefs are assigned across multiple SAS sessions. Setting UTILCONN_TRANSIENT= to YES keeps these connections from continuing to exist when they are not being used. Therefore,the number of current connections to the data source is reduced.
UTILCONN_TRANSIENT= is ignored by data sources that do not support utility connections.