NET/MASTER Management Services (MS) Operator's Guide
Customizing Function Keys
Operator Control Services (OCS)
4–20 106379 Tandem Computers Incorporated
Table 4-5. Types of Function Key Assignments (Page 2 of 2)
Type Definition
PREF, text [+] Specifies a prefix function key assignment.
Pressing a prefix function key prefixes
text
to whatever text is currently
displayed on the OCS command input line and executes the concatenated
string immediately. Including a plus sign (+) adds a blank to the end of
text
before it is prefixed to the currently displayed text. For example, the
following command causes “MSG ALL” followed by a space to be prefixed
to whatever text has been entered on the OCS command input line when
you press the PF14 function key on a 3270 keyboard:
FK PF14 PREF,MSG ALL+
So, if you have entered
SYSTEM DOWN AT 17:00
on the OCS command input line, pressing PF14 causes the command
MSG ALL SYSTEM DOWN AT 17:00
to be executed immediately.
SUFF, [+] text Specifies a suffix function key assignment.
Pressing a suffix function key appends
text
to whatever text is currently
displayed on the OCS command input line and executes the concatenated
string immediately. Including a plus sign (+) adds a blank to the beginning
of
text
before it is appended to the currently displayed text. For example,
the following command causes “FROM SYSOP1” preceded by a space to
be appended to whatever text has been entered on the OCS command
input line:
FK F12 SUFF,+FROM SYSOP1
So, if you have entered
MSG ALL SYSTEM DOWN AT 17:00
on the OCS command input line, pressing F12 causes the command
MSG ALL SYSTEM DOWN AT 17:00 FROM SYSOP1
to be executed immediately.
You can assign a series of commands to a single function key by using two semicolons
(;;) to separate the commands. For example, to assign the F2 function key to first clear
all roll-delete messages from your current window and then display information about
users, enter:
FK F2 IMM,K;;SHOW USERS
If you did not include the second semicolon, NonStop NET/MASTER MS would treat
the above example as two separate commands. The F2 function key would only be
assigned to clear roll-delete messages from your current window. (The SHOW USERS
command would execute only once, when you initially issue the FK command.) Refer
to the NonStop NET/MASTER MS Command Reference Manual for the complete syntax
of the FK command.