Okay, you were TOLD to go to the COBOL manual, but went to the Internet instead. None of us experienced people are one bit surprised that your attempt to fix your problem failed so miserably. Anyone who takes code -- JCL, COBOL, C, or whatever -- from the Internet without understanding what they are doing deserves whatever happens.
As has been mentioned, (1) you need to follow site standards -- sites have been know to discipline employees up to and including termination for their refusal to follow site standards, and (2) we do not work at your site so we cannot tell you how to get working compile JCL since that relies so heavily upon how your site is set up and what software is installed. You must contact a site support person, your team leader, or coworkers to get the appropriate and correct JCL to compile your code. That compile JCL would then need the OUTDD option added; if you do not know how to add the option to your compile, then talk -- again -- to your site support group, team leader, or coworkers.