My requirement is when I press a PF1 key on the main panel, the helpanel should be displayed.
In my panel definition, I have coded the following:
)INIT
)PROC
VER (&MMBR,NB)
VER (&A,NB,LIST,1,2)
VER (&B,NB,LIST,1,2)
&KEY = .PFKEY
)END
And in my REXX code I have the following:
if KEY = "PF01" then
do
"ispexec libdef ispplib dataset id('MYREXX.rexx.test')"
"ispexec display panel(helpanel)"
end
But still the helpanel doesn't get displayed when I press a PF1 on the main panel.
I am not able to figure out what went wrong in this.
In my panel definition, I have coded the following:
)INIT
)PROC
VER (&MMBR,NB)
VER (&A,NB,LIST,1,2)
VER (&B,NB,LIST,1,2)
&KEY = .PFKEY
)END
And in my REXX code I have the following:
if KEY = "PF01" then
do
"ispexec libdef ispplib dataset id('MYREXX.rexx.test')"
"ispexec display panel(helpanel)"
end
But still the helpanel doesn't get displayed when I press a PF1 on the main panel.
I am not able to figure out what went wrong in this.