|
Hi Art,
look here:
-> https://archive.midrange.com/rpg400-l/202210/msg00082.html
This topic was discussed at the list multiple times.
The CPA32B2 comes from the OS and can't be catched by SQL itself.
Another solution is to change the SQL defaults from QAQQINI by SQL
procedure calls:
CALL QSYS2.OVERRIDE_QAQQINI(1); -- open options override
CALL QSYS2.OVERRIDE_QAQQINI(2, 'SUPPRESS_INQUIRY_MESSAGES', '*YES'); --
override defaults
[critical section]
CALL QSYS2.OVERRIDE_QAQQINI(3); -- close ovverrides
This solution was proposed by someone on the Midrange list.
HTH
Daniel
Am 17.09.2025 um 18:00 schrieb Art Tostaine, Jr. <atostaine@xxxxxxxxx>:related questions.
I am in RPG dropping a column like this:
exec sql ALTER TABLE QTEMP/WHSR0135Q DROP COLUMN DID CASCADE
I have this statement in the beginning but I still see CPA32B2
exec sql WHENEVER SQLWARNING CONTINUE;
;
Change of file WHSR0135Q may cause data to be lost. (C I)
Looking for some help to get this error to be ignored.
Thanks, Art
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.