Large object types

The large object types BLOB and CLOB let you create variables to hold up to 2GB of unformatted data.

Table 1. Primitive large object types
Primitive Size Data type
BLOB 1 byte to 2GB Binary
CLOB 1 byte to 2GB Character

Compatibility

Table 2. Compatibility considerations for large object types
Platform Issue
COBOL generation Large object types BLOB and CLOB are not supported for COBOL generation.
JavaScript generation The following types are supported: ANY, BIGINT, BIN (but only in the absence of decimal places), Boolean, DataItem, DATE, DECIMAL, Delegate, Dictionary, FLOAT, INT, NUM, NUMBER, SMALLFLOAT, SMALLINT, STRING (but only in the absence of a size limit) , TIME, TIMESTAMP, NUM, MONEY, Service parts, Interface parts, External types (stereotype JavaScript), arrays of supported types, and non-structured Basic, Exception, and SQL Record parts.

The following types are not supported: ArrayDictionary, BIN (with decimal places), BLOB, CHAR, CLOB, DBCHAR, HEX, INTERVAL, MBCHAR, NUMC, STRING (with a size limit), PACF, UNICODE, and structured Record parts.


Feedback