On Thu, 5 Jul 2018 13:29:01 -0700, Charles Mills wrote:
>I have not really thought it through but I just cannot picture how building
>some combination of Rexx or whatever + assembler one could not do 'n'
>simultaneous ENQs. The facilities are there in MVS for the asking:
>
>"ENQ assigns control of one or more serially reusable resources to a task. If
>any of
>the resources are not available, the task might be placed in a wait condition
>until
>all of the requested resources are available."
>
From: z/OS IBM MVS Programming: Authorized Assembler Services Guide
Version 2 Release 3 SA23-1371-30
Chapter 25. Dynamic allocation
Requesting a data set that is in use:
Rather than wait for another user to release a data set, volume, or
device to
obtain use of it, dynamic allocation fails a request by an unauthorized
program.
If an authorized program specifically requests a wait, dynamic
allocation will wait.
The designers were dedicated and capable. There's no way to wait for a
dynamically
allocated resource without introducing the hazard of a deadlock.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN