Thanks for your interest in my problem...I am actually blocked...and now facing other problem..after your reply
i tried to print the $< and $> varaibles, but surprise, they are both the same..i dont understand, the suid bit is set and the real user id must be different than the effective user id. And i did run the script as a third user.
Thanks for your response in Advance!!