save_masking_script

Saves a masking script already generated to the specified path or file.

Format

emcli save_masking_script
     -definition_name=<masking_definition_name>
     [-path=file path]
     [-file=file name]

[ ]  indicates that the parameter is optional

Options

  • definition_name

    Masking definition name.

  • path

    Path for the file name to save the masking script. File name is automatically generated. The path and file options are mutually exclusive. Only an absolute path is allowed.

  • file

    File name to save the masking script. The file name must include the absolute path. Either the path or file option must be specified.

Output

Success or error messages

Examples

Example 1

This example saves the masking script for the definition named mask_hr_data to the /tmp directory:

emcli save_masking_script
       -definition_name=mask_hr_data
       -path=/tmp/

Example 2

This example saves the masking script for the definition named mask_hr_data to /tmp/abc.sql :

emcli save_masking_script
       -definition_name=mask_hr_data
       -file=/tmp/abc.sql