Example 3

Copy the data set containing TSO/E commands from the data set SAMPLE and place these commands in the TSOIN stream where they will be executed.
smcopy fromdataset('sample.commands.data')
       tostream(tsoin)