uniexp and unimp on UVMS fail with DUAS objects

Document ID : KB000093069
Last Modified Date : 16/05/2018
Show Technical Document Details
Issue:
The commands uniexp and uniimp that are delivered with UVMS in v6.9.01 fail.

When putting the mandatory arguments (area, company etc.) first they are ignored, for instance:

./uniimp  -area X  -company <COMPANY> -mshost <UVMS hostname> -msport <port> -login <login> -pwd <password> -node <DUAS node name> -file "FILE_NAME" -upr "UPROC_NAME"
UniViewer Management Server environment loaded.

Missing -area parameter.


When putting the to be extracted object first it is ignored as well. The error indicates that the object is not found, for instance:

./uniexp  -upr "UPROC_NAME"  -area X -company <COMPANY>  -mshost <UVMS hostname> -msport <port> -login <login> -pwd <password> -node <DUAS node name> -file "FILE_NAME"
UniViewer Management Server environment loaded.

-mshost vmstlrhsup5 -msport 4184 -login admin -pwd ***** -company MNGR62 -node vmstlsles112 -area X -file /tmp/MVE_exp -full false -summary false -overwrite false -bvdep false

***** OBJECT EXTRACTION *****

***** NO OBJECT FOUND MATCHING CRITERIA *****
Cause:
The first argument is not correctly taken into account
Resolution:
Add an additional parameter like [] directly after uniexp / uniimp command.

./uniexp [] -upr "UPROC_NAME"  -area X -company <COMPANY>  -mshost <UVMS hostname> -msport <port> -login <login> -pwd <password> -node <DUAS node name> -file "FILE_NAME"

Alternatively, the Upgrade Toolkit can be used. The commands uniexp and uniimp in the toolkit don't have the issue.