Page 1 of 1

help panel using panel definition statements

PostPosted: Wed Jul 15, 2015 8:06 pm
by aradhana11
Somebody please give me and example of creating/defining help panels and accesing them from a panel.
I have gone through ispf dialog developer's guide and ispf services guide. I cannot find any example there.
i have tried out the )HELP section and the help control variable .HELP but its not workin. On pressing PF1, the default ispf help panels are being displayed. Am i supposed to override the keylist in some way so that the default help panels are not displayed? Nothing about it is mentioned in the guides. PF1 is by default assigned to 'HELP' , so when i have my own help panel, it should automatically override the ispf default panels, right?

please help. I want examples and samples. The guides didnt help me.

Re: help panel using panel definition statements

PostPosted: Thu Jul 16, 2015 1:45 am
by Pedro
You should use .HELP in the )INIT section of your panel.

For examples, use the ones that you already have. Use primary command TSO ISRDDN and then command ONLY ISPPLIB to see which panel data sets you are using. Look at some of the panels there. Usually, you would find an ISPF panel that is somewhat similar to what you want to do, use PANELID to find the member name, then use it as a model to create your own.

Re: help panel using panel definition statements

PostPosted: Thu Jul 16, 2015 2:28 am
by Mickeydusaor
Each field variable is a name on the panel, so when you hit the pf1 key for that field your help panel for that field is displayed.


)HELP
FIELD(ZCMD) PANEL(PUTLHLP1)
FIELD(K) PANEL(PUTLHLP1)
FIELD(C) PANEL(PUTLHLP1)
FIELD(R) PANEL(PUTLHLP1)
FIELD(L) PANEL(PUTLHLP1)

Re: help panel using panel definition statements

PostPosted: Thu Jul 16, 2015 8:30 am
by aradhana11
@Pedro Thanks a lot.