Is it possible to prevent AcuBench from auto generating the default declarative code for the file "open" modes?
We use AcuBench to design the vast majority of our programs, and in any where we add a data set the below code is auto generated. This is even with every one of our data sets set to "do not generate any IO Paragraphs" in the DLT setup.
The end result is any actual error that occurs when the file is being opened is skipped and when an error is thrown its related to the process downstream that is failing due to the file never being opened. For example a 49,02(91,02) file not open on rewrite,delete, later in processing.
I'm able to delete the declaratives manually from the CBL however anytime the source is regenerated they come back.
DECLARATIVES.
INPUT-ERROR SECTION.
USE AFTER STANDARD ERROR PROCEDURE ON INPUT.
0100-DECL.
EXIT.
I-O-ERROR SECTION.
USE AFTER STANDARD ERROR PROCEDURE ON I-O.
0200-DECL.
EXIT.
OUTPUT-ERROR SECTION.
USE AFTER STANDARD ERROR PROCEDURE ON OUTPUT.
0300-DECL.
EXIT.
END DECLARATIVES.
#generate
#acubench
#declarative



