I have used similar method myself.

I'm creating an 'Unlock process' program.

The locked process has a data area that needs to be cleared -- so that
another user may initiate/use the (locked) process.

I can do this easily from my 'Unlock process' program, but . . .

My thought was to further insure that the process wasn't really in use...
i could see if the display file, used to initiate it, was open/in use.
(i was thinking that should be fairly easy to do)

The process that gets locked is only ever rarely actually locked.

Why it happens --
A user either exits the 5250 session abnormally or stays signed on so long
that the nightly backup kicks their session off.

It would probably just be easier to throw a job in, at the end of nightly
backups, to clear the data area.

Thanks Jose,

John


<snip>
Another way I have seen is people sometimes use a data area with a flag
when screen open flag equal 1 and then all programs using this screen
check
that flag in this dtaarea.

On Mon, Jan 28, 2019, 2:14 PM Jose Perez <joseenocperez.jp@xxxxxxxxx
wrote:
</snip>
<br />
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 ...

Follow-Ups:
Replies:

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].