Skip to Main Content

LiveLabs & Workshops

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!

How to Pass unix command result in evaluate condition in ODI 12C

user6074367Aug 23 2022

Hi All,
I have OS command like below , that returns a result 1 or 0 if the 'STRING' is present inside file , how can i use the outcome of the command in ODI to evaluate to proceed further with other steps , i means if the OS command returns 1 then proceed if it returns 0 then not to proceed .
$ grep -o -i STRING filename.txt | wc -l
Please help with your idea !

Comments
Post Details
Added on Aug 23 2022
1 comment
253 views