On 4/23/2012 5:30 PM, Micheal Butz wrote:
If after issuing the EXTRACT to get the address of the communication
parameter list (com) and the communication input buffer (cib)
I attach 4 subtasks are the com/cib address obtaining by the originating
tasks valid for the subtask that I have now attached

The CIB is one element in a chain of 0 to a maximum count, depending on how you initialized processing. I usually set the maximum to 1 because that makes the logic a little simpler.

When your program starts, there may or may not be a START CIB. You should see one in an STC, but not usually when running under an initiator.

After you set the maximum CIB count to non-zero, the CommECB is posted when a STOP or MODify adds a CIB to the chain. After you process that CIB, you would normally free it.

Once you understand the processing, the QEDIT description should make more sense.

Also note that a STOP command posts the ECB with an X'50', whereas all others post with X'40'.

Gerhard Postpischil
Bradford, VT

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

Reply via email to