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


Modifying DD Statements for Batch or TSO/E Processing

z/OS TSO/E Programming Services
SA32-0973-00

TERM=TS, when added to a DD statement defining an input or an output data set, is ignored in the batch processing environment, but under TSO/E indicates to the system that the unit to which I/O is being addressed is a time sharing terminal. Therefore, if you want a job to run in either the foreground or the background, provide a DD statement as follows:

//DD1     DD     TERM=TS,SYSOUT=A

In this example the output device is defined as a terminal under TSO/E processing, and as the SYSOUT device during batch processing. For a complete description of the TERM=TS parameter, see z/OS MVS JCL Reference.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014