Thanks all. I found what I needed in the KSAM manual as pointed out by many here. Now its time to roll up the sleeves and find the coding mistake I made which is causing this. Thanks again.