× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Interesting idea, an exit point for a constraint. What would you have it
do?

Try this. Using that table you just created, with the constraint, do an
rpg write with an invalid ActiveRecordCode.
%error should turn on
%status will be interesting. I only notice a couple of constraint error
codes and they point only to referential constraints.
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzasd/stacod9.htm?lang=en
You still may be down to retrieving messages to get the SQL0545 or
whatever is used to display the constraint in error.


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.