News

Write the record you created in the file definition, or FD. The COBOL code that follows creates and writes a single row to your CSV output file:PROCEDURE DIVISION. OPEN OUTPUT EXCEL-OUTPUT-FILE.