Previous Topic: Transferring in Batch ModeNext Topic: IDD User-Exit Program


Default Version Number Conventions

The table in this appendix lists the default version number conventions used by CA IDMS data management components when a reference to an entity occurrence does not include a version number.

CA IDMS component

Action

Version selected

DML precompilers

 

Highest existing version number

DDL compilers

Adding new records

Highest existing version number plus 1; for a newly defined record, version number is the dictionary default for new version established by SET OPTIONS statement or 1

 

Adding new schema records, using SHARE STRUCTURE parameter

Dictionary default for existing version established by SET OPTIONS statement

 

Adding new schema elements, using COPY ELEMENTS FROM RECORD syntax

Dictionary default for existing version established by SET OPTIONS statement

 

Establishing element occurrences for schema-defined elements

If the named element does exist, version number is 1

If the schema definition matches the DDDL definition of an existing element, current version number is used; if it does not match, current version number plus 1 is used

IDD DDDL compiler

Adding new records

Highest existing version number plus 1; for a newly defined record, version number is the dictionary default for new version established by SET OPTIONS statement or 1

System generation compiler

Creating new entity occurrences

Dictionary default for new version established by SET OPTIONS statement or 1

 

Modifying an existing entity occurrence

Dictionary default for existing version established by SET OPTIONS statement

Mapping compiler

For maps and panels

Highest existing version number; for new maps and panels, version number is 1

CA OLQ

For q-files

Highest existing version number

 

Accessing schemas

Highest existing version number; if no schema name is specified, CA OLQ selects first schema under which named subschema was compiled and uses the highest existing version number for that schema

CA Culprit

Accessing files, modules, schemas

Highest existing version number

CA ADS generators (online)

 

1

CA ADS/Batch transaction processor

For ADL routines

Highest existing version number

 

For transactions

1

CA ADS/Batch language translator

For transactions and ADL routines

1