Page 2 of 2

Posted: Mon Apr 19, 2010 6:22 pm
by ray.wurlod
The code could alternately be invoked through a Routine activity in the sequence. Return all values in a delimited string - ideally a dynamic array because this can manage nulls - and, in the User Variables activity (or anywhere else) use the Field() function to retrieve a particular value.

Posted: Mon Apr 19, 2010 8:33 pm
by DSFreddie
Thanks Kim & Craig for your valuable suggestions.

I am using an Execute command activity that will read the Parameter file ( The file is somethin like this,
filename1=/home/abc/file1.txt
filename2=/home/xyz/file2.txt)

I can grep the file & get the 2 values. I am struggling to capture these 2 values through a USer Variable activity.

Can you pls let me know how we can do it through this activity.

Thanks
Freddie.

Posted: Mon Apr 19, 2010 10:53 pm
by rameshrr3
you need to replace the @FM character from the command output using Convert Function

convert(@FM,"",<Your Cmd Output Activity Variable>)