To add SYSBldTstSBSpace() to your registration
script:
- In BladeSmith, define the DataBlade module
object that has a data type of BLOB or CLOB.
For
example, create an opaque type called BigType that has a member
of type BLOB.
See Create data types for instructions.
- Choose . The New
SQL File wizard appears.
- In the Descriptive name for SQL text
box, type a name for the SQL file. For example, type SbspaceTest.
- In the Custom SQL create text text
box, type the following statement:
EXECUTE FUNCTION SYSBldTstSBSpace("opt_name");
- Click Next.
- To specify which data types in your DataBlade module
contain smart large objects, click the appropriate objects in the These
objects require this SQL box. For example,
click BigType.
For more information
about dependencies, see Object dependencies.
- Click Finish.
When BladeManager prepares the DataBlade module
for registration, the database server executes the SYSBldTstSBSpace() function
before the SQL statement to create the BigType data type. If
the sbspace specified in SYSBldTstSBSpace() exists,
the database server creates the dependent data type (BigType).
If the sbspace does not exist, the database server writes an error
to a BladeManager log file.
For more information about BladeManager,
see the HCL
Informix®
DataBlade Module Installation and Registration
Guide.