Rational Developer for System z, Version 7.6

Advanced copy wizard

The advanced copy wizard offers additional functionality for copying data sets that is not available in the Remote Systems Explorer view.
With the advanced copy wizard, you can perform the following tasks:
Launch the advanced copy wizard by:
  1. Select a single data set or selection of members from a single PDS/PDSE to be copied from the Remote Systems view.
  2. From the pop-up menu, Select File Manager then Copy.
  3. On the first page of the wizard, titled Source Information:
    • If the source data set is a PDS/PDSE:
      1. Set the number of records to skip. If defined, copying will begin after skipping the number of records defined here.
      2. Set the maximum number of records to copy. A numeric value can be used, or you can enter ALL to copy all records.
      3. Select from the drop-down list which members to copy.
    • If the source data set a VSAM:
      1. Specify a start key. If defined, copying will begin at the first record with a key that is greater than or equal to that of the value defined here.
      2. Set the number of records to skip. If defined, copying will begin after skipping the number of records defined here.
      3. Set the maximum number of records to copy. A numeric value can be used, or you can enter ALL to copy all records.
  4. On the second page of the wizard, titled Choose Target:
    1. Enter the target data set that the files will be copied too. You can manually enter the name of the target data set, or select Browse and choose it from a list of available data sets.
      Note: If the target you specify does not exist, the wizard will allow you to allocate it on the next page of the wizard.
    2. Select a disposition:
      • MOD - Selecting MOD will append the copied data to any existing data in the target data set.
      • OLD - Selecting OLD will initialize the copied data from the beginning of the target data set. This option will replace any existing records.
    3. Click Finish to complete the wizard, or Next if you would like to use templates during the copy.
  5. On the page titled, Allocate Target:
    Note: This page will only be displayed if the Target that you specified in the previous step does not exist.
    1. If you would like an existing data set to be used as the model for your new data set, define that in the Like data set field.
    2. Select a Library type from the drop-down list for the new data set.
      Note: Based on the selection made here, additional fields will be made available to further customize the allocation
    3. Click Finish to complete the wizard, or Next if you would like to map a template.
  6. On the last page of the wizard, titled Map Template:
    1. Place a check mark next to Use Templates.
    2. Define the From and To templates.

      The following table summarizes how the advanced copy utility uses information in the From and To templates.

      Table 1. Template use in the Advanced Copy utility
      The advanced copy utility determines... Using this information... In this template...
      From To
      Which records are copied
      • Selected record types
      • Record identification criteria
      • Record selection criteria
      X  
      Which fields are copied, and to where Field mapping X X
      How new (or unmapped) fields are initialized Create attributes   X
      Note: The advanced copy utility only supports field mapping of like named fields to one another.
    3. Select Finish to exit the wizard and copy the data set.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)