Siebel eScript Language Reference > Siebel eScript Commands > BLOB Objects >

Blob.size() Method


This method determines the size of a binary large object (BLOB).

Syntax A

Blob.size(blobVar[, SetSize])

Syntax B

Blob.size(dataType)

Syntax C

Blob.size(bufferLen)

Syntax D

Blob.size(blobDescriptor dataDefinition)

Parameter
Description

blobVar

The name of the binary large object to use

setSize

An integer that determines the size of the BLOB

dataType

An integer value indicating the format of the data in the BLOB

blobDescriptor dataDefinition

A blobDescriptor object indicating the form of the data in the BLOB

Returns

The number of bytes in blobVar; if setSize is provided, returns setSize.

Usage

The parameter blobVar specifies the blob to use. If SetSize is provided, then the blob blobVar is altered to this size or created with this size.

If dataType, bufferLen, or dataDefinition are used, these parameters specify the type to be used for converting Siebel eScript data to and from a BLOB.

The dataType parameter must have one of the values listed for blobDescriptors in The blobDescriptor Object.

See Also

The blobDescriptor Object

Siebel eScript Language Reference