In a PL/I program, create a permanent table, TELBOOK, to contain
the variable TABKEY and other variables, the names of which are specified
in
program variable TABVARS. The variable TABVARS has been
made accessible to ISPF by a previous VDEFINE operation. The key field
is TABKEY. Set the program variable BUFFER to contain:
TBCREATE TELBOOK KEYS(TABKEY) NAMES(&TABVARS)
Set
program variable BUFLEN to the length of the variable BUFFER. Issue
the command:
CALL ISPEXEC (BUFLEN, BUFFER);
or alternately
CALL ISPLINK ('TBCREATE','TELBOOK ','TABKEY ',TABVARS);