|
Hi, In SQL, is there the equivalent of SETLL *HIVAL then READP. I need to find the key of the last record in the file, add 1 to it, then use that as the key for a new record. I wanted to use SQL, because I have a different logical for this file already in the program. I think my field names are getting messed up because of the two logicals. I am using ASSET, a RPG generator, so I can't use PREFIX. Thanks P.S. 44/20. Started on RPG II, Can use the cycle, but usually choose not to. <===================================================> Terri Harteau **************** "There's no point in being grown up if you can't be childish sometimes." - Dr. Who ****************
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.