Linking a Client Library to a Task Variable
If a process has access to a declaration of a client library and the task variable of a server library, the process can link the client and server libraries together by specifying the library declaration and the task variable in the LINKLIBRARY function. This type of linkage is referred to as direct linkage, because it bypasses the mechanisms that the system otherwise would use to locate the matching library. When you use direct linkage, the system ignores the values of the library attributes FUNCTIONNAME, INTERFACENAME, LIBACCESS, and TITLE.
LINKLIBRARY Syntax
The direct form of the LINKLIBRARY function is available only in ALGOL and NEWP. The following is an example of such a LINKLIBRARY call:
RSLT := LINKLIBRARY(CLIB1, LIBRARY = TVAR);
In this example, CLIB1 is the client library identifier and TVAR is the task variable of the server library process. The STATUS of TVAR must be FROZEN for linkage to succeed.
Limits on LINKLIBRARY Options
The direct form of the LINKLIBRARY function cannot include a DONTWAIT/ DONTWAITFORFILE/WAITFORFILE option or any library attribute values.
Previously Specified Library Attributes
Other library attributes such as LIBPARAMETER have the same effects that they do for implicit or explicit linkages.

