Ibrahim,

the reason your original command did not work was because you used a lower case -m. In your snippet below you changed it to -M which is why it now works.

-m and -M are mutually exclusive. (I believe there is a note stating this in the documentation somewhere)

-m denotes the mapping name, which is typically not the same as the mapping file name
-M denotes the file name of the mapping file

When you are using -m the import tool will look for all the mapping files in the directory specified, open them up and compare your value for -m against the name *inside* the file. If they match it then uses that mapping file.

-M on the other hand will only try to use the specified file and nothing else.

In general, it's better to use -M and specify the full path to the actual file (no need to use -d then). It resolves a lot of ambiguity, since -m might have unintended results if you have 2 mapping files in the directory that has the same name inside.

Calman

On 10-09-07 3:55 PM, Ibrahim Akar wrote:
**
Problem fixed. I created a bat file called "Do-Not-Delete.bat" which is basically this

cd\
cd C:\Program Files\BMC Software\ARSystem\dataimporttool
DataImport.bat -x myServerName -a 2116 -u myAdminUser -p myAdminPass -l "c:\temp\import.log" -M Logistics.armx -d "C:\Program Files\BMC Software\ARSystem\dataimporttool" -o "C:\Program Files\BMC Software\ARSystem\dataimporttool\LogisticsImport.csv"

I changed my Run Process command line to c:\Do-Not-Delete.bat and it works. Thanks for all that tried to help.
--
-Ibrahim Akar


PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL
_attend WWRUG10 www.wwrug.com ARSlist: "Where the Answers Are"_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

Reply via email to