Updates the attributes of a contact. 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
Instance. If there is no instance attachment, a default instance attachment is created.
db2ApiDf.h
SQL_API_RC SQL_API_FN
db2UpdateContact (
db2Uint32 versionNumber,
void * pParmStruct,
struct sqlca * pSqlca);
typedef SQL_STRUCTURE db2UpdateContactData
{
char *piUserid;
char *piPassword;
char *piContactName;
db2Uint32 iNumAttribsUpdated;
struct db2ContactAttrib *piAttribs;
} db2UpdateContactData;
typedef SQL_STRUCTURE db2ContactAttrib
{
db2Uint32 iAttribID;
char *piAttribValue;
} db2ContactAttrib;
This API is not supported on UNIX and Linux. However, you can access the same functionality through the SQL interface.