TechNote

Number:06603-04
Date:April 1994

Smart II Software: the SMTLINK combination utility

This TechNote describes how to use the combination utility supplied with the Smart II Software. For full details of the Smart II Software, see TechNotes 06607 and 06608.

The SMTLINK utility

The SMTLINK utility enables you to link the Smart II Software into a single executable file whose components are: SMART.EXE; SMART.CFG; and the protocol and interface modules you require. Loading a single executable file is faster than loading separate files. It also enables you to avoid keeping on disk any modules that you do not need, and to avoid changing your login scripts.

The format of the SMTLINK command is:

SMTLINK <filename> SMART.EXE [SMART.CFG] <protocol modules>

To use SMTLINK to link your Smart Software into a single executable file:

  1. Create a SMART.CFG file specifying the protocols you require. See Technote 06608.

  2. To check that there are no errors in the SMART.CFG file you have written, run SMART.EXE with the SMART.CFG file.

  3. Run SMTLINK using the following command line:

    SMTLINK <filename> SMART.EXE [SMART.CFG] <protocol modules>

    Unless you specify a path, SMTLINK looks in the current directory for all the files that you want to link together.

    The following sample SMTLINK command creates a file called LLCIPX.EXE containing the LLC and IPX protocol modules. These must be specified in the SMART.CFG file, otherwise they will not be loaded.

    SMTLINK LLCIPX.EXE SMART.EXE SMART.CFG LLC.SMT IPX.SMT

  4. To display the components of the file that you have generated by running SMTLINK, type:

    SMTLINK <filename>

    The "filename" is the name of the file that you wish to examine. In the case of the above example, it would be LLCIPX.EXE. You can name any file that has been created by SMTLINK.

  5. For further information about the SMTLINK utility, at the prompt type:

    SMTLINK