|
Phil: You got to talk 400 not PC. I think you are trying to say the record(row) counter is adding up. Now you need another variable to accum your Data Field(column) into. Data manipultors (PC'ers) speak in spreadsheet terms. A row is a RECORD and column is a FIELD of the RECORD(row). -----Original Message----- From: Jim Langston <jlangston@conexfreight.com> To: RPG400-L@midrange.com <RPG400-L@midrange.com> Date: Wednesday, September 08, 1999 9:22 AM Subject: Re: I am new to RPG language...need some pointers! >I don't quite understand your problem. You say you are getting the correct >total for the number of records, but not for your additions of the columns? > >Regards > >Jim Langston > >Phil & Vera Hayes wrote: > >> How do you set a counter to read a record at a time within a DOWHILE loop? I >> am getting a correct answer to the row level, but not on the column level or >> grand total. This would help greatly!!! >> >> Phil >> >> +--- >> | This is the RPG/400 Mailing List! >> | To submit a new message, send your mail to RPG400-L@midrange.com. >> | To subscribe to this list send email to RPG400-L-SUB@midrange.com. >> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. >> | Questions should be directed to the list owner/operator: david@midrange.com >> +--- > >+--- >| This is the RPG/400 Mailing List! >| To submit a new message, send your mail to RPG400-L@midrange.com. >| To subscribe to this list send email to RPG400-L-SUB@midrange.com. >| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. >| Questions should be directed to the list owner/operator: david@midrange.com >+--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.