HPlogo Getting Started as an MPE/iX Programmer Programmer's Guide: HP 3000 Computer MPE/iX Computer Systems > Chapter 4 HP Link Editor/XL

Using an Indirect File

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

An indirect file is an ASCII file containing a list of names. You can use indirect file names in HP Link Editor/XL commands instead of individually entering each name contained in the file. You can also mix indirect and regular file names in commands. Indirect files are a convenient way to enter a long list of names for commands that you use frequently. You can use indirect files only with the following commands in the specific parameters given in parentheses.

     LINK        (FROM=, RL=, and XL=)

     ADDRL       (FROM= and RL=)

     COPYRL      (ENTRY=, MODULE=, and LSET=)

     EXTRACTRL   (ENTRY=, MODULE=, and LSET=)

     LISTRL      (ENTRY=, MODULE=, and LSET=)

     PURGERL     (ENTRY=, MODULE=, and LSET=)

     ADDXL       (FROM=, RL=, ENTRY=, MODULE=, and LSET=)

     COPYXL      (ENTRY=, MODULE=, and LSET=)

     LISTXL      (ENTRY=, MODULE=, and LSET=)

     PURGEXL     (ENTRY=, MODULE=, and LSET=)

When you create an indirect file, enter one or more names on each line, using as many lines as necessary. Use a space or a comma to separate each name on a line. Make sure that HP Link Editor/XL has read access to the file.

To use an indirect file in a command, precede its name by a caret.

For example, if an ASCII file named OBJLIST contained the lines

      

        LIB1OBJ

        LIB2OBJ

        LIB3OBJ

        LIB4OBJ

        LIB5OBJ


you can use the indirect file OBJLIST in the following commands to add the five relocatable object files named in OBJLIST to the relocatable library named LIBRL:

        :LINKEDIT

   LinkEd> BUILDRL LIBRL

   LinkEd> ADDRL FROM=JLIST

   LinkEd> EXIT
Feedback to webmaster