Shared library functions

Module documentation and detailed description for shared library functions.

Function/Subroutine documentation

  • subroutine nzaeGetLibraryFullPath(handle, name, caseSensitive, path)

    Returns the path to the shared library associated with the specified name.

    • Parameters
      • handle

        (integer) The handle passed to nzaeHandleRequest .

      • name

        (character*) The name of the shared library.

      • caseSensitive

        (integer) The value is 1 for a case sensitive look up; 0 for a case-insensitive look up.

      • path

        (character*) The file path of the shared library.

    The path is an empty string if the shared library is not found.

  • subroutine nzaeGetNumberOfSharedLibraries(handle, number)

    Returns the number of shared libraries registered in the Netezza system and available to this run of the AE.

    • Parameters
      • handle

        (integer) The handle passed to nzaeHandleRequest .

      • number

        (integer) The number of available shared libraries.

    This function is used while running an AE. Use the for-process version to handle the shared libraries while setting up a remote AE.

  • subroutine nzaeGetNumberOfSharedLibrariesForProcess(handle, number)

    Returns the number of shared libraries registered in the Netezza system and available to the AE process.

    • Parameters
      • handle

        (integer) The handle passed to nzaeHandleRequest .

      • number

        (integer) The number of available shared libraries.

    This routine is generally used while setting up remote AEs. Use the non-for-process version to handle shared libraries while setting up a remote AE.

  • subroutine nzaeGetSharedLibraryInfo(handle, index, name, path, autoload)

    Returns the shared library information for the running AE.

    • Parameters
      • handle

        (integer) The handle passed to nzaeHandleRequest .

      • index

        (integer) The index of the shared library.

      • name

        (character*) The registered name of the shared library.

      • path

        (character*) The full path to the shared library.

      • autoload

        (integer) The value is 1 if the library is set to auto-load; 0 otherwise.

    This function is used while running an AE. Use the for-proccess version to handle the shared libraries while setting up a remote AE.

  • subroutine nzaeGetSharedLibraryInfoForProcess(handle, index, name, path, autoload)

    Returns the shared library information for the process of the running AE.

    • Parameters
      • handle

        (integer) The handle passed to nzaeHandleRequest .

      • index

        (integer) The index of the shared library.

      • name

        (character*) The registered name of the shared library.

      • path

        (character*) The full path to the shared library.

      • autoload

        (integer) The value is 1 if the library is set to auto-load; 0 otherwise.

    This routine is generally used while setting up remote AEs. Use the non-for-process version to handle shared libraries while setting up a remote AE.