APAR status
Closed as documentation error.
Error description
http://www-01.ibm.com/support/knowledgecenter/SSGU8G_12.1.0/com. ibm.cdc.doc/ids_cdc_055.htm?lang=en Smart large object read function for the IBM Informix .NET Provider is documented wrong. The smart large object read function for .NET works differently than for other client APIs. The following pseudo code illustrates the basic structure for reading smart large objects with .NET: conn = new IfxConnection(..)// to SYSCDC database execute function informix.cdc_opensess() // on the same connection IfxBlob( IfxConnection connection )// construct it using the same connection IfxBlob.Open(ReadOnly) // open it IfxBlob.Read(char[] buff) <<< This is Wrong This IfxBlob.Read() is wrong Should be: IfxBlob.Read(long plofd, byte[] buff)
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Informix 11.70, 12.10 * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * See problem conclusion. * ****************************************************************
Problem conclusion
The following corrected pseudo code illustrates the basic structure for reading smart large objects with .NET: conn = new IfxConnection(..)// to SYSCDC database execute function informix.cdc_opensess() // on the same connection IfxBlob( IfxConnection connection )// construct it using the same connection IfxBlob.Open(ReadOnly) // open it IfxBlob.Read(long plofd, byte[] buff)
Temporary fix
Comments
APAR Information
APAR number
IT01588
Reported component name
INFORMIX SERVER
Reported component ID
5725A3900
Reported release
C10
Status
CLOSED DOC
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-05-06
Closed date
2015-10-16
Last modified date
2015-10-16
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C10","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
16 October 2015