Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 2 Building a Screen : Task D: Specify PF Keys

Task D: Specify PF Keys
Assigning PF Keys
PF keys, also referred to as function keys, can be specified as follows:
1.
2.
The @TMP_FCNKEYS table appears. You can use this table to define the function keys that appear on the FCNKEY line at the bottom of the screen you are defining.
3.
Refer to Specifying Function Key Attributes below for information on specifying attributes for function keys.
4.
You are returned to your screen definition.
Specifying Function Key Attributes
To specify function key attributes, make the following entries:
 
Type the name of the primary command associated with the PF key, if required. You must define a primary command field in one of your screen tables to use this entry.
Type the name of the rule. The rule is invoked when the PF key is used. The rule contains code for the function associated with the PF key.
Place the PF key in a position on the message line. Type a positive integer or leave it blank. The default is zero.
 
The PROCESS_FCNKEY tool can be used to process the PF keys that you define in this manner. For more information on PROCESS_FCNKEY, refer to TIBCO Object Service Broker Shareable Tools.
@TMP_FCNKEYS Table Example
The following example illustrates the @TMP_FCNKEYS table. To view additional fields, press PF11.

 
EDITING TABLE : @TMP_FCNKEYS
COMMAND ==>
SCROLL: P
PF_KEY NAME COMMAND ROUTINE
_ ----- ---------------- ---------------- ----------------
_ PF12 EXIT EXIT_DISPLAY
_ PF13 PRINT PRINT_SCREEN
_ PF3 SAVE SAVE_INFO
_ PF9 TOTAL TOTAL_EXP
PFKEYS: 4=INSERT 16=DELETE 5=FIND NEXT 6=CHANGE NEXT 18=EXCLUDE 3=SAVE

 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved