Unable to execute the command

Hi ,

I am able to execute the below command from command prompt:

copy /y “V:\All DMAs & DZs by NM and WSZ.x
ls” “\AWDS70010V\vi_data_store\FLAT_FILES\DMA\NEW_FILES”

but when i am executing the same through the BODI as below:

exec (‘cmd’,‘copy /y “V:\All DMAs & DZs by NM and WSZ.xls” “\AWDS70010V\vi_data_store\FLAT_FILES\DMA\NEW_FILES”’,8);

it is giving error.

Can any one tell me the reason.

Rgds,
Subba


SAdusumalli2 (BOB member since 2008-10-10)

Just a guess, but I think it is the backslash character.

604 Data Integrator Reference Guide

If a constant contains a single quote (’) or backslash () or another special
character used by the Data Integrator scripting language, then those
characters need to be escaped.

However, we could be alot more help in the future if you give the error you are receiving, the OS (although in this case it is obviously some flavor of Windows) and the version of DI.

  • Ernie

eepjr24 :us: (BOB member since 2005-09-16)

Hi ,

I am getting the error 50306 and BODIXi 3.0 we are using on windows2000 server.

Rgds,
SubbaRao


SAdusumalli2 (BOB member since 2008-10-10)


eepjr24 :us: (BOB member since 2005-09-16)