Linking Programs

If the optional LINK library logicals are defined (see VAX/OpenVMS LOGICAL NAMES in this document), link the COBOL, FORTRAN or C program with the HLI routines as follows:

$ LINK   file_name

If the optional LINK library logicals are not defined, link the FORTRAN or COBOL program with the HLI routines as follows:

$ LINK   file_name, NIS:ACCVAX/LIB, NIS:ACCHLI/LIB

You may optionally define the LINK library logicals.  This simplifies linking the HLI programs, but is not required.  See the VAX/OpenVMS LINK manual for additional details.

$ ASSIGN   NIS:ACCVAX    LNK$LIBRARY

$ ASSIGN   NIS:ACCHLI    LNK$LIBRARY_1