Manage C++ files that contain multiple functions

If you create source files that contain more than one user-defined function or aggregate, you can register the functions and aggregates individually. For example, if you create a C++ program that has three user-defined functions, you first create the object files for the host and SPUs by using the nzudxcompile command.

After you have the .o object files for the C++ program, you can then issue three CREATE FUNCTION command statements (which each use the same set of object code files) to register each of the three functions to the Netezza Performance Server system. The CREATE FUNCTION commands add three copies of the same object files, one for each unique function, to the Netezza Performance Server data directory.