Table of Contents

Search

  1. Preface
  2. Introduction to Informatica MDM - Relate 360
  3. Linking Batch Data
  4. Tokenizing Batch Data
  5. Processing Streaming Data
  6. Creating Relationship Graph
  7. Loading Linked and Consolidated Data into Hive
  8. Searching Data
  9. Monitoring the Batch Jobs
  10. Troubleshooting
  11. Glossary

User Guide

User Guide

DELETERECORD Operation

DELETERECORD Operation

The DELETERECORD operation indicates to read the input data and delete the matching records from the repository. Before you run the DELETERECORD operation, run the GETRECORDLAYOUT operation to get the layout for the input data in the JSON format based on the configuration file. Based on the layout, you can specify the input data for the DELETERECORD operation.
Run the
run_client.sh
script located in the following directory to perform the DELETERECORD operation:
/usr/local/mdmbdrm-<Version Number>
Use the following command to run the
run_client.sh
script:
run_client.sh --config=configuration_file_name --rule=matching_rules_file_name --operation=DELETERECORD --input=input_file_name [--outputfile=output_file_name]
The following table describes the options and arguments that you can specify to run the
run_client.sh
script:
Option
Argument
Description
--config
configuration_file_name
Absolute path and file name of the configuration file that you create.
--rule
matching_rules_file_name
Absolute path and file name of the matching rules file that you create.
--operation
DELETERECORD
Type of operation that you want to perform. Specify DELETERECORD.
--input
input_file_name
Absolute path and name of the input JSON file that contains the input data.
--outputfile
output_file_name
Optional. Absolute path and name of the output JSON file to which you want to load the deleted record.
For example:
run_client.sh --config=/usr/local/tree/configuration.xml --operation=DELETERECORD --input=/usr/local/tree/input.json --rule=usr/local/conf/matching_rules.xml --outputfile=/usr/local/tree/output.json
The following input data contains a record that you want to delete:
{ "keyData":{ "LMT_SOURCE_NAME":"AML", "ROWID":"0000300001" }, "record":{ }, "resultCount":0, "messages":{ } }
The following sample output shows a record that the DELETERECORD operation submits for processing:
{ "keyData":{ "LMT_SOURCE_NAME":"AML", "ROWID":"0000300001" }, "record":{ }, "resultCount":1, "messages":{ "Message.1":"Record submitted for Processing" } }

0 COMMENTS

We’d like to hear from you!