UPDATE CONTACT command
The UPDATE CONTACT command updates the attributes of a contact that is defined on the local system. A contact is a user to whom the Scheduler and Health Monitor send messages.
Important: This command is deprecated for Db2®
version 11.5.8 and will be discontinued in a future release or modification pack.
To create a contact, use the ADD CONTACT command. The setting of the Database Administration Server (DAS) contact_host configuration parameter determines whether the list is local or global.
Authorization
None
Required connection
None. Local execution only: this command cannot be used with a remote connection.
Command syntax
Command parameters
- UPDATE CONTACT name
- The name of the contact that will be updated.
- USING keyword value
- Specifies the contact parameter to be updated (keyword) and the value to
which it will be set (value). The valid set of keywords is:
- ADDRESS
- The email address that is used by the SMTP server to send the notification.
- TYPE
- Whether the address is for an email address or a pager.
- MAXPAGELEN
- The maximum number of characters that the pager can accept.
- DESCRIPTION
- A textual description of the contact. This has a maximum length of 128 characters.