Obtain UDX system information programmatically

The user-defined functions API provides a set of functions that you can use to obtain some types of information about the Netezza Performance Server system and the UDX processing.

  • getCurrentLocus()
  • getCurrentDatasliceId()
  • getCurrentTransaction()
  • getCurrentHardwareId()
  • getCurrentUsername()
  • getCurrentSessionId()
  • getNumberDataslices()
  • getNumberSpus()
  • udxLibraryName()
Note: If you build these functions into your UDFs and you later downgrade the Netezza Performance Server release to a 4.5 version, these functions do not exist in that version. You need to rewrite those C++ files to no longer use these functions, or users encounter link errors if they try to run them in the earlier environments.