View previous topic :: View next topic
|
Author |
Message |
bhuspin
New User
Joined: 13 Aug 2008 Posts: 26 Location: chennai
|
|
|
|
hi
I created a panel in that field names and values all are type(output) in panel definition.
Now i want to know how to use pf5(find) for that panel.
Can i use that key or cannot. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
bhuspin,
Have you created a panel? If yes this question has to be moved to the correct forum.
Quote: |
Now i want to know how to use pf5(find) for that panel. |
PF5 is normally used for refreshing (clearing the contents of all the fields in the panel) the screen.
As per your post what do you want to FIND using PF5? |
|
Back to top |
|
|
bhuspin
New User
Joined: 13 Aug 2008 Posts: 26 Location: chennai
|
|
|
|
i want to find field names in panels |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Hasn't this topic already been addressed here? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
PF5 is normally used for refreshing (clearing the contents of all the fields in the panel) the screen.
|
I have never seen that function. I doubt that is a normal use. What command is PF5 set to? |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Pedro,
Quote: |
I have never seen that function. I doubt that is a normal use |
I had posted my reply assuming that the panel is in REXX. In REXX panels you can set the PF keys such that each one can be used for a specific function. The functions are user-defined.
Quote: |
What command is PF5 set to? |
A sample code is given below.
Code: |
ADDRESS "ISPEXEC"
"ISPEXEC VGET (ZPFKEY) ASIS"
IF ZPFKEY = 'PF05' THEN
DO
SAY 'exiting from the tool......'
EXIT(0)
END |
It can be used for any specific function and it all depends on our code. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Hmmmm... "REXX Panel".... is this a new component of REXX?
O. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
O.
Quote: |
"REXX Panel".... is this a new component of REXX?
|
I meant "ISPF Panel" displayed using "REXX". Sorry if i had used the wrong terms |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
PF5 is normally used for refreshing (clearing the contents of all the fields in the panel) the screen. |
Sorry to nitpick, but your sample code exits from the application rather than refreshing the screen. It cannot be normal usage if even you do not use it like that. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Pedro,
Quote: |
Sorry to nitpick, but your sample code exits from the application rather than refreshing the screen |
Yes. That was just an example.
Quote: |
It cannot be normal usage if even you do not use it like that. |
Agreed.
From my previous post:
Aaru wrote:
Quote: |
It can be used for any specific function and it all depends on our code. |
That should answer. |
|
Back to top |
|
|
|