Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Default Keylist in ISPF Panel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Abhishek Saurabh

New User


Joined: 25 Aug 2010
Posts: 23
Location: Pune, India

PostPosted: Fri Jun 01, 2012 5:36 pm    Post subject: Default Keylist in ISPF Panel
Reply with quote

Can somebody please tell me the name of the keylist that a panel created by me will use by default?
Currently, I know that if Panel section is included in the definition of the PANEL, but keylist not specified, it uses the default keylist called "ISPKYLST".
But, in case the panel definition does not contain a Panel section at all, then what is the name of the default keylist used?
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jun 01, 2012 7:02 pm    Post subject:
Reply with quote

dont remember,
don't want to look is up either,
but,
i think i remember something about
if there is not an explicit trap
for a pf key,
then you can not trap the pf key .

normally i have a routine that displays a message
(both a short message and a pf1 message which is a little more helful)
Code:

only pf keys fb3 and pf4 are active


the nice thing about short and long messages
is that you do not have to deal with popups or anything.
the facility for displaying short, concise, information
about your little sub-system
you only have to populate
the zed--short-message and the zed---long-message
and
then EXIT.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Fri Jun 01, 2012 9:18 pm    Post subject: Reply to: Default Keylist in ISPF Panel
Reply with quote

Quote:
it uses the default keylist called "ISPKYLST"


I do not recall that that is the way it works. I searched for ISPKYLST and I found the reference, but I could not get it to work as described there.

I thought that if no keylist is specified that no keylist is used. It uses the ZPFKxx variables in your xxxxPROF profile member. You can display them using the KEYS command.

On a panel without keylists, the KEYS command displays panel ISPOPT3E. On a panel with keylists, the KEYS command displays panel ISPKLUCH.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Fri Jun 01, 2012 9:20 pm    Post subject: Reply to: Default Keylist in ISPF Panel
Reply with quote

Quote:
Can somebody please tell me the name of the keylist that a panel created by me will use by default?


You should be able to display your panel, then issue the KEYLIST command. It will display the active keylist.
Back to top
View user's profile Send private message
Abhishek Saurabh

New User


Joined: 25 Aug 2010
Posts: 23
Location: Pune, India

PostPosted: Mon Jun 04, 2012 11:39 am    Post subject: Reply to: Default Keylist in ISPF Panel
Reply with quote

Hi..
I would just like to mention that I am not facing any practical/programtic problem as such, it's more of a theoritical need to know the default panel name.
Now, let me tell what I have found till now. When I display a panel with a Panel Section definition, but no keylist specified, it uses the default keylist "ISPKYLST". I confirmed this by giving the KEYLIST command, which showed ISPKYLST as the active keylist. When I give the KEYS command, it shows me the details of all the keys defined in the keylist.
When I display a panel with no Panel Section at all, it uses some other keylist by default. In this case, if I give the KEYLIST command, it shows me a blank list, i.e. no keylist names. When I give the KEYS command, it shows me the details of keys (all the keys are active), but it does not mention the keylist name.
So, the question remains is that which keylist is this??
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Mon Jun 04, 2012 7:26 pm    Post subject: Reply to: Default Keylist in ISPF Panel
Reply with quote

Repeating:
Quote:
I thought that if no keylist is specified that no keylist is used.


In the situation you describe, with no )PANEL tag, that no keylist is used. The name for it is 'no keylist'.
Back to top
View user's profile Send private message
Abhishek Saurabh

New User


Joined: 25 Aug 2010
Posts: 23
Location: Pune, India

PostPosted: Mon Jun 04, 2012 8:06 pm    Post subject: Reply to: Default Keylist in ISPF Panel
Reply with quote

Do you mean "No Keylist" is the name of the default keylist?
I am assuming that even when )PANEL tag is not given some keylist is active because keys like F1, F2, F3 do work. I guess you are suggesting that this keylist has the name "no keylist".
An extract from ISPF User's Guide Volume2:
"If you enter the KEYS command on the command line of any panel.... If you are not using keylists (that is, keylists are disabled) or if there is no keylist associated with the panel from which you enter the KEYS command, the PF Key Definitions and Labels panel (ISPOPT3D) is displayed."
ISPOPT3D is the name of panel. This doesn't carry the keylist name but shows all the key labels and definitions (PF1 - PF24).
Shall I assume that this panel is meant to show all the key definitions and labels, however all of them may not be active??
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Mon Jun 04, 2012 10:00 pm    Post subject: Reply to: Default Keylist in ISPF Panel
Reply with quote

I guess we need a history lesson...

When ISPF was first invented (I do not know the date, lets pretend 1977) there was not a concept of keylists. The PF key settings were stored as variables in the ISPF profile. Variables ZPFxx have the command that is issued when press the PFxx key. Variable ZPFLxx has the label that is displayed when PFSHOW is used.

To this day, for downward compatibility, panels do not need to use a keylist. In the case where no )PANEL tag is used, the panel will not use a keylist. Instead, the commands used are those defined through ZPFxx variables. I repeat - there is not a keylist.

Around 1991, keylists were introduced. Keylists are saved as tables in the ISPTLIB concatenation. For each application, there is a xxxxKEYS member. The keylist member is a table containing a row for each named keylist used in that application.

Keylists and ZPFxx variables are distinctly separate and different types of objects. A panel does not need to use a keylist!

Think of keylists as a data object. You are asking 'what object is used when no object is specified and no object is requested?'. The answer is that there is not any keylist object used. Instead of a keylist, it relies on the 1977-era PF key definitions, which are not stored as a keylist object.

Quote:
I am assuming that even when )PANEL tag is not given some keylist is active because

Incorrect, there is not a keylist active.

Quote:
Shall I assume that this panel is meant to show all the key definitions and labels, however all of them may not be active??


I believe all such keys are active. Actually, I am not sure what you mean by 'active'. You will probably see PF5=RFIND, but it is only valid in certain places. However, pressing PF5 does result in the command being issueed, it just may not work on your private panel. You might get:
Code:
ISPG050 The command or function key entered is not defined.


If you are using a keylist and press a key that is not defined, you see a slightly different behavior:
Code:
ISPG053 The command or function key entered is not defined.


My apologies for my "name for it is 'no keylist'" comment which might have confused you.
Back to top
View user's profile Send private message
Abhishek Saurabh

New User


Joined: 25 Aug 2010
Posts: 23
Location: Pune, India

PostPosted: Tue Jun 05, 2012 10:31 am    Post subject:
Reply with quote

Hi Pedro,

Thanks a lot for the detailed explanation.
This is definitely helpful.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Tue Jun 05, 2012 6:45 pm    Post subject: Reply to: Default Keylist in ISPF Panel
Reply with quote

FYI: I was part of the Beta program for ISPF V4. While I had access to ISPF developers, I suggested that we needed more granular definitions of PF keys. They came up with the concept of keylists.

I like keylists. But many people do not. Prior to keylists, it was fairly easy to customize your PF keys. But with keylists, it is a nuisance to have to change the key setting in so many places. For example, I like to have PF23 to be defined as 'TSO'.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1715
Location: UK

PostPosted: Tue Jun 05, 2012 11:39 pm    Post subject:
Reply with quote

Pedro - I blame YOU for all those frustrating inactive keys and so on! icon_evil.gif icon_biggrin.gif
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Wed Jun 06, 2012 1:43 am    Post subject: Reply to: Default Keylist in ISPF Panel
Reply with quote

Quote:
I blame YOU for


Doh! I outted myself.

I balance that out with dozens of other suggestions that people like. icon_lol.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Jun 06, 2012 9:27 am    Post subject:
Reply with quote

Now that's great - Nice to have You here, Pedro.

Regards,
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm
No new posts Rexx Panel Validation ajithajt CLIST & REXX 6 Sun Jul 17, 2016 10:50 pm
No new posts ISPF Tables Creation newsysprg TSO/ISPF 6 Wed Jul 13, 2016 2:21 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us