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


TRUNCATE Operand

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

The TRUNCATE operand gives the maximum length of a printed line of output and indicates that input longer than the specified length be truncated. To use the TRUNCATE operand, issue the PRINTDS command with:
  • The DATASET operand immediately followed by the data set name enclosed in parentheses.
  • The TRUNCATE operand followed by the column-width of the line enclosed in parentheses.
Example
To print data set PREFIX.TEST.DATA with only the first 30 columns of each input line, enter:
PRINTDS DATASET(test.data) TRUNCATE(30)
Note: If neither the FOLD nor TRUNC operand is specified, the default line length is the length of the maximum input line.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014