INSERT MACHINE (Insert machine characteristics information or recovery instructions)
Use this command to add client machine characteristics or recovery instructions to existing machine information in the database.
You can write a program to read files containing the information and generate the appropriate INSERT MACHINE commands.
You can use QUERY commands to retrieve the information if a disaster occurs.
Privilege class
To issue this command, you must have system privilege.
Syntax
>>-INsert MAchine--machine_name--sequence_number----------------> >--+-CHaracteristics--=--text------+--------------------------->< '-RECOVERYInstructions--=--text-'
Parameters
- machine_name (Required)
- Specifies the name of the client machine.
- sequence_number (Required)
- Specifies the sequence number for the line of text in the database.
- CHaracteristics
- Specifies machine characteristics information. You must specify the characteristics or recovery instructions, but not both. Enclose the text in quotation marks if it contains blank characters. The text can be up to 1024 characters.
- RECOVERYInstructions
- Specifies recovery instructions. You must specify the characteristics or recovery instructions, but not both. Enclose the text in quotation marks if it contains blank characters. The text can be up to 1024 characters.
Example: Update a machine's information
For the machine DISTRICT5, insert this characteristics text on line 1: "Machine owner is Mary Smith".insert machine district5 1
characteristics="Machine owner is Mary Smith"
Related commands
Command | Description |
---|---|
DEFINE MACHINE | Defines a machine for DRM. |
DELETE MACHINE | Deletes a machine. |
QUERY MACHINE | Displays information about machines. |