Looping in DataStage
Moderators: chulett, rschirm, roy
Hi Kunal,priyadarshikunal wrote:yes it won't work because you are comparing
"true"=true
here quotes are making the difference
Use one of the codes below
And let us know if it works.Code: Select all
Trim(Convert('"','',Convert(@FM,'',Execute_Command_3.$CommandOutput)))="true" Trim(Convert(@FM,'',Execute_Command_3.$CommandOutput),'"',"A"))="true" Convert(@FM,'',Execute_Command_3.$CommandOutput)='"true"'
The follwoing code is working now-
Convert(@FM,'',Execute_Command_3.$CommandOutput)='"true"'
Thanks a lot for helping me on this.