Your DB2® database manager installation includes a Perl script as a sample to facilitate the migration from the deprecated DB2 Query Patroller to DB2 workload manager.
The sample migration script provides an automated means to migrate your Query Patroller setup to the workload manager environment. The Query Patroller migration tool was written in Perl; you can use this script as is or you can modify it to suit your needs.
Refer to the README_QPWLMMIG file found in the same file directory for more information on how to set up and run the script.