AUTOLINK

Property

Value

Kind

Client library or connection library

Type

Boolean

Read

Anytime

Write

Anytime

Default

Client libraries: TRUE

Connection libraries: FALSE

Explanation

The AUTOLINK library attribute specifies whether a library can be linked to implicitly. Implicit linkage occurs when a process uses an imported object without having first executed a LINKLIBRARY function. If AUTOLINK is TRUE, the system automatically attempts to link the importing process to the library. If AUTOLINK is FALSE, the importing process incurs a fatal error and terminates.

Setting AUTOLINK to TRUE is useful if your program uses LINKLIBRARY to initiate the linkage and you want to catch any unexpected implicit linkages.

Client Libraries

The AUTOLINK attribute defaults to TRUE, but can be explicitly assigned a value of either TRUE or FALSE.

Connection Libraries

The AUTOLINK attribute defaults to FALSE, but can be explicitly assigned a value of either TRUE or FALSE.