Hi Birgitta -

On Fri, 13 May 2011 17:17:02 +0200, "Birgitta Hauser"
<Hauser@xxxxxxxxxxxxxxx> wrote:

I?m just curious, are you using data areas (heavily) or not?

In addition to things already mentioned by others, I use data areas
for locking functions. Unlike some objects, data areas support all
locking levels: *SHRRD, *SHRUPD, *SHRNUP, etc.

For example, I'll use a data area to make sure that there aren't two
instances of the same NEP job running simultaneously.

The job allocates the data area *EXCLRD (not *EXCL because that
interferes with backups).

If a second instance is started, it can't get the *EXCLRD lock and

(The submit process also tries to get the lock, then releases it.)

Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].