Setting up a REXX exec to invoke the Template List from an ISPF 3.4 data set display

Define one of the following execs in a member of your choosing in a data set that is available in SYSEXEC or SYSPROC concatenations for the TSO ISPF session. (Can also be in an ALTLIB).

Define the Template List exec without LIBDEFs

/* REXX invoke Template List */
ARG DSN                                      
address ISPEXEC                              
"SELECT CMD(FILEMGR PWT "DSN") MODE(FSCR)"   
exit                                         

Define the Template List with LIBDEFs

/* REXX INVOKE Template List */                   
ARG DSN                                             
address ISPEXEC                                     
"SELECT CMD(%FMNELIBD FUN PWT "DSN") MODE(FSCR)"    
exit