Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

Delete Rule

Use this command to delete a rule.

This command must be used in conjunction with Maintenance. While it is enabled, no other users can perform maintenance related activities in the Data Server repository. When you are finished, you must remember to disable the Maintenance mode, and thereby allow normal access by other users. For more information, see Maintenance or Exclusive.

Caution: This command cannot be undone. Use with caution.

Syntax:

DELETE RULE RuleID

where:

  • RuleID is the rule ID of the rule to delete.

Syntax example:

APPEND ATTRIBUTE SYSTEM SGPFloatingTimePeriods VALUE DBDEFAULT ISRAB|ISRPFY|ISPNHR

Creating an ASCII input file

To delete a large number of rules, specify the parameters for this command in an ASCII file.

Create an ASCII file containing the following information for each rule:

RuleName

Syntax example:

DELETE RULE @FileName

where:

  • FileName is an ASCII file containing the data. It can include a complete or partial folder path in the format C:\...\FileName. If FileName includes spaces, enclose it in double quotation marks; for example:

    @"C:\My Documents\My Data.txt"

Note: If the document is in the same location as lv_af.exe, you do not need to specify the drive or path.

Syntax:

MAINTENANCE ON

DELETE RULE @rules.txt

MAINTENANCE OFF

Published:

Delete Rule

Use this command to delete a rule.

This command must be used in conjunction with Maintenance. While it is enabled, no other users can perform maintenance related activities in the Data Server repository. When you are finished, you must remember to disable the Maintenance mode, and thereby allow normal access by other users. For more information, see Maintenance or Exclusive.

Caution: This command cannot be undone. Use with caution.

Syntax:

DELETE RULE RuleID

where:

  • RuleID is the rule ID of the rule to delete.

Syntax example:

APPEND ATTRIBUTE SYSTEM SGPFloatingTimePeriods VALUE DBDEFAULT ISRAB|ISRPFY|ISPNHR

Creating an ASCII input file

To delete a large number of rules, specify the parameters for this command in an ASCII file.

Create an ASCII file containing the following information for each rule:

RuleName

Syntax example:

DELETE RULE @FileName

where:

  • FileName is an ASCII file containing the data. It can include a complete or partial folder path in the format C:\...\FileName. If FileName includes spaces, enclose it in double quotation marks; for example:

    @"C:\My Documents\My Data.txt"

Note: If the document is in the same location as lv_af.exe, you do not need to specify the drive or path.

Syntax:

MAINTENANCE ON

DELETE RULE @rules.txt

MAINTENANCE OFF

For an optimal Community experience, Please view on Desktop