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 

Function Key problem in panels.

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


Joined: 29 Jan 2006
Posts: 71
Topics: 22

PostPosted: Tue Feb 14, 2006 2:27 am    Post subject: Function Key problem in panels. Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


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

PostPosted: Tue Feb 14, 2006 12:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
ha.rajamohamed
Beginner


Joined: 29 Jan 2006
Posts: 71
Topics: 22

PostPosted: Tue Feb 14, 2006 12:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


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

PostPosted: Tue Feb 14, 2006 5:08 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
ha.rajamohamed
Beginner


Joined: 29 Jan 2006
Posts: 71
Topics: 22

PostPosted: Wed Feb 15, 2006 2:04 am    Post subject: Reply with quote

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
View user's profile Send private message
ha.rajamohamed
Beginner


Joined: 29 Jan 2006
Posts: 71
Topics: 22

PostPosted: Wed Mar 01, 2006 2:00 am    Post subject: Reply with quote

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
View user's profile Send private message
ha.rajamohamed
Beginner


Joined: 29 Jan 2006
Posts: 71
Topics: 22

PostPosted: Wed Mar 01, 2006 8:47 am    Post subject: Reply with quote

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
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Wed Mar 15, 2006 4:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
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