Use these commands to delete content from InfoSphere® Information Analyzer.
IAAdmin -user user_name -password password -url https://host:port option -[suboption]
For example, the following command deletes the metric myMetric
from the project myProject:IAAdmin -user admin -password admin -url https://myhost:9443 -deleteMetric
-projectName myProject -metricName myMetric
Parameter | Description |
---|---|
-user user_name | Name of the user (required) |
-password password | Password to use (required) |
-help or -h | Displays list of available IAAdmin parameters |
-v | Verbose. If specified, success or failure error codes are displayed on the console or are sent to the specified file. The success code is (200). Error code 400 indicates that the request was bad. Error code 500 indicates that there was a server error. Consult the application server log files for more details. |
-url https://host:port | Host name and port number of the server (required) |
Content to delete | Option |
---|---|
Delete projects | -deleteProject -projectName project_name |
Delete task sequences | -deleteTaskSequence -projectName project_name -taskSequenceName task_sequence_name |
Delete rule or rule set definitions | -deleteRuleDefinition -projectName project_name -ruleName rule_or_rule_set_definition_name |
Delete executable rules or rule sets | -deleteExecutableRule -projectName project_name -ruleName rul_ or_rule_set_name |
Delete global variables | -deleteGlobalVariables -variable variable_name |
Delete metrics | -deleteMetric -projectName project_name -metricName metric_name |
Delete published analysis results | -deletePublishedResults -projectName project_name -tableName fully_qualified_table_name |
Delete published rule or rule set definition | -deletePublicRule -projectName project_name -ruleName rule_or_rule_set_definition_name |
Delete data rule and rule set output tables | -deleteOutputTable -projectName project_name -ruleName rul_ or_rule_set_name {-executionID execution_ID | -keepLastRuns number of runs to keep | -olderThanNMonths number_of_ months_to_keep | -olderThanNWeeks number_of_weeks_to_keep | -olderThanDate date_in_ yyyy-mm-dd format} |
Delete data rule and rule set execution history and corresponding data rule and rule set output tables | -deleteExecutionHistory -projectName project_name -ruleName rule_or_rule_set_name {-executionID execution_ID | -keepLastRuns number_of_runs_to_keep | -olderThanNMonths number_ of_months_to_keep | -olderThanNWeeks number _of_weeks_to_keep | -olderThanDate date_in_ yyyy-mm-dd_format} |