4 Replies Latest reply: May 17, 2010 3:59 AM by 754651 RSS

    passing parameters into ODI procedure step which has an OS command


      I have an ODI procedure step which does a directory listing for a specific directory. The command I am using is

      cmd /C dir d:\local_dir /b > D:\dir_list.txt

      I have put on the 'Command on Target' tab. This works fine
      I want to remove the hardcoding for the directory references. I have tried the command

      cmd /C dir '#src_dir' /b > D:\dir_list.txt

      but when this executes it generates an ODI error 'Wrong process return code'

      any suggestions?