|
You're trying to load a record from the file that you're reading that you've already locked. Has nothing to do with the subfile. Post the code for the building subfile routine. Somewhere in there you're locking records and there must be a flaw cause you're trying to get the same record twice. Ron Power Programmer Information Services City Of St. John's, NL P.O. Box 908 St. John's, NL A1C 5M2 709-576-8132 rpower@xxxxxxxxxx http://www.stjohns.ca/ ___________________________________________________________________________ Success is going from failure to failure without a loss of enthusiasm. - Sir Winston Churchill steema@xxxxxxxxxxxxx Sent by: rpg400-l-bounces@xxxxxxxxxxxx 2006/03/16 11:37 AM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> cc Subject Re: RPG Subfile run time error message Nope, it craps out on RRN 175. Makes 0 sense at the moment. > Is it possible that your date range in days is greater than the size of > the field holding it, so it rolls around and begins again? > > lets say the delta of days is 4 years, or 1300 days. If your field is > 3/0 then it can only hold 999 days. > > steema@xxxxxxxxxxxxx wrote: >> HI I am running a fairly basic subfile program in RPG ILE. I get this >> message that is stumping me. For the dates from and to, when I put in a >> huge range this is what occurs. When I put in a smaller range, it does >> not >> occur. >> >> CALL PGM(EDRHKSP) PARM('1' ' ') >> Record 144 member EFLJ6HKPA already locked to this job. >> C >> Record 144 member EFLJ6HKPA already locked to this job. >> C >> I/O error CPF5032 was detected in file EFLJ6HKPA. >> I/O error CPF5032 was detected in file EFLJ6HKPA. >> Unmonitored exception at line 244 >> >> Any help would be greatly appreciated, >> Steve >> > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
As an Amazon Associate we earn from qualifying purchases.
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.