Valid in: | |
Default: | none |
Restrictions: | Informix and OLE DB support only SQL_FUNCTIONS=ALL.
You must specify a two-part data set name, such as <libref.member> or an error results. <libref.member> must be a SAS data set. No check is performed to ensure that it is assigned to the default Base SAS engine. |
Data source: | Aster nCluster,
DB2 under UNIX and PC Hosts, DB2 under |
See: | SQL_FUNCTIONS_COPY= LIBNAME option |
data work.newfunc; SASFUNCNAME = "sasname"; SASFUNCNAMELEN = 7; DBMSFUNCNAME = "DBMSUDFName"; DBMSFUNCNAMELEN = 11; FUNCTION_CATEGORY = "CONSTANT"; FUNC_USAGE_CONTEXT = "WHERE_ORDERBY"; FUNCTION_RETURNTYP = "NUMERIC"; FUNCTION_NUM_ARGS = 0; CONVERT_ARGS = 0; ENGINEINDEX = 0; output; run; /* Add function to existing in-memory function list */ libname mydblib oracle sql_functions="EXTERNAL_APPEND=work.newfunc" sql_functions_copy=saslog;