Developer Documentation Library > Data Model > UNICOM Intelligence Data Model accessories > Metadata Model to Quantum > Defining card, column, and punch code specifications > Clearing old-style card, column, and punch definitions
 
Clearing old-style card, column, and punch definitions
Metadata Model to Quantum cannot remove from a locked version of the questionnaire definition card, column, and punch definitions that were allocated in UNICOM Intelligence Data Model 2.4 and earlier and older products (such as Quanquest 2.3). If you are working on the most recent version, Metadata Model to Quantum will automatically give you the option of creating a new version, from which the old-style definitions can be cleared. However, Metadata Model to Quantum cannot do this if you are working on an earlier locked version of the questionnaire definition (for example, if there are seven versions and you are working on the third version).
What you do in this situation will depend on the changes that have been made in the various versions and what you are trying to achieve. Here are some options:
You could leave the old-style allocations in place and enter manual allocations on the earlier locked version. The manual allocations will take precedence over the old-style allocations. This is generally an acceptable solution when there are a limited number of variables involved.
You could leave the old-style allocations in place and run Allocate Cols and Punches on the earlier locked version. Allocate Cols and Punches will not overwrite the old-style definitions and will take them into account when creating definitions for categories and variables.
You could use a combination of the previous two methods.
You could select the most recent version of the questionnaire definition and then attempt the clear again. Metadata Model to Quantum will then give you the option to create a new version and clear the old-style punches from that version. This might be an acceptable solution if the changes in the intervening versions have involved addition and not deletion of variables and categories.
You could use the Metadata Model Version Utility to extract the earlier locked version as a separate file. If you open that in Metadata Model to Quantum, you will be able to clear the old-style card, column, and punch definitions because it will be the most recent version in that file.
See also
Clearing all card, column, and punch definitions
Defining card, column, and punch code specifications