z/OS TSO/E Command Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 4

z/OS TSO/E Command Reference
SA32-0975-00

Operation: Find the line containing a specific word and copy it to the bottom of the data set.

Known:
  • Data set contains nine lines of text.
  • Word to be found is men.
  • Data set is unnumbered.
Before:            Enter:                    After:

NOW IS             top                       NOW IS
THE TIME           copy   'men'  1 99999999  THE TIME
FOR ALL                                      FOR ALL
GOOD MEN                                     GOOD MEN
TO COME                                      TO COME
TO THE                                       TO THE
AID OF                                       AID OF
THEIR                                        THEIR
COUNTRY                                      COUNTRY
                                       CLP   GOOD MEN

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014