- *
- specifies the edited version of your data set is to replace the
original version. If there are no operands entered on the subcommand,
the * is the default.
- dsname
- specifies a data set name assigned to your edited data set. The
new name might be different from the current name. If this operand
or an asterisk is omitted, the name entered with the EDIT command
is used.
If you specify the name of an existing data set or member
of a partitioned data set, that data set or member is replaced by
the edited data set. (Before replacement occurs, you are given the
option of specifying a new data set name or member name.)
If
you do not specify the name of an existing data set or partitioned
data set member, a new data set (the edited data set) is created with
the name you specified. If you specified a member name for a sequentially
organized data set, no replacement of the data set takes place. If
you do not specify a member name for an existing partitioned data
set, the edited data set is assigned a member name of TEMPNAME.
- REUSE | RENUM | UNNUM
- These operands cannot be included unless a data set name or an
* is specified.
- REUSE
- specifies the data set specified in the dsname operand
is to be reused, if it already exists. You are not prompted for it.
- RENUM
- specifies the data set is to be renumbered before it is saved.
- new_line_number
- specifies the first line number to be assigned to the data set.
If this operand is omitted, the first line number is 10.
- incr
- specifies the amount by which each succeeding line number is to
be incremented. The default is 10. This operand cannot be included
unless the new_line_number is specified.
- old_line_number
- specifies the line location within the data set where the renumber
process begins. If this operand is omitted, renumbering starts at
the beginning of the data set. The old_line_number must
be equal to or less than the new_line_number.
If you specify this operand, then you must also specify INCR.
- end_line_number
- specifies the line location within the data set where renumbering
is to end. If this operand is omitted, renumbering stops at the end
of the data set. The end_line_number must be greater
than the old_line_number. This operand cannot
be included unless the old_line_number is specified.
- UNNUM
- specifies the data set is to be unnumbered before it is saved.
If the data set you are editing originally contained control characters
(ANSI or machine), and you enter SAVE without operands, the following
actions apply:
- For Sequential Data Set: You are warned that the data set
is saved without control characters, that is, the record format is
changed. Then you are prompted to enter another data set name for
SAVE or a null line to reuse the EDIT data set.
- For Partitioned Data Set: Saving into the EDIT data set
with a control character attribute is not allowed when it is partitioned.
You must save into another data set by specifying a data set name
on a subsequent SAVE subcommand entry.