Running the CATPCCCATLnkToCLOB Batch File

You can use the CATPCCCATLnkToCLOB batch file to upgrade legacy data to a more efficient format introduced in 3DEXPERIENCE R2016x.

Until 3DEXPERIENCE R2015x, CATLnk files were used to store some PLMConnection internal data. Starting from 3DEXPERIENCE R2016x, PLMCoreStreamStorage.Stream CLOB attribute is used for efficiency purposes.

Upgrading your CATLnk files is optional. There is no functional difference between upgraded and nonupgraded data. However, upgraded data open faster.

Note: The opening speed varies depending on the data and your hardware.

The upgrade process is incremental. You can safely stop it, and restart it later.

Important: Complete all the tasks that this page discusses in the order listed.

This task shows you how to:

Generate the Parameter File

This file contains the server connection parameters, and the tool options.

  1. To select the CATPCCCATLnkToCLOB batch file, do one of the following:
    ToolDescription
    Utility... Command
    1. Run the Batch Monitor from a Session
    2. Double-click CATPCCCATLnkToCLOB.
    CATUTIL
    1. Run the Batch Monitor from the Command Line
    2. Run the CATPCCCATLnkToCLOB batch file from the command line.

      For more information, see Running a Batch from the Command Line.

  2. Optional: Define the common parameters to apply.

    For more information, see Defining Common Batch Parameters.

  3. In the CATPCCCATLnkToCLOB dialog box:
    1. Specify the report directory, report name, and the suffix for the report as required.
    2. Click Save.

Result: The CATPCCCATLnkToCLOB batch file generates an XML file with the default tool options in the following directory: E:\tmp\CATPCCCATLnkToCLOB.xml

Optional: Edit the Tool Options

In the XML file, specify the options according to your needs:

Option Possible Values Description
mode check | upgrade

If you specify check, the tool displays the objects that can be upgraded.

If you specify upgrade, the tool upgrades the objects and saves the modifications to the database.

Important:

the value is check, and the objects are not upgraded. Change this value to upgrade to upgrade the objects.

type PLMPort, PLMConnection, or any of their subtypes.

Restricts the operation to the types that you specify.

PLMPort and PLMConnections are specified. Therefore, the operation applies to all their subtypes.

physicalid The physical ID of a PLMPort or PLMConnection (for example, 64892C2B000032B86306FCD40000BC0C) Restricts the operation to the objects that you specify.
exclude The physical ID of a PLMPort or PLMConnection (for example, 64892C2B000032B86306FCD40000BC0C) Excludes the objects that you specify from the upgrade process.
verbose true | false Controls the level of details in the output file.

Run the Batch File

Start the CATPCCCATLnkToCLOB batch file using CATBatchStarter.

You must specify the location of the XML file containing the tool options:

CATBatchStarter -input E:\tmp\CATPCCCATLnkToCLOB.xml

For more information, see Running a Batch from CATBatchStarter.

Result: The batch file generates these files in the report directory:

  • CATPCCCATLnkToCLOB.htm: the summary of the options used by the batch file.
  • CATPCCCATLnkToCLOB_Log.txt: the upgrade log (similar to the standard output).