EDIT Command
Although EDIT performs the same in the foreground and background,
you must be careful when inserting blank lines into a data set because
EDIT interprets a blank line as a null line. This causes the system
to switch from input mode to edit mode. To insert blank lines into
a data set, you can:
- Insert a character string that you do not use anywhere else in the data set. Then, before ending the EDIT session, issue a global change, changing every occurrence of the character string to blanks.
- Specify the EMODE operand on the EDIT command. Each new line is preceded by a line number, wherever line numbering is allowed.
For an example of how to insert blank lines into a data set using line mode EDIT, see Figure 1.