Ch 4. LANGUAGES [ COMMUNICATOR 3000 MPE MPE/iX RELEASE 4.0 ] MPE/iX Communicators
COMMUNICATOR 3000 MPE MPE/iX RELEASE 4.0
Chapter 4 LANGUAGES
HP Link Editor/XL Enhancement
by Jan Merrill
Systems Technology Division
With this version of HP Link Editor/XL, a new parameter called SHORT_LIST
has been added to the LISTRL and LISTXL commands. Using this parameter
allows you to display a list of names of all the modules in your
relocatable or executable library. Using LISTRL or LISTXL without
SHORT_LIST displays not only the names of all the modules, but also a
symbol listing for each module. The following example shows the format
of the SHORT_LIST listing:
LinkEd> LISTRL RL=LIBRARY;SHORT_LIST
LIB1SRC
LIB2SRC
LIB3SRC
When the SHORT_LIST parameter is used, other display parameters such as
ALL, CODE, and DATA, are overridden. The parameters ENTRY, MOULE,
BLOCKDATA and LSET can be used to identify specific modules to list.
One way you can use the SHORT_LIST parameter with the LISTRL command is
to create an ASCII file of the names of all the relocatable object
modules in a relocatable library. This file can then be used as an
indirect file in other Link Editor commands, or for documentation
purposes. In the following example, the relocatable object module names
of the MYRL relocatable library are redirected to the temporary file,
MYLIST:
:LINKEDIT "LISTRL MYRL;SHORT_LIST" > MYLIST
You can also redirect the Link Editor file, LINKLIST, to an ASCII file by
using the MPE/iX FILE command before running Link Editor, as in the
following example:
:FILE LINKLIST=MYLIST;DEV=DISC;SAVE;REC=-80,3,F,ASCII
:LINKEDIT "LISTRL MYRL;SHORT_LIST"
MPE/iX Communicators