| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| misi01 Advanced
 
 
 Joined: 02 Dec 2002
 Posts: 629
 Topics: 176
 Location: Stockholm, Sweden
 
 | 
			
				|  Posted: Thu Oct 30, 2014 2:54 am    Post subject: Entering long command for PF key in KEYS |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Fri Oct 31, 2014 1:44 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| Terry_Heinze Supermod
 
 
 Joined: 31 May 2004
 Posts: 391
 Topics: 4
 Location: Richfield, MN, USA
 
 | 
			
				|  Posted: Fri Oct 31, 2014 3:44 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| misi01 Advanced
 
 
 Joined: 02 Dec 2002
 Posts: 629
 Topics: 176
 Location: Stockholm, Sweden
 
 | 
			
				|  Posted: Sat Nov 01, 2014 5:25 am    Post subject: Difficult to explain without uploading a screen capture |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| misi01 Advanced
 
 
 Joined: 02 Dec 2002
 Posts: 629
 Topics: 176
 Location: Stockholm, Sweden
 
 | 
			
				|  Posted: Mon Nov 03, 2014 2:42 am    Post subject: Now that I'm at work |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| misi01 Advanced
 
 
 Joined: 02 Dec 2002
 Posts: 629
 Topics: 176
 Location: Stockholm, Sweden
 
 | 
			
				|  Posted: Mon Nov 03, 2014 7:39 am    Post subject: |   |  
				| 
 |  
				| Okay, after some experimentation, it turns out that you need to enter the command 
 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 |  | 
	
		|  | 
	
		| Terry_Heinze Supermod
 
 
 Joined: 31 May 2004
 Posts: 391
 Topics: 4
 Location: Richfield, MN, USA
 
 | 
			
				|  Posted: Mon Nov 03, 2014 9:24 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| William Collins Supermod
 
 
 Joined: 03 Jun 2012
 Posts: 437
 Topics: 0
 
 
 | 
			
				|  Posted: Mon Nov 03, 2014 10:29 am    Post subject: |   |  
				| 
 |  
				| So, some default somewhere. I see the same as misi01. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| misi01 Advanced
 
 
 Joined: 02 Dec 2002
 Posts: 629
 Topics: 176
 Location: Stockholm, Sweden
 
 | 
			
				|  Posted: Mon Nov 03, 2014 10:34 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		|  | 
	
		|  |