On Tue, 12 Sep 2017 10:35:06 -0700, Ed Jaffe wrote:

>On 9/12/2017 9:54 AM, Kirk Wolf wrote:
>> Is there a way around this?
>
>Serialize against some existing data set with DISP=OLD
>
For how long?  From ALLOCATE through FREE?  Longer?  Shorter?

But doesn't this vitiate the value of concurrency that Kirk mentioned
in his original statement of his problem?

Does BPXWDYN( 'alloc rtdsn(name) ...' ) return the ...G00V00 value in the
returned DSN?  If so, FREE the DDNAME and reallocate with the G00V00 string.
There'd still be a window for collision which a spin loop could handle.

-- gil

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

Reply via email to