Add the C_ORDER Attribute
For the Content and Simulation quadrant of the Compass to work correctly, the C_ORDER attribute must be added to the PART_LIST, CATIA_MODEL, DOCUMENT tables, etc. i.e. all the representations declared in the xml mapping file.
- For VPM 1.6 users: Find the script VPMNewRevVer.clp (for DB2) or VPMNewRevVer.sql
(for Oracle) in: $CATIA/vpm/reffiles/DBMS/ddl.For VPM 1.8 users: Find the script VPM_VPMNewRevVer.clp (for DB2) or VPM_VPMNewRevVer.sql (for Oracle) in: $CATIA/reffiles/DBMS/ddl.
- Edit the script replacing all occurrences of CDAENV with the name of your VPM environment(s).
- For VPM 1.6 users: Run one of the following commands:for DB2:
db2 -tvf VPMNewRevVer.clp
for Oracle:
SQL>@/tmp/VPMNewRevVer.sql
This creates the C_ORDER column in the database.
- For VPM 1.8 users: Run one of the following commands:for DB2:
db2 -tvf VPM_VPMNewRevVer.clp
for Oracle:
SQL>@/tmp/VPM_VPMNewRevVer.sql
This creates the C_ORDER column in the database.
- To migrate to the versioning mechanism, log on as VPM administrator and, for each
environment, run one of the following commands:for DB2:
VPMMigrateRevVer -u db2adm8 -p db2adm8 VPMENV.PART_LIST VPMENV.CATIA_MODEL VPMENV.DOCUMENT
where VPMENV is the environment. For more than one environment, use the command shown below:
VPMMigrateRevVer -u db2adm8 -p db2adm8 MYENV1.PART_LIST MYENV1.CATIA_MODEL MYENV1.DOCUMENT MYENV1.MYDOC11 MYENV1.MYDOC12 VPMMigrateRevVer -u db2adm8 -p db2adm8 MYENV2.PART_LIST MYENV2.CATIA_MODEL MYENV2.DOCUMENT MYENV2.MYDOC21 MYENV2.MYDOC22
for Oracle:
VPMMigrateRevVer -u system -p manager VPMENV.PART_LIST VPMENV.CATIA_MODEL VPMENV.DOCUMENT
- Recompute the PSN library by running the command:
catpsninst.sh PSN.in
for ENOVIAvpm 1.6catpsninst.sh PSN.in –u user –p passwd
for ENOVIAvpm 1.8 and higherwhere PSN.in is the same one as before.
This creates a new libLV0XCDMA.a library.
- Copy the libLV0XCDMA.a library to:
$CAT_CUST/code/steplib//$OS
where $OS is your operating system.