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


LINES Operand

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

You can use the LINES operand to identify relative lines within a data set. To print a part of a data set, issue the PRINTDS command with:
  • The DATASET operand immediately followed by the data set name enclosed in parentheses.
  • The LINES operand immediately followed by the number of the first relative line, a colon, and the number of the last relative line of data you want printed. Enclose the numbers in parentheses.

If you specify only one number after the LINES operand, the data set is printed from the line specified to the end.

Example
To print lines 1 to 150 from data set PREFIX.NAMES.TEXT, enter:
PRINTDS DATASET(names.text) LINES(1:150)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014