|
>Paul, > >Could you please clarify? You make it sound as if the RPG program will delete >all the existing records in a file if you code the F specs a certain way. If >that is the case, I would like to know how, especially so I can avoid it. > >I'm with you on the RPG cycle. If the level break indicators were just >invented >today everyone would be hailing them as the solution to all our problems. > >PaulMmn wrote: > >> If you omit the A=Add in the file spec, your program will clear and >> re-populate the file. >> >> --Paul E Musselman >> PaulMmn@ix.netcom.mcom Mmmmm..... I may have been thinking about two different things here.. In the Old Days, you had to code 'A' in the file spec to Add records to an existing file (defined as Update, I believe). UPDATE/ADD does ring a bell... If you coded the file as OUTPUT, you would end up with a default CLRPFM before the program began executing. --Paul E Musselman PaulMmn@ix.netcom.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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.