yes... but you have to move "quick"... what I'd suggest is holding the job as soon as it becomes active, so it won't finish by the time you enter there commands.
Find the name of the job, and enter
STRSRVJOB JOB(number/user/name)
STRDBG (program)UPDPROD(*yes)
If you are using the full-screen debugger, you should be brought into it. Otherwise, use the ADDBKP commands
1/ hldjobq
2/ strsrvjob
3/ strdbg and F3/F12 immediately
4/ rlsjobq
5/ Then you get the following message : The serviced job has been released from the job queue. Press Enter to start the job or F10 to enter debug commands for that job.
6/ Hit F10
7/ Type DSPMODSRC and enter the breakpoints
8/ F12 and F3 to return to the message
9/ Hit Enter to start the job in debug mode.
10/ When done, don't forget enddbg and endsrvjob
This looks maybe a little awkward but you'll fell much more comfortable to debug quietly a program running in batch.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.