Problem with ODIFileMove
Hello,
I have found in the documentation that for the ODIFileMove command we can use * for generic characters in the FILE parameter but when I try to execute my command it doesn't work.
My command :
OdiFileMove -FILE=C:\poste_NPA\plz_p1_*.txt -TOFILE=C:\poste_NPA\plz_p1.txt
and the error message associated :
Warning: Could not find file C:\poste_NPA\plz_p1_*.txt to copy.
...
But when I put the complete name of my source file it works well and the rename occurs.
But the name of my source file is suffixed with the date so I would like to rename it everytime no matter the date.
I have try to put it in a ODI tool in a package ODIFileMove but the only difference is that in the Operator the Session succeed but my file is not renamed...
What is the problem please ?
Did someone ever use this function with the * generic characters ??
Thanks in advance
BM