HP 3000 Manuals

USING THE SEGMENTER [ MPE Segmenter Reference Manual ] MPE/iX 5.0 Documentation


MPE Segmenter Reference Manual

Chapter 2  USING THE SEGMENTER 

ACCESSING AND EXITING THE SEGMENTER 

In an interactive session, you access the Segmenter implicitly whenever
you use the MPE :PREPARE command, or when you use any of the combination
commands such as:

 :PREPRUN object_code_filename (prepares and executes in one step)

 :BASICPREP source_code_filename (compiles and prepares in one step)

 :BASICGO source_code_filename (compiles, prepares and executes in one
step)

If you want to directly manipulate code yourself, you need to access the
Segmenter explicitly.  Enter the following in response to the MPE colon
prompt:

     :SEGMENTER [listfile]

where listfile is an ASCII file from the output set (formal designator
SEGLIST) to which is written any listable output generated by Segmenter
commands.  By default, all such listings are sent to $STDLIST only.  If
you want to route your listings to the line printer, you must set up a
file equation and use a file reference when you issue the :SEGMENTER
command.  For example:

     :FILE ELIZ;DEV=LP
     :SEGMENTER *ELIZ

The designator SEGLIST should not be used as the actual file designator,
since it is the formal file designator.

If you decide you want a line printer listing after you are already in
the Segmenter subsystem, you cannot use the BREAK key.  Instead, you will
have to -EXIT, make the file equation, and re-invoke the Segmenter using
the file reference.

When you enter the :SEGMENTER command, the Segmenter responds with the
following message and displays a dash prompt character:

     HP32050A.03.00 SEGMENTER/3000 (c) HEWLETT PACKARD CO. 1986
     -

You can now enter Segmenter commands.  To end Segmenter operation, use
the EXIT command:

     -EXIT  or  -E

The system responds with the following message and returns you to the MPE
colon prompt:

     END OF SUBSYSTEM
     :


NOTE You may also explicitly call the Segmenter and provide Segmenter commands in batch mode, but since the dash prompt character is supplied by the system as your job is running, it cannot be part of your input. All examples in this manual were run in interactive mode and thus include the dash prompt. User input is underlined in all dialogue where it is necessary to distinguish the input from computer output. Editorial comments are enclosed in pairs of asterisks (**comment**).


MPE/iX 5.0 Documentation