Locks

Each SVC routine is entered with the locks specified for the routine in the SVC table. In addition, each type 1 SVC routine is entered with the LOCAL lock held; this lock must not be released by the SVC. The LOCAL lock should be specified on the SVCPARM statement in the appropriate IEASVCxx parmlib member. An SVC routine can acquire any lock(s), and runs enabled or disabled depending on the lock held. To avoid disabled page faults, a type 3 or 4 SVC routine must fix its pages in central storage before acquiring a disabled lock (any lock other than LOCAL, CMS, or CMSEQDQ). A type 6 SVC cannot be suspended for a lock request. For more information, see Serialization summary.