//indd DD ... input data set
//outdd DD ... output data set
where indd is the data set containing input from the simulated terminal, and outdd is the data set to which output to the simulated terminal is sent.