z/OS TSO/E CLISTs
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


One level of symbolic substitution

z/OS TSO/E CLISTs
SA32-0978-00

To set two variables, &A and &C, to the value &B code:
⋮
SET A = &&B
SET C = &NRSTR(&A)
⋮

After the execution of the first SET statement, &A contains the value &B. When the second SET statement is executed, the CLIST performs symbolic substitution and substitutes &B for &A. &NRSTR prevents any further scan of the statement; therefore, &C is assigned the value &B.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014