Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Overriding Functional keys in a panel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
srajendran

New User


Joined: 25 Sep 2006
Posts: 22

PostPosted: Thu Feb 14, 2008 6:59 pm    Post subject: Overriding Functional keys in a panel
Reply with quote

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
View user's profile Send private message

Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Thu Feb 14, 2008 7:04 pm    Post subject:
Reply with quote

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
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Feb 14, 2008 7:08 pm    Post subject: Reply to: Overriding Functional keys in a panel
Reply with quote

Why would you want to, especially if the panel is to accessed by other users?
Back to top
View user's profile Send private message
srajendran

New User


Joined: 25 Sep 2006
Posts: 22

PostPosted: Thu Feb 14, 2008 7:12 pm    Post subject: Reply to: Overriding Functional keys in a panel
Reply with quote

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
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Feb 14, 2008 7:20 pm    Post subject: Reply to: Overriding Functional keys in a panel
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts the use of 'B3'x character in a panel Pedro TSO/ISPF 1 Thu Feb 16, 2017 3:09 am
No new posts Design of ISPF panel prino TSO/ISPF 2 Wed Jan 25, 2017 10:31 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us