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 

Entering long command for PF key in KEYS

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


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Thu Oct 30, 2014 2:54 am    Post subject: Entering long command for PF key in KEYS Reply with quote

Am having a problem with the difference between the ZKEYS and the KEYS command.

In the former case, there is plenty of space to enter a command such as
Code:

tso Altlib act appl(exec) da('misi01.private.code')

for, say PF23.

The KEYS command on the other hand has a entry field that is too short to accept the string above.

How do I get round this ?
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Oct 31, 2014 1:44 pm    Post subject: Reply with quote

misi01,

I can tell you the difference between zkeys and keys command but do not have a solution for your problem.

ZKEYS will always display the global key settings.

KEYS will always display the key settings for the screen you're viewing.
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Fri Oct 31, 2014 3:44 pm    Post subject: Reply with quote

Too short? Your TSO command is 51 characters long. My KEYS ispf command has room for 69 positions for any of the 24 F keys.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Sat Nov 01, 2014 5:25 am    Post subject: Difficult to explain without uploading a screen capture Reply with quote

I found an example of the layout I mean
Code:

 Key      Definition                             Format   Label
 
 F1 . . . HELP                                    SHORT   Help
 F2 . . . SPLIT                                   LONG    Split
 F3 . . . EXIT                                    SHORT   Exit
 F4 . . . return                                  LONG    return
 F5 . . . RFIND                                   SHORT   Rfind
 F6 . . . RCHANGE                                 SHORT   Rchange
 F7 . . . UP                                      LONG    Up
 F8 . . . DOWN                                    LONG    Down
 F9 . . . SWAP                                    LONG    Swap
 F10 . .  LEFT                                    LONG    Left
 F11 . .  RIGHT                                   LONG    Right
 F12 . .  retrieve                                SHORT   Cancel


In the example above, you can see (?) that the input field available is, say, for PF12, from retrieve to a character or two before SHORT.

If I do the same thing with ZKEYS, I see (not at work right now) the PFkey texts etc are under the F1-F12 text so there is more space to enter the command
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Mon Nov 03, 2014 2:42 am    Post subject: Now that I'm at work Reply with quote

Here is the screen layout for ZKEYS

Code:

                 PF Key Definitions and Labels - Primary Keys                 
Command ===>                                                                   
                                                                               
Number of PF Keys . . . 24                         Terminal type  . : 3278     
                                                                               
PF1 . . . HELP                                                                 
PF2 . . . SPLIT                                                               
PF3 . . . END                                                                 
PF4 . . . SPLTJOIN                                                             
PF5 . . . RFIND                                                               
PF6 . . . RCHANGE                                                             
PF7 . . . UP                                                                   
PF8 . . . DOWN                                                                 
PF9 . . . SWAP                                                                 
PF10  . . LEFT                                                                 
PF11  . . RIGHT                                                               
PF12  . . retrieve                                                             
                                                                               
PF1  label  . .            PF2  label  . .            PF3  label  . .         
PF4  label  . .            PF5  label  . .            PF6  label  . .         
PF7  label  . .            PF8  label  . .            PF9  label  . .         
PF10 label  . .            PF11 label  . .            PF12 label  . .         


As you can see, a lot more characters that can be used for the command
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Mon Nov 03, 2014 7:39 am    Post subject: Reply with quote

Okay, after some experimentation, it turns out that you need to enter the command
Quote:

keylist on

in order to get/see the panel with the long input fields for your keys. Ie, enter keys and you'll probably see the panel with the "limited" input fields. Enter keylist on and then keys again and you'll see the "extended" input fields.

This seems to beg the question .... if I have specific keys I ONLY want to use in (say) SDSF, I have to remember/muck around with keylist on/off each time I enter/exit SDSF. This seems somewhat clunky to me (or have I missed something ?)
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Mon Nov 03, 2014 9:24 am    Post subject: Reply with quote

I have my keylists turned off and this is what I get when keying: ===> keys:
Code:
SETTINGS         PF Key Definitions and Labels - Primary Keys
Command ===>
                                                                   More:     +
Number of PF Keys . . . 24                         Terminal type  . : 3278

PF1 . . . HELP
PF2 . . . SPLIT
PF3 . . . END
PF4 . . . RETURN
PF5 . . . RFIND
PF6 . . . RCHANGE
PF7 . . . UP
PF8 . . . DOWN
PF9 . . . SWAP
PF10  . . LEFT
PF11  . . RIGHT
PF12  . . RETRIEVE

PF1  label  . .            PF2  label  . .            PF3  label  . .
PF4  label  . .            PF5  label  . .            PF6  label  . .
PF7  label  . .            PF8  label  . .            PF9  label  . .
PF10 label  . .            PF11 label  . .            PF12 label  . .

_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
William Collins
Supermod


Joined: 03 Jun 2012
Posts: 437
Topics: 0

PostPosted: Mon Nov 03, 2014 10:29 am    Post subject: Reply with quote

So, some default somewhere. I see the same as misi01.
Back to top
View user's profile Send private message
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Mon Nov 03, 2014 10:34 am    Post subject: Reply with quote

Terry, agreed. As long as you have keylist off, you have the "larger" input fields to use.

I interpret (rightly or wrongly) that as soon as you have keylist off and enter keys, you're actually seeing the contents of zkeys.

I refer to the end of my previous append. Have I misunderstood that zkeys settings are used assuming you haven't specified anything in keys for the specific usage.

For example, let's assume I have defined PF4 for ZKEYS as being CMD1, whereas PF4 for KEYS in edit is SPLTJOIN. If I'm editing, then PF4 will result in spltjoin, whereas if I'm on the home panel or in SDSF, PF4 will perform CMD1 ?

In addition, If I want to run CMD1 while in edit, do I have to enter keylist off, then PF4 (and CMD1 is run), then keylist on whereupon PF4 will again run spltjoin.

Hope that made sense
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
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