Carsten likes the CL command Work with Jobs (WRKJOB), however, always trying to make life easier, he’s created his own version. The enhanced WRKJOB command includes the normal selection criteria, and adds a selection by job date and time. The new command is called WRKJOB2 and has all the capabilities of IBM’s WRKJOB command, and more.
One of the nice command features is its ability to select all jobs currently running under a different profile (i.e., Current User) than the user that started the job (i.e., Job User). This occurs, for example, when you use the User Profile Swap APIs and when server jobs swap to a different user profile.
Download the save file containing the source code.