Example

In a CLIST, write variables, the names of which are listed in the variable VPUTLIST, from the function pool to the shared pool.
ISPEXEC VPUT (&VPUTLIST ) SHARED
In a PL/I program, write variables, the names of which are listed in program variable VPUTLIST, from the function pool to the shared pool. The variable VPUTLIST has been made available to ISPF by a previous VDEFINE operation. Set the program variable BUFFER to contain:
VPUT (&VPUTLIST ) SHARED
Set program variable BUFLEN to the length of the variable BUFFER. Enter the command:
CALL ISPEXEC (BUFLEN, BUFFER);

or alternately

CALL ISPLINK ('VPUT    ',VPUTLIST,'SHARED  ');