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
 

 

Activate the PF10 and PF11 during TBDISPL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Activate the PF10 and PF11 during TBDISPL
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: 8593
Location: Back in jolly old England

PostPosted: Mon Aug 04, 2008 7:01 pm    Post subject:
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

Senior Member


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

PostPosted: Mon Aug 04, 2008 10:01 pm    Post subject: Reply to: Activate the PF10 and PF11 during TBDISPL
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    Post subject: Re: Reply to: Activate the PF10 and PF11 during TBDISPL
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: 2360
Location: Israel

PostPosted: Tue Aug 05, 2008 10:36 am    Post subject:
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

Senior Member


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

PostPosted: Tue Aug 05, 2008 9:54 pm    Post subject: Reply to: Activate the PF10 and PF11 during TBDISPL
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    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 Order to search CLIST if using ALTLIB... jackzhang75 CLIST & REXX 11 Thu Apr 23, 2015 8:43 pm
No new posts Trouble Scrolling TBDISPL in my Panel thesumitk TSO/ISPF 6 Mon Sep 09, 2013 3:03 pm
No new posts Forcing a single (or no) selection wi... PeterHolland TSO/ISPF 5 Thu Aug 30, 2012 4:15 pm
No new posts TBDISPL for width > 80 ravikanth TSO/ISPF 6 Thu Feb 17, 2011 2:08 am
No new posts how to use pf10 pf11 in clist. kacks7 TSO/ISPF 5 Sat Sep 25, 2010 12:04 pm


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