Copies records to an existing or new data set or member. If you do not use the C or CC line commands to select records for the REPLACE 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 in view and edit mode.
Syntax:
REPLACE dsn | dsn(member) | member
Syntax Description:
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.
Specifies the name of a PDS member into which the selected records are copied.
Note: The REPLACE command fails if the parameter is dsn(member) and the data set does not exist.
Specifies the name of a new or existing 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.
ALIAS: REPL
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|