Adds a contact to the contact list. Contacts are users to whom notification messages can be sent. Contacts can be either defined locally on the system or in a global list. The setting of the DB2® administration server (DAS) configuration parameter, contact_host, determines whether the list is local or global.
None
None
db2ApiDf.h
SQL_API_RC SQL_API_FN
db2AddContact (
db2Uint32 versionNumber,
void * pParmStruct,
struct sqlca * pSqlca);
typedef SQL_STRUCTURE db2AddContactData
{
char *piUserid;
char *piPassword;
char *piName;
db2Uint32 iType;
char *piAddress;
db2Uint32 iMaxPageLength;
char *piDescription;
} db2AddContactData;
This API is not supported on UNIX and Linux. However, you can access the same functionality through the SQL interface.