× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This will not work, because OS/400 or i5/OS does not place a *USE lock

on a *PGM when it is "in use" ... :-o

But you can allocate yourself if you have a need to. When I've needed to
ensure only one instance of a program is running I've had the program
allocate itself *excl and if successful back it off to a *use lock. If
the program is active another instance can't get the excl lock, and if
the program dies there's no dataarea to reset.

-Walden


As an Amazon Associate we earn from qualifying purchases.

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

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.