Database Management
Reference Manual
Distributed Attributes
: Distributed Attributes and Attribute Syntax
Distributed Attributes and Attribute Syntax
Since more than one instance of a distributed element is handled [n] is used to qualify which instance you are interested in.
The syntax is used on both queries and manipulations of attributes, as well as in PML1 expressions.
Syntax
:
:UDANAME\:UDETNAME
Example
:
-- Query the value of the :local\:process distributed attribute on CE
Q :LOCAL\:PROCESS
:local\process true
-- Set the value of distributed attribute :local\:process to false
:LOCAL\:PROCESS false
-- Query all LNLIST elements where distributed attribute :local\:process equals true
Q
ALL LNLIST WITH (:LOCAL\PROCESS EQ true)
-- Query the value of the second instance of distributed attribute :local\:process
Q :LOCAL\:PROCESS[2]
:local\process[2] true
-- Set the value of the second instance of distributed attribute :local\:process to false
:LOCAL\:PROCESS[2] false
-- Query all LNLIST elements where second instance of distributed attribute :local\:process equals true
Q ALL LNLIST WITH (:LOCAL\PROCESS[2] EQ true)
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.