On 1/19/2017 7:55 AM, Joseph Reichman wrote:
I used to work for Vendors I now work in applications Assembler
I write internals code to keep those skills sharp
If you look at the doc for in the Authorized Assembler guide I believe chap 23
It says type 2 SVC can not suspend their caller
I am wondering in a SVC type 2,if you can Call
IEAVPSE2 as I am getting a abend after
The basr to the call and don't know if it's
 Related

A call to Pause/Release is *not* a SUSPEND request.

I can't think of any reason for a Pause to not work in a SVC as long as you do not hold any locks.

Many, many, moons ago type 2 SVCs were managed differently from type 4 SVCs. It's a fuzzy memory, but I believe they had to be 2K or less in size and were loaded from SVCLIB transiently into a common 2K area. That lead to restrictions for them that are still published but not actually valid.

Today there is no difference between type 2 and type 4 SVCs with respect to the way they receive control in the supervisor code and what they can do. If you are getting an abend calling Pause then you have a problem with your code.

Regards,
Greg

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

Reply via email to