Thanks corion
But our code was working earlier which all of the sudden after moved to the cloned version of unix it stopped working. When we debugged the code it stops at flock function. Is there any way we can overcome this. Need expert advise here.
-Prasanna.K