Execute MPE Command [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation
HP EDIT Reference Manual
Execute MPE Command
Purpose
Enables execution of certain MPE commands.
Default Syntax
:
Description
This command temporarily suspends editing and enables you to execute MPE
commands[REV BEG] and command files. On MPE XL you can also execute user
defined commands (UDCs). Executing MPE commands, command files, or UDCs
will not end the current editing session. You can also execute commands
that run programs (COB85XL, for example).
You cannot execute the following commands while in HP EDIT:
* Abort
* Bye
* Chgroup
* Data
* Do
* DOD
* EOD
* EOJ
* Exit
* Hello
* Job
* Listredo
* Option
* Redo
* Resume
* Setcatalog
* Showcatalog
[REV END]
You can also execute MPE commands that can be executed programatically
using the COMMAND intrinsic. Refer to Executing Commands Programatically
in the MPE Intrinsics Reference Manual for information about permissible
commands.
Procedure
To execute MPE commands:
1. Press the : key, or press the MPE and Options function key,
followed by the MPE Command function key. HP EDIT suspends the
editing session and displays the message Press RETURN to reenter
editor followed by the MPE prompt.
2. Enter as many MPE commands as desired.
3. Press Return at the MPE : prompt to return to the editing session.
Example
To display a list of files:
1. Press the : key. HP EDIT displays the following message and
prompt at the top of an otherwise blank screen:
Press RETURN to reenter editor
:_
2. Type listf and press Return. HP EDIT displays output similar to
the following:
SAMPLE 1 SAMPLE2 SAMPLE3
:_
3. Press Return. HP EDIT returns to the editing session.
Related Commands
Break To MPE
MPE/iX 5.0 Documentation