dssretryfailed - DSS 6 | Data Source Solutions Documentation

Documentation: dssretryfailed - DSS 6 | Data Source Solutions Documentation

dssretryfailed

Usage

dssretryfailed [-options]... hub chn loc

Description

Command dssretryfailed retries integration of changes that are saved in fail tables or directory due to integration errors. It reattempts integration of changes which gave an error during integration into location loc.

For integration into a database, these changes are written to fail tables in the target database. For file integration, these are unsuccessful files which are moved into the file location's state directory. Integration jobs save changes in the fail tables or directory if parameter OnErrorSaveFailed is defined. The integration is retried immediately, instead of being delayed until the next integrate job runs.

Options

This section describes the options available for command dssretryfailed.

Parameter Description
-d Only delete rows, do not retry them. If the -w option is not supplied, then the fail table is also dropped. This is only allowed for database locations.
-ttbl

Only failed rows from table tbl. If this option is not supplied, rows from all fail tables will be processed.
Value tbl may be one of the following:

  • tbl: Only affects table tbl.
  • t1-t2: Affects all tables that fall alphabetically between t1 and t2 inclusive.
  • !tbl: Affects all tables except tbl.
  • !t1-t2: Affects all tables except for those that fall alphabetically between t1 and t2 inclusive.
Several -ty instructions can be supplied together. This is only allowed for database locations.
-v Verbose output.
-wsqlrestr Where clause. Only failed rows where sqlrestr is true will be processed. For example, to only retry recent changes for a certain column, the SQL restriction would be -w "dss_cap_tstamp >= '25/5/2007' and col1=22". This is only allowed for database locations.

Examples

Example 1. Delete rows for certain columns

The following command deletes only rows with the changes older than May 5, 2007, and where column col1 has value 22.

dssretryfailed -d -w"dss_cap_tstamp >= '25/5/2007' and col1=22" myhub mychn myloc
Example 2. Retry integration for certain tables

The following command retries integration only for table customer.

dssretryfailed -tcustomer myhub mychn myloc