Linking Using PROCESS VIA

This connecting method enables libraries to link to the same process family to which another specified client library or connection library is already linked.

The following example illustrates the LINKLIBRARY function using the following syntax:

LINKLIBRARY(LIB1, PROCESS VIA LIB2)

LIB1 must be the library identifier from a client library declaration or a connection library declaration. If LIB1 is a connection library identifier, it can optionally include a connection index; for example, LIB1[3].

LIB2 must be a client library identifier or a connection library identifier (either declared with the SINGLE modifier or with a connection index). This LINKLIBRARY call links the library identified by LIB1 to the process family identified by LIB2. LIB2 must be linked and the library to which it is linked must have a sharing specification of SHAREDBYALL.

More Information

For detailed information about the LINKLIBRARY function, refer to the ALGOL Programming Manual Volume 1 Basic Implementation.