Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

SetObjInfo

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

This method is used to return schema information about procedure columns.

All values should be set. Set Null values as follows:

  • For a string, set the value to null to null.
  • For an integer, set the value to DAMOBJ_NOTSET.

Refer to Schema definition and management in the OpenAccess SDK SQL Engine Programmer’s Guide for information about each of the values to set.

void SetObjInfo(
String qualifier,
String owner,
String name,
String column_name,
short column_type,
short data_type,
String type_name,
int precision,
int length,
short scale,
short radix,
short nullable,
String userdata,
String remarks)

Parameters for SetObjInfo when using schemaobj_proccolumn

Parameter Type Description
IN    
qualifier String The name of the database in which the table is created.
owner String The owner of the table.
name String The name of the table.
column_name String The name of the column of the specified table.
column_type short Whether the procedure column is a parameter or a result set column
data_type short The data type of the column.
type_name String The X/Open data type name.
precision int The number of digits of mantissa precision.
length int The maximum length for character data types.
scale short The number of significant digits to the right of the decimal point.
radix short Reserved for future use.
nullable short Whether the column can be null.
userdata String Any proprietary data about the column that the IP wants to access. The IP uses dam_describeColDetail to get this information.
remarks String The description of this procedure column.
RETURN    
  NONE  

See also

TitleResults for “How to create a CRG?”Also Available inAlert