Re: Is Commuication ECB valid for subtask

2010-07-02 Thread McKown, John
 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:ibm-m...@bama.ua.edu] On Behalf Of Joe Reichman
 Sent: Friday, July 02, 2010 8:47 AM
 To: IBM-MAIN@bama.ua.edu
 Subject: Is Commuication ECB valid for subtask
 
 Hi,
 
 If I get address of a communication ECB in a main program 
 then I create
 subtasks should I be waiting on that ECB (for a stop or 
 Modify command) in
 the main program or in the subtasks as well
 
 In other words Can the communication ECB be posted in the 
 subtasks as well
 
thankx  

You can do a WAIT on the communications ECB in any task you want to. Of course, 
only one WAIT can be active against the ECB at a time.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

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


Re: Is Commuication ECB valid for subtask

2010-07-02 Thread Binyamin Dissen
On Fri, 2 Jul 2010 09:46:34 -0400 Joe Reichman joereich...@optonline.net
wrote:

:If I get address of a communication ECB in a main program then I create
:subtasks should I be waiting on that ECB (for a stop or Modify command) in
:the main program or in the subtasks as well

:In other words Can the communication ECB be posted in the subtasks as well

I wouldn't think so a it is in key0 storage, but as there is bypass code for
wait perhaps there is also bypass code for post.

Only one task can wait on it.

--
Binyamin Dissen bdis...@dissensoftware.com
http://www.dissensoftware.com

Director, Dissen Software, Bar  Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

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


Re: Is Commuication ECB valid for subtask

2010-07-02 Thread Joe Reichman
thankx

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf
Of Binyamin Dissen
Sent: Friday, July 02, 2010 9:58 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Is Commuication ECB valid for subtask

On Fri, 2 Jul 2010 09:46:34 -0400 Joe Reichman joereich...@optonline.net
wrote:

:If I get address of a communication ECB in a main program then I create
:subtasks should I be waiting on that ECB (for a stop or Modify command) in
:the main program or in the subtasks as well

:In other words Can the communication ECB be posted in the subtasks as well

I wouldn't think so a it is in key0 storage, but as there is bypass code for
wait perhaps there is also bypass code for post.

Only one task can wait on it.

--
Binyamin Dissen bdis...@dissensoftware.com
http://www.dissensoftware.com

Director, Dissen Software, Bar  Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

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

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


Re: Is Commuication ECB valid for subtask

2010-07-02 Thread Bill Fairchild
There is only one communication ECB supported by the operating system for 
reflecting STOP or MODIFY commands to a task, but that task can certainly have 
many other non-key-0 ECBs which it uses to communicate with its subtasks.



-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Binyamin Dissen
Sent: Friday, July 02, 2010 8:58 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Is Commuication ECB valid for subtask

On Fri, 2 Jul 2010 09:46:34 -0400 Joe Reichman joereich...@optonline.net
wrote:

:If I get address of a communication ECB in a main program then I create
:subtasks should I be waiting on that ECB (for a stop or Modify command) in
:the main program or in the subtasks as well

:In other words Can the communication ECB be posted in the subtasks as well

I wouldn't think so a it is in key0 storage, but as there is bypass code for
wait perhaps there is also bypass code for post.

Only one task can wait on it.

--
Binyamin Dissen bdis...@dissensoftware.com
http://www.dissensoftware.com

Director, Dissen Software, Bar  Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

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

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


Re: Is Commuication ECB valid for subtask

2010-07-02 Thread Chris Craddock


 :In other words Can the communication ECB be posted in the subtasks as
 well

 I wouldn't think so a it is in key0 storage, but as there is bypass code
 for
 wait perhaps there is also bypass code for post.



The communications ECB is indeed in key 0 storage, but the system recognizes
attempts to wait on that specific ECB and treats it as a special case. It
allows any task in the address space to wait on the stop/modify ECB. The
stop/modify function would not be terribly useful otherwise.



 Only one task can wait on it.


True.


-- 
This email might be from the
artist formerly known as CC
(or not) You be the judge.

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