When i use this method, it's to insure that only -one- user at a time, can
use the process/program.
I create a data area with the same name as the pgm in a common library.
When an additional user tries to use the pgm, if the data area exists,
someone else is using the program.
If the data area doesnt exist, the new user can use the program.
(of course, this is when the data area would be created, as well as
deleted upon exit)
I'm trying to work out how using a data area will tell you when he display
file is NOT being used
For example - 28 separate users sign on and use this display file at
different times - but all 28 end up using the display file at once
Then - they come out of the display file - all at once - or one after the
How do you know when no one is using the display file via a data area
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.
This thread ...
Re: How can i test, from rpg, if a display file is in use?, (continued)
This mailing list archive is Copyright 1997-2020 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