Here are the steps to compile and run the attached sample COBOL program (in xlsx.zip) which will create an Excel spreadsheet and change the format, font, color and highlight some of the cells. This sample uses Apache POI based on the POI API documentation. We recommend using the IDE to modify this sample program. The IDE makes it easier to build a source program that uses external java libraries because the IDE Editor gets the fields and methods of the class or object reference using the IDE's "Content Assistant" facility.
You can also compile and run from the command line: From the source folder run: iscc xlsx.cbl, then from the output folder run iscrun XLSX
Article ID: 289
Created: December 12, 2017
Last Updated: January 6, 2026
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=289