View previous topic :: View next topic |
Author |
Message |
ha.rajamohamed Beginner
Joined: 29 Jan 2006 Posts: 71 Topics: 22
|
Posted: Tue Feb 14, 2006 2:27 am Post subject: Function Key problem in panels. |
|
|
In my Panel I have associated the function key PF05 to invoke another panel and It works fine when iam invoking the main program by using EX command in the left of the program name and I am getting an error the message |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Tue Feb 14, 2006 12:03 pm Post subject: |
|
|
What do you mean by "In my Panel I have associated the function key PF05 to invoke another panel"?
Function keys should be assigned a string which comes in to your program as a command on a command line. Then the panel logic or program works with the command. You should never be checking for specific keys in either your program or your panel logic. |
|
Back to top |
|
 |
ha.rajamohamed Beginner
Joined: 29 Jan 2006 Posts: 71 Topics: 22
|
Posted: Tue Feb 14, 2006 12:10 pm Post subject: |
|
|
semigeezer,
I am invoking a panel by checking for PFKEY5 = 'PF05'. This is not working for me when I execute the Rexx program from the command prompt as |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Tue Feb 14, 2006 5:08 pm Post subject: |
|
|
I don't know what PFKEY5 is. All ISPF supplied variables start should with the letter Z. You'll need to give more info about what you are doing for us to be able to get an idea of what is happening. |
|
Back to top |
|
 |
ha.rajamohamed Beginner
Joined: 29 Jan 2006 Posts: 71 Topics: 22
|
Posted: Wed Feb 15, 2006 2:04 am Post subject: |
|
|
Okie,
On more elaborately...
I am assigning PFKEY5 a Variable/String assigned with Function keys in Panel as below
) PROC
&PFKEY5 = .PFKEY
Inside Rexx program I am using this PFKEY5 = 'PF05' for trapping PF05 functional Key.
Now the Issue is, this PF05 key is not working if I invoke the Rexx program as |
|
Back to top |
|
 |
ha.rajamohamed Beginner
Joined: 29 Jan 2006 Posts: 71 Topics: 22
|
Posted: Wed Mar 01, 2006 2:00 am Post subject: |
|
|
I have removed the PF05 logic completely.
Now my new issue is PF09 is not working in my panels. For Swaping btw screens.
But PF02 is working as default. Please can anyone help me.
When I searched for the above issue I got something like
)PANEL KEYLIST(ISRHELP,ISR)
)PANEL KEYLIST(ISRSNAB ISR)
How to use this KEYLIST |
|
Back to top |
|
 |
ha.rajamohamed Beginner
Joined: 29 Jan 2006 Posts: 71 Topics: 22
|
Posted: Wed Mar 01, 2006 8:47 am Post subject: |
|
|
ha.rajamohamed wrote: | )PANEL KEYLIST(ISRHELP,ISR)
)PANEL KEYLIST(ISRSNAB ISR)
How to use this KEYLIST |
I found the Soution. The above key list are system defined. I have used the above keylist in my panel, which is having the function for PF09 as swap, atlast it worked.
Thanks. |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Wed Mar 15, 2006 4:58 pm Post subject: |
|
|
It would be interesting sometime to see the end product of all of this. I'm curious as to what benefit all of this adds to the end user of the application. |
|
Back to top |
|
 |
|
|