|
Could you place a read statement in that loop? I read a file in a CL program several times, but it was several years ago. What statement do you put after the MONMSG? I am the one who originally wrote the question. All these other statements that the others are writing about are not CL statements, so I suppose that officially you can not update a database file in a CL program. Sincerely, Nancy On Tue, 29 Aug 2000 12:09:51 -0400 "Mike Naughton" <mnaughton@juddwire.com> writes: > RPG400-L@midrange.com writes: > >Could you read the file sequentially? Top to Bottom of file. > > Easily: > > DCLF <filename> > > LOOP: > RCVF > MONMSG CPF0864 EXEC(GOTO END) /* end of file */ > > <do your processing here> > > GOTO LOOP > > END: > > Mike Naughton > Senior Programmer/Analyst > Judd Wire, Inc. > 124 Turnpike Road > Turners Falls, MA 01376 > 413-863-4357 x444 > mnaughton@juddwire.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 > +--- ________________________________________________________________ YOU'RE PAYING TOO MUCH FOR THE INTERNET! Juno now offers FREE Internet Access! Try it today - there's no risk! For your FREE software, visit: http://dl.www.juno.com/get/tagj. +--- | 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-2025 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.