NXKnowledge

Content Migration Manager > Knowledge base > I-deas

cmmBatch mode delete not supported?

cmmBatch mode delete not supported? Software Versions/Configuration:

========================================

CMM 9.0.3 rev1. (CMM for I-deas)

Description of Problem:

========================================

To make easier the process of deleting migration data customer used the command line utility "CMMBatch" as described in the "Content Migration Manager and NX Migration User's Guide" under "Part VII: Appendices > A. Command line utilities > Batch migration > Other command line options".

Execution of this command:

cmmbatch -mode delete -datatype i -selection testfile.xml -login infodba_laptop-sk_login.xml

where the SelectionFile was created using the Menu-Option "Save selection for batch" in Teamcenter and the right password was added to the LoginFile.

The tool output is:

Checking for currently running TAO ImR services...

TAO ImR services are already running, skipped the launch.

ERROR: 15:46:30,853 - TcLogger$IC_PrintStream.log:?

Activator.start()

WARN : 15:46:30,853 - TcLogger$IC_PrintStream.log:?

starting cmmBatch bundle

WARN : 15:46:30,947 - TcLogger$IC_PrintStream.log:?

starting cmmBatch cmmtc9 bundle

WARN : 15:46:31,244 - TcLogger$IC_PrintStream.log:?

**** 2016-03-01 15:46:31.228 Mode delete not supported in CMMBatch

WARN : 15:46:31,244 - TcLogger$IC_PrintStream.log:?

OSARCH = amd64

WARN : 15:46:31,244 - TcLogger$IC_PrintStream.log:?

**** 2016-03-01 15:46:31.244 Missing or Invalid Mode argument given !

Steps to Duplicate:

========================================

  1. Create a new item using I-deas

  2. Migrate the latest item revision to NX with the CMM

  3. Create a SelectionFile and LoginFile using CMM, modify the LoginFile to contain the right password

  4. Start a command prompt window with a fully configured teamcenter environment

  5. Try to delete the migraton data from the newly migrated item using the cmmBatch-Command

Duplicated in GTAC Office in OOTB Environment: (Y/N with an explanation if No)

============================================================

Y.

Additional data provided: (Y/N)

========================================

N.

Additional Info:

========================================

The correct syntax command is

cmmBatch -mode deleteMigrationData -selection -login [-options ] [-runindir ]

You must specify "deleteMigrationData" option.

The documentation guide "Content Migration Manager and NX Migration User's Guide" seems out of date.

This PR has been opened to request to add this information to the CMM documentation guide. Siemens PLM believes that the problem you reported where cmmBatch mode delete was not supported will be resolved by code changes made to the future release of our product CMM version 11.0.2

PR 7653569 Product Information: Product: TEAMCENTER , Application: INTEGRATIONS , Version: V9.1.2

Source: https://support.sw.siemens.com/en-US/knowledge-base/PL8065383 · retrieved 2026-10-02