Example 3
On the ISPF primary option panel the user issues the command SCRNAME
POP. The primary option panel's screen name is now POP. The user then
invokes CLIST2.
CLIST2
PROC 0
SET &ZSCRNAME = STATE
ISPEXEC VPUT (ZSCRNAME) SHARED
ISPEXEC SELECT PANEL(MENUA) SCRNAME(NATION)
ISPEXEC DISPLAY PANEL(PANELA)
After the CLIST processes, the following results occur:
- MENUA displays with screen name NATION.
- PANELA displays with the screen name STATE.
- End from PANELA and the primary option panel displays with screen name POP.