Yes. GET DIAGNOSTICS gives the "Character in CAST argument not valid" message.
Thanks
-----Original Message-----
From: Luis Rodriguez [mailto:luisro58@xxxxxxxxx]
Sent: Thursday, January 09, 2020 12:38 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: SQL exception diagnostics
Justin,
Have you checked all the GET DIAGNOSTICS options? IIRC, there is one that returns the message text. Another returns you the CPD text. Again, IIRC, is something like DB2_MESSAGE_ID2.
Regards,
Luis Rodriguez
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.