ASAP 3.0 Client Manual

HP NonStop ASAP Client Manual Page 143 of 161
The Version entity property defines the version number of the Entity definition.
The version number is used by the ASAP Client and Server to validate that they are
both using the same version of the Entity definition. Providing a version number on
both the Client and Server lets the ASAP Client verify that the Entity definition on the
Client matches the Entity definition on the Server.
Although the Version property is optional, HP recommends that you always specify an
entity version.
When a Version number is not defined in either the Client or Server Entity definition, no
version checks are performed by either the Client or the Server (in other words, the
Entity definitions are assumed to match). This implies that removing the version option
from an Entity can force the client to use the current entity definition, even if that
definition does not match the server’s definition of the entity. For this reason, HP
recommends you always provide or update the version number when creating or
updating an Entity definition.
When a Version number is associated with both the Client and Server Entity
definitions, the ASAP Client validates that the two versions match on every query. If
they do not match, the Client issues a warning.
For ASAP System entities, this convention is used for Version numbers:
N.ymmdd
Where N represents the major version of the Entity, y represents the last digit of the
year, mm represents the month, and dd represents the day of the month that the entity
definition was last modified. For example, a system entity with a Version 2.01027 was
updated on 2000/10/27.
Applies to: Client and Server
Default: VERSION ““ - null
Examples
VERSION 2.01027
VERSION 2.001
EDL - ATTRIBUTE Statement
The attribute statement associates user-defined attributes with the most recently
defined entity. Since attribute statements are associated with an entity they must be
proceeded by an entity statement. Subsequent attribute statements define additional
attributes of an entity.