|
Leaves you few options: Select; When RunQtr = 1; Update MPSSumR %fields(MPBQ1); When RunQtr=2; Update MPSSumR %fields(MPBQ2); ... or Update MPSSumR %fields(MPBQ1:MPBQ2:MPBQ3:MPBQ4); or Update MPSSumR; I am guessing at MPBQ1. This email is so cleaned up I can't see the original file field names used in the array. Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin "Peter Vidal" <Peter_Vidal@xxxxxxxx> Sent by: rpg400-l-bounces+rob=dekko.com@xxxxxxxxxxxx 11/25/2003 11:03 AM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> cc Fax to Subject RE: FREE Code: *RNF0312 and *RNF5377 Errors "%fields must use the file field names, unless renamed within the program, (NOT OVERLAYED, ETC). Not only is the field passing a value, but it is also telling you what field to update. DSPMSGD RANGE(RNF7707) MSGF(QDEVTOOLS/QRPGLEMSG) I bet your fields that begin with 't' aren't in the file either. Hence that is why your original email posted 5 RNF7707 messages - one for the array and 4 for the 't' fields." Yes Rob, You are correct. This morning, I removed the "t"s at the beginning of those fields. Those are OK now but the array field is still in error... Peter Vidal Pall Aeropower Corp. SR Programmer Analyst WWW.Pall.com "A good player makes himself look good; a great player makes the team look good." Author unknown _______________________________________________ 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.