i just want to add a line to the input so what i have done was :
1) i found the word using POS
2) incremented to + 1 where i need to write.
3) my output stem was OUT. so wrote into it as
OUT.i = substr(...) || substr(..)||date(ordered)|| ....
This way it went succesfully.. am i clear now.. Sorry if confused