Wrkprb needs long time to start
Over time, it might become apparent that Wrkprb needs longer time to start, especially if the problem handling facility was used heavily on a slow machine.[1]
This stems from the fact that the used database files grow indefinitely, because they were created with the flag REUSEDLT disabled. That means, deleted records stay forever, but cannot be accessed. In my case, the PF hat 36 MiB, and the accompanying LF 24 MiB.
A possible solution would be to use RGZPFM to reorganise the database file. But the command refuses to work on an empty database file.[2]
Another possibility is to delete and recreate the members of the files in question. Members are bound to the record structure laid out in the file itself. So deleting and re-adding file members does no harm except getting rid of all the deleted records.
RMVM FILE(QUSRSYS/QASXPROB2) MBR(QASXPROB2) RMVM FILE(QUSRSYS/QASXPROB) MBR(QASXPROB) ADDPFM FILE(QUSRSYS/QASXPROB) MBR(QASXPROB) ADDLFM FILE(QUSRSYS/QASXPROB2) MBR(QASXPROB2)
To prevent this from happening again, allow the OS to reuse allocated space.
CHGPF FILE(QUSRSYS/QASXPROB) REUSEDLT(*YES)[3]
This approach applies also to any other database file showing significant slowdown over time.