Example 1. Generating Restart Tokens at the Application Level
Example 1. Generating Restart Tokens at the Application Level
In this example, the DTLUAPPL utility generates restart tokens for the DB2DEMO1 source registration that is associated with the application name of "tokens." The utility generates restart tokens at the application level and then prints the generated restart tokens.
The example uses the following control statements:
The GENERATE keyword is specified in the ADD APPL statement. The generated restart tokens apply to the capture registration that is specified in the ADD RSTTKN statement because no GENERATE keyword or specific SEQUENCE and RESTART values are included in the ADD RSTTKN statement.
If you use the PowerExchange Client for PowerCenter (PWXPC), after the restart tokens are printed, you can add them to the restart token file that is specified in the application connection. The token values can then be used for extraction processing. You must add eight trailing zeroes to the sequence token value for PWXPC extractions.