View previous topic :: View next topic
|
Author |
Message |
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
I want to turn of PFkeys apart from PF09 key which are active in my ispf panel by default
would like to know what r the steps need to follow in my panel definition
I come to know only
Code: |
)panel keylist(off) |
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Define a keylist which only has PF09 defined. |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
even if we want to turn of all the PFkeys then what steps required apart from above |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
To turn off keys, you can simply PFSHOW OFF.
From within dialog, you can either:
Code: |
ADDRESS ISPEXEC "SELECT PGM(ISPOPF) PARM(PFK,OFF)" |
or
Code: |
STACK = "PFSHOW OFF"
ADDRESS ISPEXEC "DISPLAY PANEL(panel_name) COMMAND(STACK)" |
O. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
I read the question differently. This is how I understood it: How to disable all keys except PF09?
PFSHOW OFF will not disable the keys, but only will stop showing them. You can still press the keys.
To implement:
1. define keylist with only PF09 defined.
2. edit the panel and refer to the keylist:
Code: |
)panel keylist(mykeys01) |
When you press one of the keys, you get a message like: "key not active" |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
pedro,
You got me exactly what i need
Code: |
/*ADDRESS ISPEXEC "DISPLAY PANEL(GFCMEN)" */ |
The above code was replaced with the below code in my rexx pgm which displays ispf panel
Code: |
STACK = "PFSHOW OFF"
ADDRESS ISPEXEC "DISPLAY PANEL(GFCMEN) COMMAND(STACK)" |
but panel is not displaying.
could you please provide me any link or code to acheive the below steps,
[Text]
To implement:
1. define keylist with only PF09 defined.
2. edit the panel and refer to the keylist: [/Text] |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
1. To define a keylist, type KEYLIST in the command line and press Enter. Create a keylist with a name that is unique to you. Press F1 to get help.
2. edit your panel and refer to your newly created keylist. Your panel should have a line like this, but use the name of your new keylist:
Code: |
)panel keylist(mykeys01) |
If you use PFSHOW OFF, your PF9 will not display.
Quote: |
but panel is not displaying. |
You have to provide more details or error messages. |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
Quote: |
To define a keylist, type KEYLIST in the command line and press Enter. Create a keylist with a name that is unique to you. Press F1 to get help. |
Is it not possible to do through ispf pannel before it displayed |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
Is it not possible to do through ispf panel before it displayed |
It is not clear what you are asking.
To define a keylist, type KEYLIST in the command line and press Enter. A panel will be displayed that allows you to work with keylists. One of the actions is 'New'. Create a keylist with a name that is unique to you. Press F1 to get help. |
|
Back to top |
|
|
|