&AB [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
&AB
Syntax
&AB {abbrevname} {expansion}
where:
abbrevname unquoted string and between 1 to 8 characters
expansion unquoted string
Numeric characters cannot be used due to the HP Desk parsing mechanism.
Description
&AB sets up abbrevname to be an abbreviation for the string expansion.
This can be used to set up short commands for running programs with long
parameter strings in the same way as normal HP Desk abbreviations. See
Chapter 8 for more information.
Note that abbreviations can override any existing HP Desk commands. For
example, you might set up a personal abbreviation called COPY to execute
a script that implements your own version of the COPY command.
Whenever COPY is then entered at an HP Desk prompt, the abbreviation
expansion (i.e. your script) would be executed instead of the HP Desk
COPY command. To use the real HP Desk command in your script, you should
precede the command with an asterisk, for example: *COPY (if this is
allowed!).
Abbreviations set up using the &AB directive exist only for the current
HP Desk session and once such an abbreviation has been set up, there is
no way to delete it. &AB will not give you access to MPE commands if you
do not have MPE capability. A signon script is a good way to set up
these personal abbreviations.
See also: &SCRIPTPATH, &SIGNON.
Example
&AB COPY SCRIPT "error message"
This will always run the "error message" script when the COPY command is
used.
MPE/iX 5.0 Documentation