Primer
Primer
Primer
If you can find an existing Migration Request listing all of the objects you need, Migration Requests can be changed,
edited and exported multiple times. You can either duplicate an existing Request or simply reuse the original Request if it
represents a previous version of your module (as for a defect). Make sure to add a line to the Detailed Description.
After I’ve chosen a Migration Plan for the object, which Selection Type should I
choose?
(1) Specific Key [Recommended] – If you are migrating more than one object for the Migration Plan, you
can use the Add button to create more rows (highlighted in red below).
Primary Key 1-5 Fields are used to identify multi-key objects. For instance, an SA Type being moved
would name Primary Key 1 as the CIS Division and Primary Key 2 as SA Type Code. You can check which
Primary Keys are needed via the Application Viewer. The golden keys indicate the necessary Primary
Keys. They are listed in order.
(2) SQL Statement [Recommended when migrating all configurations] – Uses a WHERE clause of an
SQL statement to determine objects to export. Best when exporting every instance of a configuration.
Only fill in the File Name and Export Description. Do not add “.cma” to the end of the File Name field.
Use the File Name as the Export Description when possible.
What file name do I use for the Migration Data Set Export?
Some general guidelines:
1. Do not use spaces in the CMA file name; replace spaces with underscores
2. Do not use punctuation other than underscores and hyphens (not dashes)
3. One Mercury ticket can have more than one CMA file. If more than one CMA file is needed, consider
a Group Migration Request to export all the Migration Requests to one file.
4. Do not add .cma to the filename as this is automatically added
Pressing Continue will bring you to the Migration Data Set Import page. The Status should be Unchanged
if you just exported it since the source system is the same as the target system.
If the Status is Error with a Log message indicating the file does not exist, try the script again in five minutes. If the
problem persists, contact the DBA team.
Expand the Migration Data Set Impacted Object Summary, and click the Filters button to reveal the
Search fields. Change the Status field to “Include Any Status” and hit Search.
Review the objects that appear in the pane, make the appropriate changes, then export your CMA file
again with the next version number if necessary:
Issue Solution
Remove test configurations.
My CMA file says it imported successfully, but I don’t see the changes in the
target environment.
This could be a cache issue. Ask the DBA or a system admin to flush the cache, or check the database to
confirm the changes (or lack of).
Mercury Ticket
Development.png