So no reply for my query bro?
Have you looked n the COBOL Language Reference? Is there smething that is not yet clear? If you found somethng n the manjual that is confusing, post that content here and someone here will be able to clarify.
Hint - If you have something that is critical/urgent, a forum is not the best place to look for a coding solution. Your time would be better spent talking with your manager or another senior on your project and explain where you are stuck and if there is an existing module somewhere on the applicatoin that does something similar.