Migrating PGP and PMR with a Dedicated Executable

Administrators can start the PGP/PMR migration using a dedicated batch.

  1. Run CAAPrdPGPPMRMigration.

    Use the following syntax:

    CAAPrdPGPPMRMigration repository:<Repository> server:<Server> login_ticket:<Login_ticket> mode:<Mode> [verbose:<Verbose>][chunk_size:<Chunk_size>] [check_only:<Check_only>][delete_partial_privateReps:<Delete_partial_privateReps>]
    [[prefix:<Prefix>] | [privaterep_physicalid:<Privaterep_physicalid>]* | [physicalid:<Physicalid>]* | [file_privatereps_pids :<FilePath>] ] [filter_minor:<Filter_minor>] [migrate_minor:<Migrate_minor>]  [max_time_to_run:<Max_time_to_run>]
    

    Examples:

    CAAPrdPGPPMRMigration "repository:"$ADL_ODT_PROVIDER "server:"$server "login_ticket:"$LoginTicket "verbose:true"
    "mode:PMR" "prefix:"${ADL_ODT_UUID} "chunk_size:20“
    CAAPrdPGPPMRMigration repository:PLM1 server:<3DSPACE_URL> login_ticket:<LOGIN_TICKET> verbose:true mode:PMR

  2. Accept a login ticket as input.

    For more information, see Get Login Ticket.

  3. Configure your options for PGP and PMR:
    OptionDescription
    delete_partial_privateReps:true

    Deletes the Private representations that are not found in session or without any linked element. See Partial Access to PGP or PMR Data.

    Important: You must have the required access rights.

    Default value: false.

    max_time_to_run:6000

    Defines the PMR or PGP migration duration in seconds.

    Default value, no maximum time: 0.

    verbose:true

    Provides information about the CATPrdPGPPMRMigrationBatch execution.

    Default value: false.

    mode:PMR

    Runs the PMR migration instead of the PGP migration.

    Default value: PGP.

    chunk_size:1000

    Defines a number of overloadings to be migrated in the same time.

    Default value: 1000.

    check_only:true

    Searches and opens objects to be migrated without executing migration.

    Default value: false.

  4. Configure your options for PGP only:
    OptionDescription
    physicalid:71875266000027B45DA888C20000B887 Runs the migration on these references.

    For multiple references, use multiple tags.

    privaterep_physicalid:71875266000025FC5DA9B3D50002B629 Runs the migration on specific private representations.

    For multiple private representations, use multiple tags.

    prefix:Model6 Runs the migration on the references with this prefix.
    file_privatereps_pids:E:\CAAPrdPGPPMRMigration_PGPWithPrivateRepsPhysicalIds.txt Runs the migration on a list of private representations.
    Note: Administrators must define only one file by line with this option.
    • physicalid
    • prefix
    • privaterep_physicalid
    • file_privatereps_pids
    • No default values for these options.
    • Do not use physicalid, prefix, and privaterep_physicalid in the same time.
    migrate_minor:true

    Forces the migration of PGP representations with minor revision, or pointing elements with minor revision.

    Default value: false.

  5. Configure your options for PMR only:
    OptionDescription
    filter_minor:false

    Forces the PMR migration on BSF Private representations. The non-BSF minor revision Private representations are not migrated.

    Default value: false.

  6. To collect traces, add the following variables:
    VariableDescription
    PGPPMRMigrationOutputIndicates a path for the migration traces

    Example: set PGPPMRMigrationOutput=E:\tmp\TracesPGPPMRMigration.txt

    NetRecordCaptureWithStreams

    Example: set NetRecordCaptureWithStreams=<folder>

    CNEXTOutput

    Example: set CNEXTOutput=E:\traces.txt

    OMB_XML_TRACE

    Example: set OMB_XML_TRACE=<folder>