Batch debug
Begin by holding the jobq and submitting the job, or submitting the job hold(*yes)
(SBMJOB ... HOLD(*YES)). Don't forget that hold(*yes) can be used in jobd too.
Then start a service job for the submitted job (strsrvjob 000000/*N/jobname)
Next, release the jobq or/and job.
Enjoy your debugging.
After the STRSRVJOB, then you can start your debug (i.e. the regular STRDBG).
To complete your debug, you follow the reverse order (i.e. ENDDBG then
ENDSRVJOB).