HP System Dictionary/XL SDMAIN Reference Manual (32256-90001)

4- 103
>
MODIFY ATTRIBUTE
Modiļ¬es an attribute.
Syntax
M[ODIFY] A[TTRIBUTE] attribute-name
[;S[COPE-]O[WNER] = scope-owner-name ]
[;LEN[GTH] = attribute-length ]
[;E[DIT-]V[ALUE] = [ attr-edit-value1
[,attr-edit-value2 ]
.
.
.
[,attr-edit-valueN ]]]
.
Parameters
attribute-name Name of the attribute to be modified
scope-owner-name Name of the new owner scope
attribute-length Length ofthe attribute.Youcannot modifythe length ifthe data typeis alias,boolean,
or variable. For the remaining data types, character, floating, and integer, the follow-
ing length ranges are permissible:
Data Type Length
character 1 to 255
floating 4 or 8
integer 2 or 4
attr-edit-value(N) The new edit values for the attribute. The first value you specify is the default value
used whenever you specify an occurrence using this attribute and you do not provide
a value. If there is only one value, it is only a default and no edit check is performed.
However, if there is more than one value, the values specified during CREATE ENTI-
TY, CREATE RELATIONSHIP, MODIFY ENTITY, and MODIFY RELATIONSHIP
commands must match one of the values specified here. If the value entered through
one of these commands is not one of the edit values, an error is returned. Edit values
are not allowed for data types alias and variable. The edit values are a list of values
separated by commas. If the type is boolean, only the values true and false are al-
lowed. If the type is character, any character string less than or equal to the length is
allowed. (If you use any character not allowed in a user-defined name, you must en-
close the value in quotes.) If the type is either floating or integer, any single number
or a number range of the form "number : number" is allowed (if you specify a range as