z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using labels and line ranges

z/OS ISPF Edit and Edit Macros
SC19-3621-00

The examples shown here show the results of using labels to identify ranges of lines. They show that the order of both labels and other operands is not important, and that you can type both labels and operands in either uppercase or lowercase.
  • This command locates the first line flagged: ==CHG> between the line labeled .start and the line with the cursor on it:
    locate first chg .start .zcsr
  • This command changes the last occurrence of "PRE" to "POST" between the first line and the line marked with the .HERE label:
    CHANGE LAST PRE POST .HERE .ZFIRST
  • This command changes all occurrences of "PRE" to "POST" from the .MYLAB line to the last line of the data set:
    CHANGE PRE POST ALL .MYLAB .ZL
  • This command finds the word "HIGHER" between the .START line and the .END line:
    FIND HIGHER WORD .START .END

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014