Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

OAIP_init_scalar

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

This IP function is called by the OpenAccess SDK SQL engine to get the list of scalar functions supported by the IP. This function is called by the OpenAccess SDK SQL engine once per connection. The IP should call dam_add_scalar or dam_add_scalarEx to add details for each of the custom scalar functions it supports.

int OAIP_init_scalar(
    IP_HDBC            hdbc, 
    XM_Tree        *  pMemTree, 
    DAM_HSCALAR_LIST  pList)

Parameters for OAIP_init_scalar

Parameter Type Description
IN
hdbc IP_HDBC A pointer to connection information maintained by the IP.
pMemTree XM_Tree The tree to use for allocating items with xm_allocItem call.s
pList DAM_HSCALAR_LIST The list to which scalar function information is to be added.
The list to which scalar function information is to be added.
RETURN
int DAM_SUCCESS - on success
DAM_FAILURE - on failure

See also

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