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

Append Attribute

Use this command to append values to a LIST type Attribute.

An attribute is data used to describe the characteristics of an object in Longview. For example, SGPCOMPANYNAME is an Attribute representing the name of your company, and its value is your company name.

This command is useful when you want to append values to an Attribute that is set to a list of values.

Syntax (regular) Longview

APPEND ATTRIBUTE AttrClass AttrName VALUE AttrObject AttrValue

where:

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

    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 called DBDEFAULT which represents the application itself.

    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 Attribute to which you want to append Attribute values.
  • AttrObject is the Attribute object. In the SYSTEM Attribute class, there is only one object — DBDEFAULT.
  • AttrValue is the data you want to append to the Attribute. Separate multiple values with a pipe ( | ).

Syntax example:

APPEND ATTRIBUTE SYSTEM SGPFloatingTimePeriods VALUE DBDEFAULT ISRAB|ISRPFY|ISPNHR

Creating an ASCII input file

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

Create an ASCII file containing the following information:

Syntax

AttrClass{AttrName{VALUE{AttrObject{AttrValue

Syntax (with an ASCII file):

APPEND ATTRIBUTE @Filename

where:

  • If the document is in the same location as lv_af.exe, you do not need to specify the drive or path. If FileName includes spaces, enclose it in double quotation marks; for example:

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

Syntax example:

MAINTENANCE ON

APPEND ATTRIBUTE @sysatr.asc

MAINTENANCE OFF

Published:

Append Attribute

Use this command to append values to a LIST type Attribute.

An attribute is data used to describe the characteristics of an object in Longview. For example, SGPCOMPANYNAME is an Attribute representing the name of your company, and its value is your company name.

This command is useful when you want to append values to an Attribute that is set to a list of values.

Syntax (regular) Longview

APPEND ATTRIBUTE AttrClass AttrName VALUE AttrObject AttrValue

where:

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

    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 called DBDEFAULT which represents the application itself.

    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 Attribute to which you want to append Attribute values.
  • AttrObject is the Attribute object. In the SYSTEM Attribute class, there is only one object — DBDEFAULT.
  • AttrValue is the data you want to append to the Attribute. Separate multiple values with a pipe ( | ).

Syntax example:

APPEND ATTRIBUTE SYSTEM SGPFloatingTimePeriods VALUE DBDEFAULT ISRAB|ISRPFY|ISPNHR

Creating an ASCII input file

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

Create an ASCII file containing the following information:

Syntax

AttrClass{AttrName{VALUE{AttrObject{AttrValue

Syntax (with an ASCII file):

APPEND ATTRIBUTE @Filename

where:

  • If the document is in the same location as lv_af.exe, you do not need to specify the drive or path. If FileName includes spaces, enclose it in double quotation marks; for example:

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

Syntax example:

MAINTENANCE ON

APPEND ATTRIBUTE @sysatr.asc

MAINTENANCE OFF

For an optimal Community experience, Please view on Desktop