zimport

Import members from multiple partitioned data sets (PDS) on a z/OS® system into Rational Team Concert™ for System z® source control.
Before you can import z/OS PDS members to a Rational Team Concert zComponent project, the following conditions must be met:
  1. Enter the zimport command, which is a subcommand of scm. Your command line might look something like this:

    scm zimport --hlq SMITH --mapfile /u/smith/mapping.txt

    --projectarea TestProjectArea -s MyStream

    -r https://localhost:9443/jazz -u username -P password

    Tips:
    • For more information on how to use the zimport command, run the scm help zimport command.
    • If you want to see what the results of the zimport command would be without actually executing a mass import, specify either the -n or --dry-run option to scm, like this:

      scm -n zimport --hlq SMITH --mapfile /u/smith/mapping.txt

      --projectarea TestProjectArea -s MyStream

      -r https://localhost:9443/jazz -u username -P password

  2. Specify the -r option to indicate which Rational Team Concert for System z repository to import the PDS members to.
  3. Specify the -u option to indicate a user name for the repository.
  4. Specify the -P option to indicate a password for the repository.
  5. Specify the --hlq option to indicate the high-level qualifier of the partitioned data sets whose members you want to import.
  6. Specify the --mapfile option to indicate the location of the mapping file the mass import tool should use.
  7. Specify the --projectarea option to indicate the name of the project area where you want to store the data set definitions, and where the language definitions are stored.
  8. Optional: Specify the -s option to indicate the name, alias, or universal unique identifier (UUID) of the stream to set as the default flow target for the repository workspace that the zimport command creates.
  9. Optional: Specify the -q option to display only minimal console output.
  10. Optional: Specify the -v option to increase the verbosity of the output.
    Note: If you specify both -q and -v, -q will override -v.
After the zimport process is complete, a new Rational Team Concert for System z repository workspace exists, which contains components that contain zComponent projects, which themselves contain zFolders and zFiles that correspond to the imported PDS and its members. If you specify the -s option, your new workspace will use that default flow target. You should also see new data set definitions in the Rational Team Concert for System z Team Artifacts view.
Tip: You might have to refresh the list before these new data set definitions display.
Rational Team Concert for System z will create a data set definition for each PDS you import, and the corresponding zFolder will be associated with that data set definition, too. If you specified any language definition mappings, the zFiles should also be associated with those specified language definitions.

Feedback