|
Mike, First thing is you do not need the F spec. For the changes to be effective you can: 1) add the "SET OPTION COMMIT = *NONE" in your PGM2) change the commit parameter (set it to *NONE) when you use option 14 to compile
G4! Michael Jacobsen wrote:
I am trying to update multiple rows in a externally described file using embedded SQL. This is the entire sqlrpgle program. It compiles and completes successfully, but I am not seeing any changes in the file. Am I leaving something out? According to all examples I have seen, this should be all I need.Filename UF E K Disk C/Exec SQL C+ Update Filename C+ Set Field1 = 0 C+ Where Field2 = 2005243 C/End-Exec C Eval *InLr = *OnThanks, Mike
___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.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.