One solution is to alter your sql statement and add "WITH NC" to turn off
commitment control. RTM

If you are doing this in RPG you can SQL's version of the H spec
C/EXEC SQL
C+ Set Option
C+ Naming = *Sys,
C+ Commit = *None,
C+ UsrPrf = *User,
C+ DynUsrPrf = *User,
C+ Datfmt = *iso,
C+ CloSqlCsr = *EndMod
C/END-EXEC
See the commit?

Another option, if RPG, is, if you find the above to be too easy and error
proof, to try and remember to compile the programs with COMMIT(*NONE).

See also
RUNSQLSTM COMMIT(*NONE)
RUNSQL SQL(xxx) COMMIT(*NONE)

Another option is to move the file out of qtemp and journal it.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.