What Are Abbreviations Used For? [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
What Are Abbreviations Used For?
Abbreviations provide the following:
* Tailored versions of HP Desk commands
This can be a way of abbreviating long commands that are regularly
used. For example, you could install an abbreviation, called
"FILEAWAY", that moves the item last read in the In Tray to a
specific folder in the Filing Cabinet and saves users from typing:
MOVE IT TO "ACCOUNTS" OF "INCOMING"
To execute the abbreviation, all that the users need to do is to
enter the name of the abbreviation to be used at the HP Desk
prompt. For example:
FILEAWAY
* Suppression of selected HP Desk commands
This can be done for specified capability groups. If you INSTALL
an abbreviation for an existing HP Desk command, the abbreviation
over-rides the command. So by installing an abbreviation for a
limited group of users, you will prevent other users accessing the
command. For example, the READ command is available to all users.
If you install an abbreviation named "READ" which is only
available to the SYSADMIN group, then only members of the SYSADMIN
group can use the READ command. However, as well installing an
abbreviation for the command, you must also install abbreviations
for the shortened versions of the command that allow users to type
just enough characters to distinguish it from other commands.
Examples of the kind of command for which you might want to do
this are:
PROFILE to prevent users changing their default
printer
SEARCH to improve machine performance
EXIT to keep users within HP Desk
A similar capability can be achieved using script files. See
Chapter 9 for more information. Note too, that an
abbreviation can reference a script file.
* Simple names for MPE command strings
This can be used as a way of running MPE programs from within HP
Desk, in the manner of UDCs. For example, you could install an
abbreviation that runs TDP/3000 simply by typing:
TDP
instead of:
:RUN TDP.PUB.SYS
_________________________________________________________________
NOTE For commands to run programs where an INFO string needs to
be supplied at run time, you should use the HP Desk EXECUTE
command rather than the MPE :RUN command. This enables
users to then supply the INFO string after the abbreviation
when they use the command. For example, installing an
abbreviation to run the MPE FCOPY command (EXECUTE FCOPY),
enables an HP Desk user to copy files by including the file
names in the command string, by typing:
FCOPY FROM=fromfile;TO=tofile
_________________________________________________________________
* Selective access to MPE commands
They are a good way of allowing users who are configured without
MPE capabilities in HP Desk to have access to some MPE commands.
As long as the user is given access to the abbreviation, they can
execute it (even though it may contain MPE commands, and they do
not possess sufficient capabilities). Again, a similar capability
can be achieved using script files.
MPE/iX 5.0 Documentation