Extended modules > Creo Elements/Direct Part Library > Administration > Creo Elements/Direct Part Library administration > Migration of information
  
Migration of information
From Creo Elements/Direct 18.0 onward, information from releases before Creo Elements/Direct Part Library 18.0 can be migrated to Creo Elements/Direct Part Library 18.0 or higher.
* 
For information on migration best practices, see <Creo Elements/Direct Part Library installation location>/sd4/customizations/PartLibrary/Customization Migration Notes.pdf and <Creo Elements/Direct Part Library installation location>/sd4/customizations/PartLibrary/library_part_migration.pdf.
You must review the results of migration and if required, manually correct it.
To migrate information,
1. Start Creo Elements/Direct Part Library.
2. Type library_parts_migration in the user input line. The Migration dialog box opens.
3. In the OldDir box, type the path of the directory which contains the information to be migrated.
4. In the NewDir box, type the path of the new directory which should contain the migrated information.
* 
You can also set the directory paths by default, by adding the following environment variables:
PART_LIBRARY_COMPANY_DIR: specify the path to the old directory.
PART_LIBRARY_PARTS: specify the path to the new directory.
5. In the Progress box, type the name of the log file for the migration status. You can also check the migration status in the Log Window (Click View and then, in the Window group, click the arrow next to Toolbars. Click Console).
6. Click the Warnings check box and in the Warnings box, type the name of the log file for warnings.
7. In the Errors box, type the name of the log file for errors.
* 
The log files for errors and warnings are created only if errors and warnings are found during migration.
8. Click to start the migration.
Some examples of the errors and warning and their meanings are as follows:
Errors and their meanings
Examples of errors
Meaning
2011.02.11 09:36:57 - <NEW PART normteile/company/T-Stück_DIN2615_154x2_14301 was not migrated. file X:/customer/isover/sd/sdp_customer/normteile/company/T-Stück_DIN2615_154x2_14301.pkg does not exist.>
The file specified for migration is deleted by the user.
2011.02.11 09:56:46 - <ERROR reading cfg file of group <normteile/company/my_special_screws>>
The configuration (*.cfg) file for the specified group is deleted or contains syntax errors.
2011.02.11 10:02:30 - <ERROR reading msg file of group <normteile/company/my_special_screws>>
The message (*. msg) file for the specified group is deleted or contains syntax errors.
2011.02.11 10:02:50 - <object=normteile/profile/dinen10060_h6 was not migrated, because standard dinen10060_h6 has been removed from installed base (standard has been cancelled)>
The standards are superseded by other standards and hence cannot be migrated.
2011.02.11 10:10:17 - <EXISTING PARAMETER PART normteile/muttern/dn315 was not migrated. There is no key column SID or NAME in the customized data table>
The customized data table must include the column SID as it is the key column. If the user has deleted the SID column, no migration is possible.
2011.02.11 10:22:18 - <EXISTING PARAMETER PART normteile/muttern/dn315 was not migrated. Error import of data table X:/customer/isover/sd/sdp_customer/normteile/muttern/dn315.par>
The customized data table file contains syntax errors.
Warnings and their meanings
Examples of Warnings
Meaning
2011.02.11 08:19:31 - <EXISTING PARAMETER PART normteile/dichtringe/dn7603_form_a : row SID=din7603a_6.7_9.4_1 column DN : value=<6.05> is different to original table (original value =<6>).>
The values in the original data table are modified.
2011.02.11 10:42:19 - <EXISTING PARAMETER PART normteile/gleitlager/dn1494 : The row SID=din1494_75_80_50_D is not part of the customized data table. Row has been marked as deleted.>
A row in the original data table is deleted.
2011.02.11 08:19:31 - <EXISTING PARAMETER PART normteile/dichtringe/dn7603_form_a : The column DESCRIPTION_ENGLISH is not part of the customized data table.>
A column in the original data table is deleted or the columns in the original data table do not match the migrated version.
2011.02.11 08:30:35 - <WARNING NEW GROUP name=<company/screws> has to be renamed to <company/screws>_138475238 (reason : uniqueness)>
An object name is not unique in the Part Library tress structure. The migration process renames such objects.