On 10 February 2012 16:34, Micheal Butz <[email protected]> wrote:

> I know EXTRACT FIELDS=COMM (using the ECB) for stop or modify command works
> for the TCB your running dunning the course of my programming
>
> I attach 4 other subtasks is there any parameter on the ATTACH e.g. like
> ALCOPY( work for access lists) where I can share COMECBPT among subtasks

The difficulty lies not in finding the ECB; all your subtasks will
find the same one (it's in the CSCB extension). It is rather, that
only one task can wait on an ECB at a time, and there is only one
command ECB per address space. Or, looked at another way, there is no
facility to direct a stop or modify console command to a task within
an address space.

The usual approach is to have one subtask that does little but wait
for commands and manipulate the CIB chain. It can then do preliminary
analysis, perhaps handle some commands itself, and send the remaining
ones to a suitable task that can process them, using a queueing
structure of your own design with as many ECBs as you wish.

Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to