Previous Topic: COUNTSNext Topic: DELETE


CREATE

Copies the specified records to a new data set or PDS member. If you do not use the C or CC line commands to specify which records to select during the CREATE function, all records being edited or viewed are copied. If you used a filter or selection criteria, only those records that match the selection criteria are copied. This command is valid only in view or edit mode.

Syntax:

   CREATE  dsn | dsn(member) | member

Syntax Description:

dsn

Specifies the name of a sequential data set into which the selected records are copied. The new data set allocation panel displays if the data set does not exist.

dsn(member)

Specifies the name of a PDS member into which the selected records are copied.

Note: The CREATE command fails if the parameter is dsn(member) and the data set does not exist.

member (optional)

Specifies the name of a member into which the selected records are copied. This syntax is only valid when viewing or editing a PDS. Specify the name of a new member to create a new member. Use the REPLACE command to copy to an existing member.

Alias: CRE