IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to turn off PFkeys in my developemed panel


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Sat Dec 20, 2008 4:14 pm
Reply with quote

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

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Dec 22, 2008 1:42 am
Reply with quote

Define a keylist which only has PF09 defined.
Back to top
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Mon Dec 22, 2008 1:38 pm
Reply with quote

even if we want to turn of all the PFkeys then what steps required apart from above
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Dec 22, 2008 2:01 pm
Reply with quote

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

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Dec 22, 2008 9:09 pm
Reply with quote

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

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Mon Dec 29, 2008 3:50 pm
Reply with quote

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

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Dec 29, 2008 10:42 pm
Reply with quote

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

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Tue Dec 30, 2008 12:00 pm
Reply with quote

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

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Tue Dec 30, 2008 9:41 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Call program, directly from panel CLIST & REXX 9
No new posts panel creation question TSO/ISPF 12
No new posts Panel variable model line TSO/ISPF 3
No new posts REXX table content on panel will be r... CLIST & REXX 6
Search our Forums:

Back to Top