export_subset_definition

Exports the specified subset definition as an XML file at the specified directory location.

Format

emcli export_subset_definition
   -subset_name=<subset_definition_name>
   [-file_name=<file_name>]
   [-directory=<directory_path>]

[ ]  indicates that the parameter is optional

Options

  • subset_name

    Subset definition name to export.

  • file_name

    File name to save the exported file. If you do not specify the file name, it is saved under the subset definition name. If it is specified without an extension, '.xml' is used as the default extension.

  • directory

    Directory location to save the exported file. If you do not specify a directory, the file is saved in the current directory.

Output

Export success or error message.

Examples

Example 1

This example exports a subset definition with the name HR_Subset as XML in the current directory.

emcli export_subset_definition -subset_name=HR_Subset

Example 2

This example exports a subset definition with the name HR_Subset as XML with the name HR_Subset_Export at the directory path /scratch/subset.

emcli export_subset_definition -directory=/scratch/subset -subset_name=HR_Subset -file_name=HR_Subset_Export