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

Delete Attribute

Use this command to delete an Attribute.

An attribute is data used to describe the characteristics of an object in Longview. For example, SWFAdminEMail is an Attribute representing the email address of an Administrator.

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.

Copy

Syntax regular

DELETE ATTRIBUTE AttrClass AttrName            

where:

  • AttrClass is the Attribute class. Select one of the following:
    AttrClassDescription

    SYSTEM

    Describes the entire system at the highest level. Attributes of this Attribute class specify system-wide characteristics. There is only one object in the SYSTEM Attribute class: DBDEFAULT.

    USER

    Describes the Attributes of a particular user. Each user is an object in the USER Attribute class.

    SYMBOL

    Describes the characteristics of individual symbols. Each symbol is an object in the SYMBOL Attribute class.

  • AttrName is the name of Attribute to delete.
Copy

Syntax example

MAINTENANCE ON
DELETE ATTRIBUTE SYSTEM TESTSYSTEM             
MAINTENANCE OFF

Creating an ASCII input file

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

Create an ASCII file containing the following information:

AttrClass{AttrName

Copy

Syntax (with an ASCII file)

DELETE ATTRIBUTE @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.

Copy

Syntax example

MAINTENANCE ON
DELETE ATTRIBUTE @sysatr.asc                                        
MAINTENANCE OFF

Published:

Delete Attribute

Use this command to delete an Attribute.

An attribute is data used to describe the characteristics of an object in Longview. For example, SWFAdminEMail is an Attribute representing the email address of an Administrator.

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.

Copy

Syntax regular

DELETE ATTRIBUTE AttrClass AttrName            

where:

  • AttrClass is the Attribute class. Select one of the following:
    AttrClassDescription

    SYSTEM

    Describes the entire system at the highest level. Attributes of this Attribute class specify system-wide characteristics. There is only one object in the SYSTEM Attribute class: DBDEFAULT.

    USER

    Describes the Attributes of a particular user. Each user is an object in the USER Attribute class.

    SYMBOL

    Describes the characteristics of individual symbols. Each symbol is an object in the SYMBOL Attribute class.

  • AttrName is the name of Attribute to delete.
Copy

Syntax example

MAINTENANCE ON
DELETE ATTRIBUTE SYSTEM TESTSYSTEM             
MAINTENANCE OFF

Creating an ASCII input file

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

Create an ASCII file containing the following information:

AttrClass{AttrName

Copy

Syntax (with an ASCII file)

DELETE ATTRIBUTE @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.

Copy

Syntax example

MAINTENANCE ON
DELETE ATTRIBUTE @sysatr.asc                                        
MAINTENANCE OFF

For an optimal Community experience, Please view on Desktop