OCS windows have full support for 24 function keys. You can set function keys for each OCS window to suit your requirements. If you are running two OCS windows, each window can have a separate set of function key definitions.
A variety of function keys are available:
The OCS function keys are set to system default values when you enter OCS.
When you redefine a function key, its defined value applies only to the function key settings for your current window, and remains in effect only while your current window is active.
When you press an immediate function key, its assigned value is immediately entered into the system, without the need for further action by you.
Note: To discover the assignment of each function key, use the PF LIST command.
A conversational function key lets you modify its action before you release it for processing. When you press a conversational function key, its assigned value is displayed in the command line, so you can add to or modify the text. Press Enter to run the command after you modify it.
A prefix function key assigns a set value as a prefix to the line of text where the cursor is located when that function key is pressed (that is, the command line or any other line in the OCS window display area).
Example: Prefix and Suffix Function Keys
The F6 function key is defined using the following command:
PF6 PREF,MSG USER1+
When you enter a message in the command line saying: SYSTEM DOWN AT 17.00, and press F6, the following command is generated and entered:
MSG USER1 SYSTEM DOWN AT 17.00
Note: The plus sign (+) leaves a blank after the text before concatenating it with the entered string.
A suffix function key acts like a prefix key, but adds its value to the end of the line of text where your cursor is positioned (that is, the command line or any other line in the OCS window display area).
| Copyright © 2012 CA. All rights reserved. |
|