I'm just trying to see if there is a way to get the value just updated by an
SQL statement, without having to reretrieve the record. I mean, I could
just resort to native data retrieval but was trying to stay with SQL.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Friday, April 13, 2012 9:26 AM
To: Midrange Systems Technical Discussion
Subject: RE: FW: SQL Update value in RPG?

Why would the update program need to perform the logic? Why couldn't the
trigger program? Seriously. What happens if you adopt a batch program, web
interface, C/S interface, etc; do you still want the logic in each of these

But if just HAS to be the update program you could study throwing and
catching exceptions.

Rob Berendt

This thread ...


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

This mailing list archive is Copyright 1997-2019 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].