View previous topic :: View next topic
|
Author |
Message |
srajendran
New User
Joined: 25 Sep 2006 Posts: 24
|
|
|
|
Hi,
Is there a way to override the function keys while displaying a panel ? Will i be able to use the PF7 and PF8 functional keys for any other function other than 'UP' n 'DOWN' ?? |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Use the KEYS command.
Note that this is panel (or group of panels) specific - so you'll need/get to set them separately.
On most screens, within the KEYS command, F7/F8 moves you between F1-12 and F13-24, but on the SDSF screens, the enter key does that - go figure! |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Why would you want to, especially if the panel is to accessed by other users? |
|
Back to top |
|
|
srajendran
New User
Joined: 25 Sep 2006 Posts: 24
|
|
|
|
Hi...
My requirement actually is to display a panel(with some info) when i hit the PF8 key.... I guess the KEYS command would modify the default setup itself.
I was looking if there could be any way to override the PF8 key only for my application.... |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I don't know if this is helpful but ...
In an ISPF dialog, you can retrieve the values for PFKey assignments from the ZPFnn variables in the PROFILE pool:
VGET (ZPF07 ZPF08) PROFILE
you can store their current values in other variables:
oldzpf07 = ZPF07
oldzpf08 = ZPF08
and update them to a different command:
ZPF07 = MYCMD
ZPF08 = END
VPUT (ZPF07 ZPF08) PROFILE |
|
Back to top |
|
|
|