Configuring the Operational Decision Manager (ODM) stage reject link (DataStage)
You can configure reject links on the Operational Decision Manager (ODM) stage to accept the input records that the connector found to be in error. When the connector sends the records in error to the reject links defined for the stage, the job continues to run for the remaining input records, and you can verify the rejected records to determine the cause for error. If a reject link is not configured for an input link on which the connector detected records in error, the connector logs an error and the job fails.
Procedure
- Define an output link for the ODM stage.
- Double-click the output link then in the properties panel, change the link to Reject. Then, click Save.
- Open the ODM stage properties panel , click the Output tab, then open the reject link section.
- In the Reject rows based on selected list, select the relevant options to set the reject condition.
- In the Add to reject row section, select ERRORCODE or ERRORTEXT, or both, to specify that the error code and error text information must be included in the rejected records to identify the reason for which the records were rejected.
- In the Abort when field, specify the limit value for the condition.
- In the Abort after field, specify the greatest value limit for reject links.
- In the Reject From Link field, select the input link.
- Click Save.