×
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.
Can you show us the error message(s) you are getting?
Paul Therrien
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: Thursday, April 26, 2012 2:10 PM
To: Midrange Systems Technical Discussion
Subject: CPYF lock?
Folks:
I'm working on a problem where we are having problems when using CPYF to add records to a file.
I was reviewing the help text for the CPYF command noticed something ...
During the time a CPYF request is run, the file specified for
the To file (TOFILE) parameter may be locked (similar to an
*EXCL lock with no timeout) so that no access is possible.
This has me somewhat confused ... what do they mean "may be locked" and "similar to an *EXCL lock"?
I tried doing a CPYF to a a file that was allocated with *SHRUPD, but the copy worked fine. The only way I was able to get CPYF to have a problem copying records was if allocated the object with *EXCL myself.
So the questions are ...
a) What determines if the target file is locked or not.
b) What kind of lock is put on the target file (if it's not exactly a *EXCL lock).
c) Is there a way to reproduce the lock so I can diagnose the problem?
Thanks!
david
--
IBM i on Power - For when you can't afford to be out of business
I'm riding on the American Diabetes Association Tour de Cure to raise money for diabetes research! To sponsor me, visit
http://urlq.us/adaride
--
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:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.