Command Line to Upload Customer Data
The action UPLDCUSTDATA is used to upload customer data to the PUM source Database. This action is also used to enable or disable Object Merge.
Command line format:
Changeassistant.bat -MODE UM -ACTION UPLDCUSTDATA -RPSTTYPE <CUST|TEST> -PRJTYPE <MO|ADS> -PRJFROMDB <DB:project> -MRGOPT <Y|N> -PRJFROMFILE <file name> -NEWPRJ <DB:project> -REPLACE <Y|N> -ERRORCONTINUE <Y|N>or
Changeassistant.bat -MODE UM -ACTION UPLDCUSTDATA -INI <path to ini file>Example command line to upload customization project from H9257P08 database project TEST_AE_PC.
Changeassistant.bat -MODE UM -ACTION UPLDCUSTDATA -RPSTTYPE CUST -PRJTYPE MO -PRJFROMDB H9257P08:TEST_AE_PC -REPLACE YExample command line to upload customization project from H9257P08 database project TEST_AE_PC and enable object merge.
Changeassistant.bat -MODE UM -ACTION UPLDCUSTDATA -RPSTTYPE CUST -PRJTYPE MO -PRJFROMDB H9257P08:TEST_AE_PC -REPLACE Y -MRGOPT YNote:
This command first updates the merge option in PUM Source database and then uploads the project.
Example command line to enable object merge.
Changeassistant.bat -MODE UM -ACTION UPLDCUSTDATA -MRGOPT YExample command line to disable object merge.
Changeassistant.bat -MODE UM -ACTION UPLDCUSTDATA -MRGOPT NThe parameters for UPLDCUSTDATA action are:
| Parameter | Description |
|---|---|
|
-MODE |
Change Assistant Action (Required) UM = Update Manager |
|
-ACTION |
Action name (Required) UPLDCUSTDATA = Upload customer metadata and test data. |
|
-RPSTTYPE |
Target Repository Type (Required)
|
|
-PRJTYPE |
Select the customer metadata type (Required)
Note: If the repository type is TEST, MO is the only valid option. |
|
-PRJFROMDB |
Select Existing Database Project(s) Example: -PRJFROMDB DB1:custprj1;DB2:custprj2 Note: Use this option if the project exists in the database. |
|
-MRGOPT |
Enable Object Merge (Optional)
|
|
-PRJFROMFILE |
Select Existing Project File(s) Example: -PRJFROMFILE c:/temp/custprj1;c:/temp/custprj2. Note: Use this option if the project has been copied to file. This option can’t be used with -MRGOPT. |
|
-NEWPRJ |
Create new database project Example: -NEWPRJ DB1:custprj1 |
|
-REPLACE |
Replace existing data if it exists (Optional)
|
|
-ERRORCONTINUE |
Proceed with Uploading Customer Data even if errors are found (Optional)
|
|
-INI |
Path to ini file. |