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


Writing an exit for the RENUM, MOVE, and COPY subcommands

z/OS TSO/E Customization
SA32-0976-00

Whenever a terminal user issues the RENUM, MOVE, or COPY subcommand of the EDIT command, the line numbering of the records in the data set is affected.
RENUM
Assigns a line number to each record in data sets that do not already have line numbers. RENUM also renumbers records in data sets that have line numbers.
MOVE
Moves records in a data set from one location to another, and renumbers the lines as needed.
COPY
Copies records in a data set, and renumbers the lines as needed.

For more information about the subcommands and how line numbering is affected, see .

You can use an exit to tailor the way line numbering is done. The exit is common to all three subcommands, RENUM, MOVE, and COPY. The exit receives control whenever a terminal user issues RENUM, MOVE, or COPY when editing a data set.

By default, the exit processes only VSBASIC data sets. To have the exit process other data set types, use the IKJEDIT macro instruction. For information on IKJEDIT, see Installing the exit.

The following highlights some ways you can use the RENUM, MOVE, and COPY exit. For more information, see Possible uses.
  • Change line references that are imbedded within a statement
  • Flag specific statements
  • Change default line numbering

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014