Rational Developer for System z

Copy data wizard

The copy data wizard offers additional functionality for copying data sets that is not available in the Remote Systems Explorer view.
With the copy data wizard, you can perform the following tasks:
Launch the copy data wizard by:
  1. Select a host resource from the Remote Systems view and right click to display the pop-up menu.
  2. From the pop-up menu, Select File Manager > Copy Data.
  3. On the first page of the wizard, titled Copy Data:
    • Enter a target data set for the copied data. Select Browse and choose from a list of available data sets.
  4. On the second page of the wizard, titled Data Mapping:
    • 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.
    • If the source data set is 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.
    • If you would like to use templates to perform data mapping:
      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 Copy Data utility
        The copy data 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 data copy utility only supports field mapping of like named fields to one another.
    • Place a check mark next to Append if you would like the copied data to be appended to the end of any existing data in the target data set. Choosing not no append will cause the copied data to be initialized from the beginning of the target data set, replacing any existing records.
    • Click Finish to complete the wizard.

Terms of use | Feedback

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