z/OS TSO/E REXX User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Copying Information from Compound Variables to a Data Set

z/OS TSO/E REXX User's Guide
SA32-0982-00

To copy 10 compound variables with the stem newvar., regardless of how many items are in the list, write the following instructions.

Note: An uninitialized compound variable will default to the value of its name. For example, if newvar.9 and newvar.10 do not contain values, the data set will receive the values NEWVAR.9 and NEWVAR.10.

Copying from Compound Variables

"ALLOC DA(new.data) F(outdd) LIKE(old.data) NEW"
"EXECIO 10 DISKW outdd (STEM NEWVAR."

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014