please correct my errors.... and please give the correct code....... i am very new to mainframe......
This is a HELP forum, not a DO-YOUR-HOMEWORK-FOR-YOU forum. You have been given the absolute best advice possible for you -- read the Enterprise COBOL manuals. Since you seem to have problems with performing even the simplest tasks asked of you, here is a link to those manuals: http://www-01.ibm.com/software/awdtools/cobol/zos/library/
and you need to use this link and start reading.
Since you are not listening to what you are being told, and we are not able to help you unless you actively start to do something yourself, this topic is locked.