This video explains how can we debug a submitted job using STRSRVJOB command. Below are the steps.
1)Hold the JOBQ which is submitted in the job
2)Submit the job
3)STRSRVJOB
4)STRDBG PGM(*LIBL/PGM001) UPDPROD(*YES) OPMSRC(*YES)
5) Release job Queue
6) Press F10
7) dspmodsrc
8) set the break point and give F12 command
9) Enter to star the pgm debugging
10) ENDDBG
11) ENDSRVJOB