IBM Data and AI Ideas Portal for Clients

Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Post your ideas

If you have not registered on this portal please register at . To complete registration you will need to open the email you will receive from Aha to confirm your identity.

Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea

Help IBM prioritize your ideas and requests

The IBM team may need your help to refine the ideas so they may ask for more information or feedback. The offering manager team will then decide if they can begin working on your idea. If they can start during the next development cycle, they will put the idea on the priority list. Each team at IBM works on a different schedule, where some ideas can be implemented right away, others may be placed on a different schedule.

Receive notification on the decision

Some ideas can be implemented at IBM, while others may not fit within the development plans for the product. In either case, the team will let you know as soon as possible. In some cases, we may be able to find alternatives for ideas which cannot be implemented in a reasonable time.

Additional Information

To view our roadmaps:

Reminder: This is not the place to submit defects or support needs, please use normal support channel for these cases

IBM Employees:

The correct URL for entering your ideas is:

IBM Data Server .Net Provider Support For Informix Types TEXT, BYTE and BOOLEAN

We are in the process of moving from .Net Framework to .Net Core. We currently use the Informix Client SDK ADO.Net drivers to access Informix databases using ADO.Net.

When we tried to migrate to the IBM Data Server Driver (IBM.Data.DB2.dll) we found that calling stored procedures worked except for some types (TEXT, BYTE and BOOLEAN). We contacted IBM and were told to use a workaround to call the stored procedures using TEXT and BYTE types, however this workaround does not follow the best practices set down by Microsoft for calling stored procedures from ADO.Net code. Also due to the generic way our products deal with different database providers, the workaround is not going to work for us.


Workaround suggested was to call the stored procedure using:


command.CommandType = CommandType.Text;

command.CommandText = "CALL test_db2text1(?::TEXT)";


rather than the standard best practise of


command.CommandType = CommandType.StoredProcedure;
command.CommandText = "test_db2text1";

We've been given no response to the question about the BOOLEAN type.


After many weeks of communication about the issue we were told to either wait an unknown period of time for the new "native" Informix .NET Core provider or raise an RFE here. We are pursuing both options at the moment as this is blocking several projects.


If neither of these give a satisfactory result then we will need consider other options, including moving all our Informix customers to another database provider.




Example to replicate the issue (example for TEXT, but BYTE has the same behaviour) (please note the code below is purely test code to show the issue, it is not production code.)


For example with a test stored procedure like:


CREATE PROCEDURE "informix".test_db2text1 (in_test REFERENCES TEXT)






                LET p_Text = in_test;


                return p_Text;



And code like:


string parameterValue = "The quick brown fox jumps over the lazy dog.";

                int parameterSize = parameterValue.Length;


                using (DB2Connection connection = new DB2Connection("Server=mydbserver:9089;Database=mydb1;User Id=myuser;Password=mypassword;Pooling=true"))




                    using (DB2Command command = connection.CreateCommand())


                        DB2Parameter parameter = new DB2Parameter("in_test", DB2Type.Clob)


                                                     Value = parameterValue,

                                                     Size = parameterSize





                        command.CommandType = CommandType.StoredProcedure;

                        command.CommandText = "test_db2text1";

                        DB2DataReader dataReader = command.ExecuteReader();


                        // This will only read 1 row.


                        while (dataReader.Read())


                            if (!dataReader.IsDBNull(0))






                                displayBuilder.AppendLine("Value was NULL");








We get the error:


IBM.Data.DB2.DB2Exception (0x80004005): ERROR [IX000] [IBM][IDS/UNIX64] Routine (test_db2text1) can not be resolved.

   at IBM.Data.DB2.DB2Command.ExecuteReaderObject(CommandBehavior behavior, String method, DB2CursorType reqCursorType, Boolean abortOnOptValueChg, Boolean skipDeleted, Boolean isResultSet, Int32 maxRows, Boolean skipInitialValidation)

   at IBM.Data.DB2.DB2Command.ExecuteReaderObject(CommandBehavior behavior, String method)

   at IBM.Data.DB2.DB2Command.ExecuteReader(CommandBehavior behavior)

   at IBM.Data.DB2.DB2Command.ExecuteReader()





Example of issue for BOOLEAN


C# line like:


                DB2Parameter parameter = new DB2Parameter("test", DB2Type.Boolean);


 Will throw the error:


System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.

Parameter name: Invalid DB2 Type enumeration value=1015.

   at IBM.Data.DB2.TypeMap.FromDB2Type(DB2Type db2Type)

   at IBM.Data.DB2.DB2Parameter.set_DB2Type(DB2Type value)

   at IBM.Data.DB2.DB2Parameter..ctor(String szName, DB2Type db2Type)



The informix article


does list the Boolean issue as a limitation of the driver. It does not list any issues for Text and Byte types.


Concerningly it also lists several other Informix types (like NVARCHAR, etc) that throw exceptions at runtime.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Feb 11 2020
  • Future consideration
Who would benefit from this IDEA? All of our customers would benefit from this as we will continue to be able to provide innovative best in class solutions to our customers.
How should it work?

Please provide full support for the Informix types TEXT, BYTE and BOOLEAN in the IBM Data Server Driver (IBM.Data.DB2.dll), using CommandType.StoredProcedure.


The driver has types of DB2Type.Boolean, DB2Type.Byte and DB2Type.Text available which appear to be there to support Informix but do not work. These could be leveraged to provide the support needed since DB2 does not appear to use those types.

Idea Priority Urgent
Priority Justification This is blocking our move to .Net Core and may cause us to have to move to a different database provider.
  • Attach files

IBM's success depends on gathering feedback from customers like yourself. Aha Ideas Portal is the third party tool through which IBM Offering Managers gather feedback from customers such as yourself.
IBM is a global organization with business processes, management structures, technical systems and service provider networks that cross borders. As such, the information collected through Aha Ideas Portal (Customer Name, Customer Email Address) will be stored by them in the United States, and handled only as per IBM's instructions and policies. Your data (Name and Email Address) will NOT be shared with other IBM customers.
In order to safeguard your information in Aha, do not leave your workstation unattended while using this application, log off after using it, and print only if necessary. If you need to make a hardcopy, remember to pick up the print-out immediately, keep it under lock, and destroy it immediately when no longer needed.
NOTICE TO EU RESIDENTS: per EU Data Protection Policy, if you wish to remove your personal information from the IBM ideas portal, please login to the ideas portal using your previously registered information then change your email to "anonymous@euprivacy.out" and first name to "anonymous" and last name to "anonymous". This will ensure that IBM will not send any emails to you about all idea submissions