Large objects (LOBs) considerations

Use LOBs with iSeries™ Access for Windows® ODBC to store and access large text documents.

Large objects (LOBs):
Large object (LOB) data types allow applications to store large data objects as strings. On V5R1, and earlier servers, the ODBC driver could access LOB fields that were 15 MB or less in size. On V5R2 and later servers the ODBC driver can access 2 GB LOBs.
When uploading large LOB data fields to the server, it is recommended that you use the SQLParamData and SQLPutData APIs. The SQLPutData API sends the LOB data to the server as it is received and reduces the amount of memory needed on the client.
LOB data types:
BLOB
Binary large data objects
CLOB
Single-byte large character data objects
DBCLOB
Double-byte character large data objects
To view an example that uses the BLOB data type:
See Example: Use the BLOB data type
For more information on LOBs:
See the Using Large Objects topic under the Using the Object-Relational Capabilities heading in the SQL Programming Concepts Information Center topic.
DataLinks:
DataLink data types allow you to store many types of data in a database. Data is stored as a uniform resource locator (URL). The URL points to an object, which might be an image file, sound file, text file, and so forth.
For more information on DataLinks:
See the Using DataLinks topic under the Processing special data types heading in the SQL Programming Concepts Information Center topic.