Example 2. Generating Restart Tokens at the Capture Registration Level
Example 2. Generating Restart Tokens at the Capture Registration Level
In this example, the DTLUAPPL utility generates restart tokens at the registration level for the DB2DEMO1 source registration that is associated with the application name of "tokens." The utility also prints the restart tokens.
The example uses the following control statements:
MOD APPL tokens DSN7
ADD RSTTKN db2demo1 GENERATE
END APPL tokens
PRINT APPL tokens
The GENERATE keyword is specified in the ADD RSTTKAN statement and applies only to the capture registration that is specified in that statement.
If you use the PowerExchange Client for PowerCenter (PWXPC), after the restart tokens are generated, add them to the restart token file that is specified in the application connection for the extraction.