HP 3000 Manuals

Linking Your Program [ HP COBOL II/XL Reference Manual ] MPE/iX 5.0 Documentation


HP COBOL II/XL Reference Manual

Linking Your Program 

To link your main program and a subprogram and create a single program
file, use the HP Link Editor/XL LINK command.  If the main program object
code file is mainobj, the subprogram object code file is subobj, and the
program file to be created is progfile, then the command is:

     LINK FROM = mainobj,subobj; TO = progfile 

This is one of the simplest cases.  For more examples, refer to the HP 
COBOL II/XL Programmer's Guide.  For complete information on the LINK
command, refer to the HP Link Editor/XL Reference Manual.



MPE/iX 5.0 Documentation