• Subject: Re: StrSrvJob?
  • From: Larry Bolhuis <lbolhui@xxxxxxx>
  • Date: Mon, 06 Jul 1998 22:03:10 -0400
  • Organization: Arbor Solutions, Inc

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
+---


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].