View previous topic :: View next topic |
Author |
Message |
ha.rajamohamed Beginner
Joined: 29 Jan 2006 Posts: 71 Topics: 22
|
Posted: Wed Feb 01, 2006 2:09 am Post subject: Functional Keys in REXX |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
Mervyn Moderator

Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Wed Feb 01, 2006 10:21 am Post subject: |
|
|
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 |
|
 |
ha.rajamohamed Beginner
Joined: 29 Jan 2006 Posts: 71 Topics: 22
|
Posted: Fri Feb 03, 2006 4:34 am Post subject: |
|
|
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 |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Fri Feb 03, 2006 10:19 am Post subject: |
|
|
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?
Messing with other people's PFKey settings or any other profile settings may not make you any friends.
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.  |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Fri Feb 03, 2006 10:32 am Post subject: |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Feb 03, 2006 12:28 pm Post subject: |
|
|
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 |
|
 |
ha.rajamohamed Beginner
Joined: 29 Jan 2006 Posts: 71 Topics: 22
|
Posted: Fri Feb 03, 2006 1:37 pm Post subject: |
|
|
okie, thanks for the inputs _________________ RAJA MOHAMED |
|
Back to top |
|
 |
|
|