@deepu27,
what happens if you enable the set -x
you commented out in your script?
Does this help you with the further troubleshooting?
As your script stands now (most likely improperly formatted in your post) has no chance to produce anything (but errors/warnings)...
I'd suggest to use the proper forum markdown code tags described here to provide what your actual code attempt looks like.