×
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.
Evidently you need to set EXTIND=*YES with an EXEC SQL SET OPTION statement.
Unfortunately, I was only looking at the UPDATE statement and found no way to activate the option for a single static statement.
Which means that if you want to use an extended indicator arrays with Static statements, you must use them for all statements within the program. Or am I missing something?
With Dynamic statements you can specify the WITH EXTENDED INDICATORS on a Prepare statement, so it can only affects a single statement in the program.
Thanks for the tip Michael, I don't normally look the "Database Embedded SQL programming" manual and do most of my research using the "DB2 for i SQL Reference".
Which also shows the EXTIND with the Set Options statement, it just didn't occur to me that I would need to make a global setting to activate a feature for a single statement.
Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
As an Amazon Associate we earn from qualifying purchases.
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.