-USE [ MPE Segmenter Reference Manual ] MPE/iX 5.0 Documentation
MPE Segmenter Reference Manual
-USE
Activates one or more program unit (Relocatable Binary Module) entry
points in the User Subprogram Library currently designated for
management. Note that, in the order the parameters are listed below
(ENTRY, UNIT, SEGMENT), the control given you by the USE parameters
becomes less specific. If you want control over a single entry point,
use the most specific and limited parameter, ENTRY. (You will probably
also use the optional index whenever you use this specific parameter.)
Either of the other two parameters would activate all entry points within
an RBM or a segment, including some you might want to leave inactive.
SYNTAX
[ENTRY, ]
-USE [UNIT, ] name[(index)]
[SEGMENT,]
PARAMETERS
ENTRY Activates the entry point indicated by name [(index)].
UNIT Activates all entry points in the RBM indicated by name
[(index)].
SEGMENT Activates all entry points in all RBMs associated with
the segment name.
The default value is ENTRY.
name The name of the entry point if ENTRY is specified, or
the name of the RBM if UNIT is specified, or the name of
the segment if SEGMENT is specified.
index An integer further identifying the entry point name.
The index may be used when the USL file contains more
than one entry point of the same name. If SEGMENT is
specified, the index parameter is ignored.
If index is omitted, a default value of 0 (the most
recent inactive occurrence) is assigned. An index n
means the nth occurrence, whether active or inactive.
However, there is no point in using this command with an
entry point you know to be active, since its purpose is
to activate inactive entry points.
EXAMPLE
-USE UNIT,RB20 Activates all entry points in the RBM named RB20.
MPE/iX 5.0 Documentation