The steps required to add a new PDF primary option that uses the
Foreground processing mechanism are listed here.
- Add the new option (for example, ‘10’) to the ISPF Primary Option
Menu, panel ISR@PRIM. In the translated value for option 10, use the
PANEL keyword to specify the name of the selection panel to be displayed
next. For example:
)PROC
&ZSEL = TRANS( TRUNC(&ZCMD,'.')
. . .
10,'PANEL(XYZ)'
- Add new selection panel XYZ to the panel library. Use panel ISRFPA
as a model. For each option, use the PGM keyword to specify that program
ISRFPR is to receive control, and use the PARM keyword to pass the
name of the option panel. For example:
)PROC
&ZSEL = TRANS( TRUNC(&ZCMD,'.')
. . .
2,'PGM(ISRFPR) PARM((FORNEW) 2)'
- Proceed as specified in Steps to add a new Foreground option to the Foreground Selection Panel,
starting at step 2.