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 

Is there any way to trap the Down key though ISPF

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


Joined: 29 Nov 2005
Posts: 26
Topics: 9

PostPosted: Wed Oct 04, 2006 10:27 am    Post subject: Is there any way to trap the Down key though ISPF Reply with quote

Just like how you can trap the Function keys using .PFKEY is there any way to trap the Down, Up, PGDN and PGUP keys . Just out of curiosity.

Thanks in advance
Pknair
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed Oct 04, 2006 12:18 pm    Post subject: Reply with quote

there is no down, up, pgdn or pgup key in ISPF. That is a function of your emulator which maps these keys to PF8 and PF7. You can redefine what ISPF does with those keys by typing KEYS on any command line (though it gets more complicated with keylists which potentially define a different set of meanings for each screen and KEYLIST ON happens to be the default).

The DOWN and UP commands are built in to ISPF but defined in something called a command table (type ISP in option 3.9 and you will see the command table. you can override the command table, but I would not touch the basic commands like UP and DOWN because that will usually affect every application.

Use of .pfkey is strongly discouraged. That is because users can change their PF key definitions so you do not want to rely on a particular physical key. You should be checking the value that the key places in the command line of your applicaiton and if you need your own commands assigned to keys, run your applicaiton in its own 'application id' wherein you can define your own default key mappings.
Back to top
View user's profile Send private message Visit poster's website
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