CLOSE_ON_EXIT

When set to 1 (on, true, yes), this variable enables the automatic closing of all files except print files when a program performs an EXIT PROGRAM statement. When set to 2 it enables the automatic closing of all files when a program exits. When set to 0 (off, false, no), no files will be automatically closed. See File Handling Options in the ACUCOBOL-GT User's Guide, for more information. The default value is 0.