On 6/3/2016 2:24 AM, michelbutz wrote:
Does it have to be a different value on every call

If I understand your question, the answer is no.

You *might* use a different value to indicate the PET was released for a specific reason, such as 0 for process work, 2 for error occurred, and 3 for terminate. Or you could use 0 for everything except for owning address space termination (which is actually the design I would recommend) and set flags in the control block where the PET to resume was passed to indicate what to do.

Owning address space termination is a special case when Pause/Release is used between multiple address spaces (which is the best reason for using it), because if the owning address space terminates you need to know that you were released for a very abnormal reason, possibly without that address being able to set any flags in the control block, and handle it uniquely.

Greg

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to