z/OS Communications Server: CSM Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Ownership of buffers

z/OS Communications Server: CSM Guide
SC27-3647-00

CSM uses the address space identifier (ASID) as the basis for the OWNERID value. OWNERID can be specified on the following requests:

The owner is the application responsible for returning buffers to CSM using the IVTCSM REQUEST=FREE_BUFFER macroinstruction. CSM assigns initial buffer ownership to the original requester of the buffers. To override this assignment, specify another user's ASID as the OWNERID on the IVTCSM REQUEST=GET_BUFFER macroinstruction. To pass on ownership of CSM buffers to another, issue an IVTCSM REQUEST=CHANGE_OWNER macroinstruction.

To associate ownership of a buffer to a task, specify a TCB address on the TASKID parameter on the following requests:

If TASKID is not specified, buffer ownership is associated with the ASID.

Ownership of a buffer that has an associated buffer return exit is not actually changed due to an IVTCSM REQUEST=CHANGE_OWNER macroinstruction; the buffer is actually borrowed. The original owner of the buffer is maintained so that ownership is restored when the buffer is freed. However, if the original owner's address space terminates before the buffer return exit is invoked, the current borrower, if one exists, becomes the new owner. If the buffer is not being borrowed, it is returned to CSM.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014