MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Turn off Function Keys

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Feb 19, 2003 12:45 am    Post subject: Turn off Function Keys Reply with quote

I want to turn off the function keys which is displayed at the bottom of the mainframe window. The command
Code:
"ISPEXEC SELECT PGM(ISPOPF) PARM(OFF)"
is working fine.

I want the function keys to be hidden in my PANEL. But on on other Screens. ie, When I use the SWAP Command, the function keys should be displayed in the other window. Is this Possible ?

Or,

In my system, I have the F9 function key mapped to SWAP Command. Can I capture this using .ZPFKEY variable whenever I press F9 Key. But the control didn't come back to the rexx routine whenever I press this key. I directly executed the SWAP command and displayed the second window.

Please give me your suggesstions.
Phantom
Back to top
View user's profile Send private message
sriramla
Beginner


Joined: 22 Feb 2003
Posts: 74
Topics: 1

PostPosted: Sat Feb 22, 2003 1:08 am    Post subject: Reply with quote

I'm not sure about selective display/non-display of PF Keys. For your second question on capturing the PFKEY pressed, the "ordinary" panels
can't help much. They can capture only PF3/ENTER keys only. Sad

It you really want to capture and process all PF keys by the application, define a dummy dynamic area and then throw the panel. Now the panel will not wait for PF3 or ENTER Key to be pressed. The moment any attention key is pressed, it will be stored in ZPFKEY. The following code can then be used to capture the key pressed.

ADDRESS ISPEXEC "VGET ZPFKEY"
say ZPFKEY

Hope this solves ur problem. Wink
Sriram.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Sat Feb 22, 2003 12:58 pm    Post subject: Reply with quote

You can't show keys on one split screen and not on others., That is a global setting. Intercepting keys probably has more to do with if your panel has a command line. PF keys are generally intercepted in response to entries in the command table for your application id, in conjunction with your KEYS or keylist settings. If you don't have a command line ( because you use )BODY CMD() ) then the PF keys generally do nothing. THere may be some system keys (swap, split, etc) that don't care if there is a command line or not.
Back to top
View user's profile Send private message Visit poster's website
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Sun Feb 23, 2003 9:18 am    Post subject: Reply with quote

If you want to selectively turn off PFKEYS for 1 application only, invoke it with the NEWAPPL parameter then clear out the PFKEY settings in that application as follows:


SET ZPF09 =
ADDRESS ISPEXEC
"VPUT ZPF09 PROFILE"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group