Don't forget to put the COMMIT keyword on your F-spec! I've only
noticed mention of the opcodes for commit/rollback, not sure if someone
mentioned the F-spec keyword?
Anyway, John, if you started RPG in 1992, then these have probably been
there the entire time you've coded RPG. (I don't remember exactly when
they were added, but I know they were there in RPG III, so it's been
there since at least the early 90's)
In my experience, it used to be extremely rare that commitment control
was used at all in IBM i shops. (Not just with native I/O but with SQL
as well.) Usage has increased in recent years, but it's still not very
common, which is a shame.
It's strange to me that you knew about it in SQL, but not in native I/O.
My experience has been that any shop using commitment control uses it in
both places.
On 11/18/2015 2:21 PM, John R. Smith, Jr. wrote:
Wow, I have been doing RPG since 1992 and have been an RPG consultant since
1999 so lots of different companies / coding styles in the past 20+ years
and have never seen those two opcodes. I guess I owe someone an apology and
lunch for losing the bet.
Just out of curiosity, was the use of this very rare or have I just not
stumbled into the right companies that use it.
This mailing list archive is Copyright 1997-2026 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.