UPDATE SCRATCHPADENTRY (Update a scratch pad entry)
Use this command to update data on a line in the scratch pad.
Privilege class
To issue this command, you must have system privilege.
Syntax
Parameters
- major_category (Required)
- Specifies the major category in which data is to be updated. This parameter is case sensitive.
- minor_category (Required)
- Specifies the minor category in which data is to be updated. This parameter is case sensitive.
- subject (Required)
- Specifies the subject under which data is to be updated. This parameter is case sensitive.
- Line (Required)
- Specifies the number of the line on which data is to be updated.
- Data (Required)
- Specifies the new data to be stored on the line. Previous data is deleted. You can enter up to 1000 characters. Enclose the data in quotation marks if the data contains one or more blanks. The data is case sensitive.
Example: Update a scratch pad entry
Update the vacation contact details of an administrator, Jane, in a database that stores
information about the location of all
administrators:
update scratchpadentry admin_info location jane line=2 data=
"Out of the office until 18 Nov."Related commands
| Command | Description |
|---|---|
| DEFINE SCRATCHPADENTRY | Creates a line of data in the scratch pad. |
| DELETE SCRATCHPADENTRY | Deletes a line of data from the scratch pad. |
| QUERY SCRATCHPADENTRY | Displays information that is contained in the scratch pad. |
| SET SCRATCHPADRETENTION | Specifies the amount of time for which scratch pad entries are retained. |
