> A type 1 or type 6 SVC can issue SUSPEND, but noting that, in doing so, > this is basically ending the SVC's processing.
Not quite; typically the routine will at least schedule an SRB after the SUSPEND and before exiting. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Peter Relson [[email protected]] Sent: Saturday, November 27, 2021 11:42 AM To: [email protected] Subject: Re: Where are PSWs and registers saved by the SUSPEND service? (was: Type 1 SVCs) <snip> "As I understand it... a type 1 or 6 SVC cannot SUSPEND, WAIT, or PAUSE synchronously at all. If they need to finish something later, they schedule it and quit." Not true. See note 8 in the link below... https://www.ibm.com/docs/en/zos/2.1.0?topic=routines-programming-conventions-svc </snip> As Shmuel and Steve pointed out, it's all in the details. A type 1 or type 6 SVC can issue SUSPEND, but noting that, in doing so, this is basically ending the SVC's processing. RESUME will occur within the user code (enabled and unlocked). A type 1 SVC must not release the local lock; a type 6 SVC must not enable. A type 1 or type 6 SVC cannot suspend the SVC routine itself and have the SVC routine continue upon RESUME. Peter [email protected] 1-845-435-8390 8+295-8390 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
