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



Hi Joe,

I think it can be done and I've been meaning to write a utility but never
got around to it.
I believe you can use MI locks to lock any type of object.

Here is an article titled "The ABCs of MI Locks" written by Junlei Li on
June 6, 2012:
https://www.mcpressonline.com/programming/rpg/the-abcs-of-mi-locks

I found some other pages of interest:
http://i5toolkit.sourceforge.net/rpg/page_obj_lck.html
https://svn.code.sf.net/p/i5toolkit/code/art/lock01.rpgle
https://svn.code.sf.net/p/i5toolkit/code/art/lock02.rpgle

Good luck.


Yours truly,

Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Work: (905) 486-1162 x 239
Cell: (416) 317-3144


On 2 April 2018 at 11:53, Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx> wrote:

I'm sure this is nothing new, and probably goes back to the S/38 days, but
it's new to me, so...

I just tried to allocate a display file. I wanted to make sure nobody had
it before I change the display file and its underlying program. Lo and
behold I get a CPF0894 error which basically says I can't allocate a
display file. It certainly seems this limitation has been around for a
very long time, but I've never run into it before.

I'm just wondering if anybody else has ever felt a need to exclusively
lock a display file and if so, how they got around this particular error.

Thanks!

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.