2 Replies Latest reply on Jul 21, 2014 2:23 PM by _Phil

    Storing OS command output in a ODI variable




      I need to count files in a linux directory and store the result in a ODI variable for further processings.


      I tried creating a procedure using ODITools technology and command as under



      #CountFiles = ls  /export/home/abc/Testing |wc -l


      The above procedure is executing without errors but no data is getting stored in the ODI variable .


      I am new to this technology . Can someone please suggest a way to do this ?