Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Storing OS command output in a ODI variable

User554830Jul 16 2014 — edited Jul 21 2014

Hi,

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

OdiOSCommand

#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 ?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 18 2014
Added on Jul 16 2014
2 comments
3,154 views