> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Edward E. Jaffe
> Sent: Tuesday, October 18, 2005 11:50 AM
> To: [email protected]
> Subject: Re: FREEZE a TCB
> 
> 
> McKown, John wrote:
> 
> >Assembler macro STATUS STOP
> >  
> >
> 
> STATUS STOP/START is available to unprivileged callers! 
> However, it only 
> affects "daughter" TCBs -- i.e., those below you in the task 
> hierarchy.
> 
> If you wish to change the dispatchability status of "sister" 
> TCBs, you 
> must make the parent TCB do your bidding. If you didn't write 
> the code 
> running in the parent TCB, you will need to schedule an IRB into that 
> TCB (using SCHEDIRB -- don't even look at CIRB anymore 
> folks). SCHEDIRB 
> is available to privileged callers only.
> 

The original question was about debugging a multi-tasking program.
Therefore, I would think that the person could put code in the "mother
of them all" program so that a daughter could say: "Mommy! Make her
STOP!" <grin>.

This might be too much to ask, to reconfigure the code to allow for
inter-task communication where there currently is none. It is just an
idea.

My other idea is to use the concepts in the UNIX world to somehow use
"signals" to stop/continue. 

But I think this is outside what the original person wanted. I think he
just wanted some tool which he could use to perform the SIGNAL STOP
functionality without changing his source code. I don't know of any
off-the-shelf software to do this.

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.
 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to