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

4- 53
.
.
[,attr-edit-valueN ]]
.
Parameters
attribute-name External name of the attribute to be created.
internal-name Internal name of the attribute to be created. If not specified, the internal name is the
same as the attribute-name.
attribute-data-type The attribute data type. Valid data types are:
alias
boolean
character
floating
integer
variable
attribute-length Length of the attribute. Legal values are:
Data Type Length
alias 32
boolean 1
character 1 - 255
floating 4 or 8
integer 2 or 4
variable 0 (undefined)
If the attribute-data-type is a character, floating, or integer, the length is required.
Otherwise, this clause is optional and the length is set at the only possible value.
attr-edit-value(N) The edit values for the attribute. The first value you specify is the default value used
whenever you specify an occurrence using this attribute and 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 ismorethan one value, the values youspecifyduring CREATE ENTITY, CRE-
ATE RELATIONSHIP, MODIFY ENTITY, and MODIFY RELATIONSHIP com-
mands must match one of the values specified here. If the value you specify 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 allowed. 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, youmust enclose the value in quotes.) Finally, if the type is either