|
Tim, Absolutely one of my favorites! You are correct on your statements. One minor thing: The program can already be running when you do the STRSRVJOB command. My favorite use: Debugging screen programs. You start the program on one session (Multi-session terminal or PC, a Seconday job (ie SysReq 1) will not work since the job needs to be active) then on another session you do the STRSRVJOB and STRDBG. Now even when the program is waiting for input you can poke around, change things, set new breakpoints etc. Of course as you stated you can poke around in another users job even without their knowledge! (Of course if the program stops at a breakpoint for quite a while they may get suspicious) This is a SECURITY RISC since you could use this to snoop salaries etc if you wanted to. Batch jobs can be a bit tricky since they frequently blast along beyond the point where you wanted to debug before you get there. For this I add a DLYJOB, ALCOBJ or SNDUSRMSG to stop the thing so I can get debug set up. ENJOY! Larry Bolhuis Arbor Solutions, Inc lbolhui@ibm.net Tim Truax wrote: > > Hello all, > I have been using my Softcopy CD to research the STRSRVJOB command, it > seems quite helpful. Am I correct in the assumption that I can have a > user in an interactive job or even a batch job, then all I would have to > do is enter the STRSRVJOB command at my screen for that specific users > job then STRDBG on the particular program they were about to begin > running? Is this correct? And how have you folks found this command to > be most useful? > Thanks very much in advance! > ---- > Tim Truax > RPS, Inc > 1000 RPS Drive > Moon Township, PA 15108 > http://www.shiprps.com/ > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.