matchrule export
The matchrule export command exports a match rule that was created using one of the matching stages (Interflow Match, Intraflow Match, Transactional Match) in the Spectrum Enterprise Designer. The match rule can then be imported to another server. You can export the match rule as .mr or .json files.
For more information, see the "Matching" section of the Data Quality Guide.
Usage
matchrule export matchRuleName --o OutputDirectoryRequired | Argument | Description |
---|---|---|
Yes | --m matchRuleName | Specifies the name of the match rule you want to export. Tip: If you
are unsure of the exact match rule name you can use the matchrule
list command to get a list of the match rule names. |
No | --j matchRuleName | Specifies the name of the match rule you want to export in JSON file format. Tip: If you are unsure of the exact match rule name you can use the
matchrule list command to get a list of the match rule
names. |
No | --o OutputDirectory | Specifies the directory to which you want to export the match rule. The path you specify here is relative to the directory where you are running the Administration Utility. If you omit this argument, the match rule is exported to the directory containing the Administration Utility. |
Example: Match rule export
This example exports a match rule named "My Match Rule" in mr format to a subfolder named export in the location where you are running the Administration Utility.
matchrule export My Match Rule --o exportExample: Match rule export in JSON format
This example exports a match rule named "My Match Rule" in JSON format to the directory containing the Administration Utility.
matchrule export My Match Rule --j