In COBOL, the OUTPUT mode opens a new or empty file for writing, replacing any existing content. The EXTEND mode opens a file to write records starting at the end of the existing file (appending). INPUT is read-only, and APPEND is not a valid COBOL OPEN keyword.