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

Activate the PF10 and PF11 during TBDISPL


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

New User


Joined: 27 Nov 2007
Posts: 14
Location: China

PostPosted: Mon Aug 04, 2008 2:48 pm
Reply with quote

I invoke the TBDISPL service to show some data. I wonder is there's anyway to redefine the function keys. As we know, the PF07 and PF08 are used for page up and page down. Can we redefine these function keys?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Aug 04, 2008 7:01 pm
Reply with quote

Here's the result of a search I done for you on a similar topic
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Mon Aug 04, 2008 10:01 pm
Reply with quote

That thread ends with:
Quote:
It still doesn't work

---
Quote:
I invoke the TBDISPL service to show some data. I wonder is there's anyway to redefine the function keys. As we know, the PF07 and PF08 are used for page up and page down. Can we redefine these function keys?


Can you clarify your question? Are you trying to change PF07 to something other than UP?

What happens when you use the KEYS command? It should let you change the meaning of the keys.
Back to top
View user's profile Send private message
Furion

New User


Joined: 27 Nov 2007
Posts: 14
Location: China

PostPosted: Tue Aug 05, 2008 7:37 am
Reply with quote

Furion wrote:

Can you clarify your question? Are you trying to change PF07 to something other than UP?

What happens when you use the KEYS command? It should let you change the meaning of the keys.


In fact I want to know how to control the function keys in rexx program.
As we know, PF07 is used for page up and PF10 is not defined defaultly.
All that is defined by the system. Suppose now I want the PF07 to do some other things or I want PF10 to scroll left in my rexx.

I have code &PFKEY=&ZVERB in my panel definition. And I handle the PFKEY in my rexx program like if PFKEY='LEFT' then do...
But it does not work fine.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Aug 05, 2008 10:36 am
Reply with quote

Take a look at the )PANEL section with the KEYLIST keyword.

O.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Tue Aug 05, 2008 9:54 pm
Reply with quote

I had asked about the KEYS command... it gives insight in how the keys are defined.

When you issue KEYS and the resulting panel has title of "PF KEY DEFINITIONS AND LABELS", then:
- just use VPUT to set ZPF07.

When you issue KEYS and the resulting panel has title of "abc Keylist xyz Change", then:
- the panel is defined with )PANEL KEYLIST(xyz), and it is harder to change. In that case, you should rebuild the keylist definitions. I do not think you can change it easily with rexx.

--------

Quote:
In fact I want to know how to control the function keys in rexx program.

Actually, I recommend against that approach. ISPF lets users customize their PF key settings. Users are irritated if their key definitions are changed by the program. The developer should set the keys properly when the an application is created. The key definitions are delivered when the product is installed. Afterwards, the user can change the keys and the application should not care how the user customizes. But if the user cripples the application, they would need to remove their customization.
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 How do I activate/deactivate a pipeli... CICS 1
No new posts TBSARG - Deleting the search criteria... TSO/ISPF 6
No new posts Order to search CLIST if using ALTLIB... CLIST & REXX 11
No new posts Trouble Scrolling TBDISPL in my Panel TSO/ISPF 6
No new posts Forcing a single (or no) selection wi... TSO/ISPF 5
Search our Forums:

Back to Top