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

4- 57
floating : Floating point zero
integer : Binary zero
variable : No value is assigned
If the attribute is of type boolean the only values allowed are true and false (may be abbreviated T and F,
respectively).
The valid values for the sensitivity attribute are:
private Only the owner scope is allowed access to the entity, unless it assigns access to other
scopes by associating the entity to the scope by means of the ADD SCOPE-ENTITY
command. This is the default.
read Anyscope withread capabilitymay readtheentity. Theowner scopemay, inaddition,
assign modify access to other scopes by associating the entity to the scope by means of
the ADD SCOPE-ENTITY command.
modify Any scope with read capability may read the entity. Any scope with create capability
may read and modify the entity.
You should only specify the attributes sensitivity and id-number for the first version of an entity to be
created. If you do not specify sensitivity for the first version of an entity, it defaults to private. If you
specify sensitivity or id-number for subsequent versions of an entity, they are ignored. If the entity is to be
linked to an entity in the common domain, the sensitivity cannot be greater than the sensitivity of the
entity in the common domain.
To link the entity to an entity in the common domain, the current version must be linked to a version in the
common domain.
Open Mode: Shared-update or exclusive-update
Scope: DA scope or any scope with create capability. The scope with which the dictionary is
open is the owner of the entity.
Example
The following example creates the element %account with element-type of 9 and byte-length of 8. In
addition, it has the cobol-alias ACCT-NO and a description.
>CREATE ENTITY %account;
>>ENTITY-TYPE = element;
>>ATTRIBUTE-LIST = (element-type = 9, byte-length = 8,
>>cobol-alias = ACCT-NO,
>>description = "Each customer has a unique account no.
>>All of the customers' transactions are sorted by
>>date and product number.").
>
CREATE ENTITY-TYPE
Creates a new entity type.