That's what makes the main difference between STCK and STCKE [aside from better 
precision].

Having the LPAR-Id in STCKE format guarantees its uniqueness within the SYSPLEX.

Before using this simple schema of STCK+LPAR-Id we had to handle VSAM key 
duplicates [by re-trying STCK until the key was unique]. While the code is 
still there [just to cover for unexpected] it never gets executed as we no 
longer generate any dups          


On 2015-11-17, at 08:21, Victor Gil wrote:

> I guess you missed the whole point of not calling a supplied callable service 
> ...
> 
> Regarding STCKF - this is indeed a great tip and I'd probably consider using 
> it except we have to use STCK anyway [along with the LPAR id extracted once 
> from the STCKE output] to guarantee VSAM key uniqueness within the SYSPLEX
>  
Does STCK guarantee uniqueness between processors within an LPAR,
but not between LPARs?

-- gil

Reply via email to