Page 1 of 2

How to execute PF keys through rexx?

PostPosted: Fri Apr 26, 2013 8:23 am
by srinugsr2020
Can somebody help me how to execute PF keys through rexx code? I want to execute page down ...

Re: How to execute PF keys through rexx?

PostPosted: Fri Apr 26, 2013 12:08 pm
by Pandora-Box
If you could explain what you are trying to achieve and where you are facing the issue

we could assist you on that

Re: How to execute PF keys through rexx?

PostPosted: Fri Apr 26, 2013 1:06 pm
by NicC
Just make sure that the keylist you are using has F7 & F8 activated. If not, then activate them (by the normal means).

Re: How to execute PF keys through rexx?

PostPosted: Wed May 01, 2013 2:26 am
by Pedro
I want to execute page down ...

You need to describe what environment you are in. And how is the rexx program getting executed.

Re: How to execute PF keys through rexx?

PostPosted: Tue May 28, 2013 1:27 am
by chant94
Same problem for me.
PF1 works with .HELP={tutorpanel}
PF3 works after adding )PANEL at the beginning of each panel
but PF7 PF8 don't work in the scrolling panels
How can I activate them ?

Re: How to execute PF keys through rexx?

PostPosted: Tue May 28, 2013 2:30 am
by MrSpock
Are your panels scrollable? They'll be scrollable if they contain a )Model statement and are tied into an ISPF Table, or if they contain a scrollable Dynamic Area.

Re: How to execute PF keys through rexx?

PostPosted: Tue May 28, 2013 5:27 am
by Akatsukami
You cannot capture PF keys through pure Rexx; as the other sempai posting in this thread imply, you must use ISPF services.

Re: How to execute PF keys through rexx?

PostPosted: Tue May 28, 2013 6:51 pm
by Pedro
but PF7 PF8 don't work in the scrolling panels

Show your panel definition. And show use your PF keys.

Re: How to execute PF keys through rexx?

PostPosted: Tue May 28, 2013 6:53 pm
by Pedro
And
You need to describe what environment you are in. And how is the rexx program getting executed.

Re: How to execute PF keys through rexx?

PostPosted: Tue May 28, 2013 11:35 pm
by chant94
Thank you for your help. Today I have found my solution, by adding a ispf model at the beginning of my panels, and it works !
)PANEL KEYLIST(ISRSAB,ISR)
Now PF1 for help, PF3 for end, PF7 and PF8 for scrolling on ispf tables, that's what I needed !
Sorry if my englih is not so good, I am french and a beginner in ispf
Bye