|
Bruce, One way around this is to change the severity of the error in MSGF(QRPGMSGE) from severity 20 down to a lower number. I have changed a couple of these compiler errors down to severity 08 after proving to myself that it always produces the desired result. One must have a method to handle this at release upgrade time. The changes I make have been applied every release since V4R1 without causing me any problems. The reason I choose 08 is that the no IBM errors have that severity and when I see it on the compile listing I know what it is. Don Tully Tully Consulting LLC. From: RPG programming on the AS400 / iSeries Date: 01/25/05 17:42:34 To: rpg400-l@xxxxxxxxxxxx Subject: Operation Extender N is not allowed if the file is not a disk We've had programmers get too aggressive with the no lock extender on subfiles in the past. Up until v5r3m0 these progs have always compiled, but now we seem to be getting an RNF5252 "Operation Extender N is not allowed if the file is not a disk file." It is a level 20 error so we could ignore it and move on, but my question is why start telling me now? Honestly, I don't know if we've been getting these errors all along or not. If we have, they haven't been severity 20 as all our crt commands specify 10 (which I think is the default). I know the best thing to do is remove the unneeded (n), but other than than any quick workarounds? tia, Bruce in AR
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.