NME Integration With Other Components

The following list shows the various ways to invoke the NME engine operation services from other components.

Other than the load/export operation, invocation is available in the mentioned components.

NME OnlineCtl Commands

You can invoke load/export operations from the command line in a similar way how the iWay MDS server is started up.

call "%DQS_HOME%\bin\onlinectl.bat" -config ..\etc\default.serverConfig start

To start an MDS operation, the following command has to be used instead of the start command above.

call "%DQS_HOME%\bin\onlinectl.bat" -config ..\etc\default.serverConfig startMdsOperation {typeId}

The following tables lists and describes the comands available from the command line.

Command

Description

Example

listMdsOperations

Lists all available operations.

listMdsOperations

listRunningMdsOperations

Lists all running operations and wildcards available.

listRunningMdsOperation {typeId} listRunningMdsOperation {typeId} [{typeId} ...]

executeMdsOperation

Invokes an operation and waits until it is finished.

executeMdsOperation {typeId} executeMdsOperation {typeId} [param=value ...]

startMdsOperation

Invokes an operation and returns back.

startMdsOperation {typeId} startMdsOperation {typeId} [param=value ...]

waitForMdsOperationCompletion

Waits until all/specified operations are finished. Wildcards available.

waitForMdsOperationCompletion waitForMdsOperationCompletion [{typeId} ...]

Note:The {typeId} consists of: <type of operation> and <name of operation>.

The available types are:

Example:

startMdsOperation batchLoad.crm_full
startMdsOperation batchLoad.life_full param1=val1 param2=val2
startMdsOperation multiload.batchLoad.crm_full+batchLoad.life_full
startMdsOperation batchExport.master_full
waitForMdsOperationCompletion batchLoad.*
waitForMdsOperationCompletion batchLoad.* batchExport.master_full
waitForMdsOperationCompletion

iWay Software