|
Could you also create a logical over the work file with the whole record as a key, and use the UNIQUE key word? If you consider this solution be sure to read the manual. There could be restrictions that are deal breakers for you. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 01/20/04 08:32:11 To: CN=RPG programming on the AS400/O=iSeries Subject: Re: Store Record Format in an Array I feel pretty comfortable with using the method below. The original file I'm working with is a work file itself. I could create another workfile for the SQL statement and then clear the original workfile and then copy the records from the SQL file back into original file. Is there an SQL statement similar to DELETE DISTINCT * FROM FileName? Thanks, Frank
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.