Running a work statement list to apply changes

Apply changes are placed in a work statement list (WSL) if you specified Generate apply jobs = YES and As work statement list = YES on the Generate Compare Jobs (GOC5) panel. You must use Db2® Admin Tool panels to run the work statement list.

About this task

When you run a WSL, you can generate single or multiple apply jobs for all operations. When no UNLOAD, RELOAD, or REORG operations are required, or when a single UNLOAD, a single RELOAD, or a single REORG operation is required, only a single job is generated for the WSL. When multiple UNLOAD, RELOAD, or REORG operations are required, and you want to generate a single apply job for all operations rather than a separate job for each operation, you must specify that a single job be generated when you run the WSL. If you specify one job, table GRANT statements are generated by Object Comparison Tool after tables, related indexes, and foreign keys are created, and after all rows are reloaded.

Note: In the LOAD step, the TEMPLATE statement for the SYSREC data set is used when you select HPU for the unload process. Because Object Comparison Tool does not know if HPU will be used as the unload method before the WSL is run, the template might seem unneeded when the WSL is generated. However, the TEMPLATE SYSREC statement is used if you select HPU as the unload process when you build the job in Db2 Admin Tool.

Procedure

To run a WSL with apply changes: