1 Delete ---------------------------------------------------------------------- Enables you to delete a baseline or node from the current session. delete enables you to delete both selected and non-selected baselines or nodes (or all) from the current session. 1.1 Syntax hpsum delete [--nodes [nodelist]] [--baselines [baselinelist]] [Warning] Warning! If you do not specify parameters for the Delete function (for example if you type hpsum delete), HP SUM will delete all nodes or baselines. For example, the command hpsum delete /nodes deletes all nodes. 1.2 Parameters The delete command provides the following options: +------------------------------------------------------------------------+ | Option | Description | |----------------------------+-------------------------------------------| | hpsum | The HP SUM script initiates this action. | |----------------------------+-------------------------------------------| | delete | The command to delete nodes or baselines | | | from the HP SUM session. | |----------------------------+-------------------------------------------| | | Object to perform the delete operation. | | --nodes [nodelist] | Delimit the list with a space. If you do | | | not provide a nodelist, all nodes are | | | deleted. | |----------------------------+-------------------------------------------| | | Object to perform the delete operation. | | --baselines [baselinelist] | Delimit the list with a space. If you do | | | not provide a list of baselines, all | | | baselines are deleted. | +------------------------------------------------------------------------+ 1.3 Return codes +------------------------------------------------------------------------+ | Return Code | Windows | Linux | Text | |------------------------+---------+-------+-----------------------------| | SUCCESS_NO_REBOOT | 0 | 0 | The command was successful. | |------------------------+---------+-------+-----------------------------| | | | | The command completed | | | | | successfully, but was not | | | | | required or everything was | | SUCCESS_NOT_REQUIRED | 3 | 3 | already current. | |------------------------+---------+-------+-----------------------------| | FAILURE_GENERAL | -1 | 255 | A general failure occurred. | | | | | For details, see the logs. | |------------------------+---------+-------+-----------------------------| | | | | A bad input parameter was | | FAILURE_BAD_PARM | -2 | 254 | encountered. For details, | | | | | see the logs. | |------------------------+---------+-------+-----------------------------| | FAILURE_COMMAND_FAILED | -4 | 252 | The command failed. For | | | | | details, see the logs. | +------------------------------------------------------------------------+ 1.4 Example Windows sample command line C:\> hpsum delete /baselines "spp 2012 01" Linux/HP-UX sample command line $ hpsum delete --baselines "spp 2012 01"