There are some rules that apply when specifying version clauses in CA Ideal commands. Following is a description on version clauses and how to use them.
For SQL Dataviews
Only one version is assigned; version 1 in production status. CA Ideal generally does not display this version number or status or require that the user specify it.
For All Entity Types Except Modeled and SQL Dataviews
Each named definition of a given type can exist in one or more forms, called versions, each of which is identified by a number assigned by CA Ideal. There can be as many as 999 versions with the same name. CA Ideal assigns numbers to versions sequentially as they are created, starting with number 1. The application developer cannot modify version numbers.
For CA Datacom/DB Dataviews and Sequential File Dataviews Modeled in the Dictionary
CA Ideal assigns numbers to test versions separately from production and history versions. Test versions are identified as T1 through T999. Production and history versions are identified as 1 through 999.
Editing a definition has no effect on the version number. No matter how many changes are made, the version number remains the same. You can only create new versions with the same name by using the DUPLICATE...NEXT VERSION command. This command makes a copy of an existing version. CA Ideal assigns each new version of a definition the next higher number than the highest previously assigned number. When a version is deleted from the system, unless it was the highest, its number is never reassigned to another version with the same name.
Each definition is uniquely identified by the combination of its type, name, and version number, and can always be referenced by this combination.
There are three cases when you can reference a particular definition without using the version number:
The following is a description about usage of version clauses:
Each version is assigned to a category that is based on the stage it reached in the production process. This category is called the status of the version. A version can be in test status, production status, or history status. Except for dataview entity types, you can only change the status of a version with the MARK STATUS command.
The following rules apply to each type of status:
When a version is created, edited, and tested, and is ready for use in an application, it is marked to production and becomes the production version. Only one version of a definition can be in production status at a time.
A production application must consist of components that are also in production status. This protects its integrity.
History versions of a definition are former production versions of that definition.
The maximum number of history status versions that you can save is recorded in the dictionary (as the ENTY‑HIST‑VERS attribute of the TABLE entity in the DATA‑DICT database). When this number is exceeded, the oldest history versions are automatically deleted. You can modify the installed default of three history versions.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|