system
October 10, 2008, 11:26am
1
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)
system
October 10, 2008, 11:45am
2
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.
eepjr24 (BOB member since 2005-09-16)
system
October 10, 2008, 12:30pm
3
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)
system
October 10, 2008, 12:49pm
4
Hi all,
I try to run a dos bat file to do certain file issues. here is the command:
exec(‘cmd’,‘D:\Data\DataIntegrator\copy_xyz_file.bat’,0);
However it returns an error:
5968 5776 RUN-050304 16-9-2008 15:16:24 Function call <exec ( cmd, D:\Data\DataIntegrator\copy_xyz_file.bat, 0 ) > failed, due to error <50306>: <Function
5968 5776 RUN-050304 16-9-2008 15:16:24 failed to execute program <cmd D:\Data\DataIntegrator\copy_xyz_file.bat>. Program terminated with exit code <1>.>.
5968 5776 RU…
Hello,
In DI 6.5, I try to perform a lookup_ext on a file in a script.
According to the return value, I try then to delete it. And my script end in error, as the file cannot be deleted.
I checked all obvious possibility, and all permissions are OK: I can delete that file if I do not perform the lookup previously.
I suppose I have a lock issue whan the lookup is performed…
Anyone as a clue ?
Thanks a lot,
Stephane.
dataintegrator.net (BOB member since 2006-01-12)
eepjr24 (BOB member since 2005-09-16)