Copy a Sequential File
The copy utility lets you copy a data set into another existing data set or into a newly allocated data set.
Follow these steps:
-
Open the Directory List view.
-
Select the data set that you want to copy.
-
Right-click and select Utilities, Copy Sequential.
The Copy Sequential Utility wizard opens. The Data set name field displays the name of the data set you selected.Note: You can copy data sets not listed in your Directory List view by selecting Utilities, Copy from the CA File Master Plus menu. If you select this option, there is an additional page at the beginning of the wizard in which you identify the data set that you want to copy.
-
Specify the volume serial of the data set that you want to copy. This step is mandatory if the data set is not cataloged. Otherwise, this step is optional
-
Specify where you want to copy the data set or members to:
-
Data set name
Select the data set where you want the copied records to be put. -
(Optional) Member name
Specify the member to which you want to copy the sequential file data, if you are copying the sequential data set to a PDS. -
Volume Serial
Specifies the volume serial. This step is mandatory if the data set is not cataloged. Otherwise, this step is optional.
-
-
Specify the disposition of the copy by selecting SHR, OLD, MOD, or by creating a new data set.
-
Select SHR if you want the copied data set to replace the contents of an existing data set. This option allows concurrent access to the data sets while the copy is in progress.
-
Select OLD if you want the copied data set to replace the contents of an existing data set. This option restricts access to the data sets while the copy is in progress.
-
Select MOD if you want the copied data set added to the end of an existing data set.
-
Click the New button to create a new data set. If you select this option, you must take the following steps:
-
Specify the type of data set to create in the New Allocation group.
-
Click the Allocate button to open the Allocate wizard.
-
Complete the fields in the Allocate wizard and click Finish. For detailed information about the Allocate wizard, see Allocate.
-
-
-
Click Next.
-
(Optional) Do one of the following to specify the layout:
-
Select from the drop-down list a layout displayed in your layout view.
-
Specify the layout data set and member name.
-
-
(Optional) Specify selection criteria. Do one of the following:
-
Type selection conditions into the selection criteria text box. For more information on valid selection conditions, see Condition Specifications.
-
Click Layout to build selection conditions based on the contents of the specified layout. For more information on modifying selection criteria, see Modify Layout Selection Conditions. If you specify selection criteria, you can click Validate to verify that the selection criteria listed are legitimate.
-
Click Import to import selection criteria from an existing selection criteria member. For more information on importing selection criteria, see Import Selection Criteria.
-
-
Click Next.
A summary page shows the options that you have selected. -
Click Finish.
The Copy Wizard report view opens and displays information about the copy operation.