z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


snmpInitialize result

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

  • SNMP_MGR_RC_OK if successful.
  • SNMP_MGR_RC_CONFIG_ERROR if there was an error in the configuration file.
  • SNMP_MGR_RC_FILE_ERROR if the configuration file could not be opened.
  • SNMP_MGR_RC_NULL_PTR if this function's configList parameter is NULL and the configFileName parameter is not NULL.
  • SNMP_MGR_RC_INVALID PARAMETERS if the functionsRequested parameter is not SNMP_INIT_FUNCREQ_BASE (0) or SNMP_INIT_FUNCREQ_V1R12 (1).
  • SNMP_MGR_RC_INTERNAL_ERROR if an error occurred in an internal function. See your SNMP manager API log file for more information about the error, including the internal return code value. Your IBM® service representative uses this internal return code to help solve your error.
Rules:
  • Because an SnmpConfigEntry structure is required to create an SNMP session, your SNMP manager must call this function before calling the snmpBuildSession() function. After you are finished using the list of SnmpConfigEntry structures, you must free their storage by calling the snmpTerminate() function.
  • If your functionsRequested parameter is 1, each of the SNMPv3 entries in your configuration file must contain a value for the authEngineID field.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014