KB0087

Migrating Class Definitions Backwards from Caché 5 to 4.1 and Earlier

Applies to: Caché 5.x

This procedure should be used if you have a Class Definition created with Caché 5.x and you need to import it into 4.1 or earlier.

Procedure

You will need to do at least the following:

  1. Export the Class Definition in CDL format
  2. Edit the CDL file as explained below
  3. Import the CDL file using Caché Object Architect or LoadFile^%apiOBJ

Edits

Make the following edits to the Class Definition:

  1. Remove every line that begins "classtype="
  2. Delete the storage definition line that reads "value (1)  = %%CLASSNAME;"

Note: In 5.x the default method of storing extents is different from earlier versions and is not compatible. If you have classes that make use of extents with populated databases on 5.x, you may not be able to use them.

Last reviewed: Sept 10, 2002

Back to Caché Knowledge Base