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 

Functional Keys in REXX

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
ha.rajamohamed
Beginner


Joined: 29 Jan 2006
Posts: 71
Topics: 22

PostPosted: Wed Feb 01, 2006 2:09 am    Post subject: Functional Keys in REXX Reply with quote

I need to know is there any way which we can trap the functional keys in REXX / PANELS.
I know we can trap by using .PFKEY in PANELS, but my requirement is to disable the functional keys.

Like in the panel if i am browsing it (Jumping one panel to another), and supppose funtional key "FS2" is pressed, the panel is splitting up as in the normal environment. I don't want this to happen. Like I need to activate only the keys I suppose to use inside the Panel and I need to diable the rest.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Feb 01, 2006 5:28 am    Post subject: Reply with quote

ha.rajamohamed,

Please search before posting. check these links

http://www.mvsforums.com/helpboards/viewtopic.php?t=2807&highlight=pf+keys
http://www.mvsforums.com/helpboards/viewtopic.php?t=637&highlight=pf+keys
http://www.mvsforums.com/helpboards/viewtopic.php?t=292&highlight=pf%2A

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Wed Feb 01, 2006 10:21 am    Post subject: Reply with quote

ha.rajamohamed, if your main intention is to prevent your user spiltting the screen, you can issue ISPEXEC CONTROL SPLIT DISABLE (but remember to ENABLE it afterwards).
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
ha.rajamohamed
Beginner


Joined: 29 Jan 2006
Posts: 71
Topics: 22

PostPosted: Fri Feb 03, 2006 4:34 am    Post subject: Reply with quote

Hi Mervyn, thanks for your information, but I want to diable all the keys, except F3 (exit, handling in the rexx panel) and F9 (ordinary swap).

Kolusu, thanks for your search liks , but i count not figure out my case in the search help.
_________________
RAJA MOHAMED
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Fri Feb 03, 2006 10:19 am    Post subject: Reply with quote

If your panel provides a ===> command input area then what are you going to do if they simply enter SPLIT or whatever other command(s) they have their PFKey set to? Rolling Eyes
Messing with other people's PFKey settings or any other profile settings may not make you any friends. Evil or Very Mad
The link Kolusu provided on setting up an application keylist is probably the most friendly way to do what you want. Although users can disable keylists. Confused
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Fri Feb 03, 2006 10:32 am    Post subject: Reply with quote

The thing I'm curious about is why? After all, there aren't all that many commands that one can enter on normal non-scrollable panel display. Seems like the only commands that would actually affect the panel are HELP, END, SWAP, and SPLIT, (which can be disabled), and maybe RETRIEVE. CURSOR, UP, DOWN, LEFT and RIGHT, won't do anything.
Back to top
View user's profile Send private message
semigeezer
Supermod


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

PostPosted: Fri Feb 03, 2006 12:28 pm    Post subject: Reply with quote

Run under your own application id. Then you can cotnrol the keys however you want to without affecting other applications or ISPF itself. And adding CMD() to the )BODY statement will remove the ability to access command table entries from what would otherwise be the command line. But... as superk and taltyman said, by removing the standard PF keys from the application, you will be removing standard behaviour that ISPF usres expect like cursor, retrieve, cretrieve and help.
Back to top
View user's profile Send private message Visit poster's website
ha.rajamohamed
Beginner


Joined: 29 Jan 2006
Posts: 71
Topics: 22

PostPosted: Fri Feb 03, 2006 1:37 pm    Post subject: Reply with quote

okie, thanks for the inputs
_________________
RAJA MOHAMED
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