Executing DPM from Command Prompt

To execute DPM from the command prompt, perform the following

  1. Open Command Prompt.

  2. Enter the path where DPM-Console.exe is located and execute it. The syntax to execute the DPM is:

    <DPM-Console.exe location path> <arguments>

    Where the arguments are:

    Argument

    Description

    -N

    Creates a new instance package for builder generated package.

    -U

    Updates an existing instance package.

    -P

    Creates a new partial instance for DPM generated package.

    -UP

    Updates a partial instance package.

    -V

    Validates environment for cloning. The exit code is a non-zero value in case of an error.

    -B

    Complete path to the builder generated package (.msi or .cab).

    -I

    Complete path to the DPM generated instance package (Valid with U, -P, and UP options).

    -O (optional)

    Overwrites OutputPath Package.

    -OutputPath (optional)

    Output package path. Default value is My Documents.

    -SchemaName (optional)

    Database schema name. Valid with -N and -U options.

    -DatabaseName (optional)

    Database name. Valid with -N and -U options.

    -ReportName (Optional)

    New name for a report in a single-report package (.cab). Valid with -P option. This is mandatory if the target system is the same system; that is, you can create a copy of an existing report with a new name within the same system.

    -ServerReg (optional)

    Database Server Registration name. Valid with -N and -U options.

    -InstanceName (optional)

    Instance Name (New Package Name). Valid with -N options.

    -SystemName [Optional]

    System name. Valid with -N option.

    -ConfigurationData [Optional]

    Input file for reconfiguring design time objects such as LOG Pack Location, ROC Pack Location, REORG Pack Location, EXTRACT Pack Location, and System Pack Location.

    Notes:

    • Valid with -N and -U option.

    • The input file can be a text file which have multiple lines. Each line is separated by the object name and the desired location.

    For example:

    SegmentA.ReportA.AttributeA C:\ExtFileLocA

    SegmentA.Location3 C:\TempLocation

    -PackageName (optional)

    Output package name.

    -PkgInstDir (optional)

    Package Installation Directory. Valid with -N and -U options.

    -Wait (optional)

    Waits after cloning.

    -WaitOnError (optional)

    Waits only if errors occur.

    -help

    Displays usage.

Examples