CREATE subcommand
The CREATE command is used to add a member to the corresponding partitioned data set library. If the member exists, an error message is displayed.
Syntax
Operands
- MemName
- A valid member name.
- range
- Specifies the lines to be used to create a member. See the following
table for all the valid values.
Table 1. Valid values of operand range Value Definition Explanation *An asterisk mark. Indicates all the existing lines. Note: This is the default value.Line1 Line2A pair of numbers or labels, which are separated by at least one blank. Indicates a range of lines: line Line1 - line Line2. Line1 *A number or label, and an asterisk mark, which are separated by at least one blank. Indicates a range of lines: from line Line1 to the last line.
Usage notes
This command is
implemented as an EDIT MACRO, which can be disabled by using the ISET
ED command shortcut.
Examples
CRE NEWMEM- Creates a member that is called NEWMEM with all the existing lines.
CRE 12 99 NEWMEM- Creates a member that is called NEWMEM with line 12 - line 99.
CRE NEWMEM 7- Creates a member that is called NEWMEM with only line 7.
CRE NEWMEM 7 *- Creates a member that is called NEWMEM from line 7 to the last line.
