You automatically use HP Link Editor/XL when you execute one of
the MPE/iX commands that compiles and links a program in one step
or compiles, links, and executes a program in one step.
You can directly start HP Link Editor/XL in one of the following
ways:
Enter the :LINKEDIT command at the MPE/iX prompt:
HP Link Editor/XL displays its command line prompt LinkEd>, and
waits for you to enter a command. Each time you enter a link editor command, it is executed and
you are prompted to enter another. This continues until you end HP Link Editor/XL with the EXIT command.
Enter a :LINK command at the MPE/iX prompt:
:LINK FROM=EX1OBJ;TO=EX1PROG;RL=LIBRL
|
The link editor performs the link operation, then ends.
The :LINK command is discussed in Chapter 3 and has the same
syntax when used at the MPE/iX command level as when entered at the
link editor prompt.
Enter a :RUN or a :LINKEDIT command, with an
INFO string, at the MPE/iX prompt.
Enter an INFO string that contains one link editor command:
:RUN LINKEDIT.PUB.SYS;INFO="LISTRL;RL=LIBRL"
|
Or you can use the short form:
:LINKEDIT "LISTRL;RL=LIBRL"
|
The command in the INFO string is executed and HP Link Editor/XL ends.
You can execute any link editor command in this manner.
There are three situations that terminate HP Link Editor/XL:
When you explicitly end HP Link Editor/XL by entering the
EXIT command:
You can abbreviate the EXIT command as E, EX, or EXI. The commands QUIT, Q, and BYE also terminate HP Link Editor/XL.
When end-of-file in $STDINX is encountered.
When an error occurs in a batch job. An error message is printed, the system Job Control Word (JCW) is set to indicate a fatal error, and HP Link Editor/XL ends.