Using a test harness for troubleshooting
Using a UDX test harness may simplify testing and provide improved troubleshooting over the NPS. A detailed description is provided in the Netezza User-Defined Functions Developer's Guide and is not duplicated in this guide; however, some examples are provided here.
Use the the applyopcpp code for these examples. Before running this example, be sure to preregister the code so that it is in local AE mode. All test harness examples are for local AE mode and fail in remote AE mode. See C++ Language Scalar Function for code and registration.