If you let the default SQLCA pull in I believe SQLER3 would have it.
https://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm?info/rzajp/
rzajpmsterrtncd.htm
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bill
Howie
Sent: Monday, September 15, 2014 7:34 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: SQL status code question
Hello all,
I have what is probably a very easy question for the group. I have an
RPG
program with some embedded SQL. The SQL statement does an update to a
file. I would like to be able to capture the number of records that it
updates so that I can report on it. Is there a part of the SQL status
codes that get generated that would hold that kind of data? Any
suggestions would be greatly appreciated. Thanks!
Bill
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550
As an Amazon Associate we earn from qualifying purchases.