Section 15.1: aace Up Chapter 15: ACE reports Chapter 16: New Display Clients 

15.2 aace_4gl

aace_4gl translates a .aarc file and outputs a .4gl file on stdout. You can compile this with 4glpc to make an executable.
aace_4gl agent[.aarc] > agent.4gl
ACE reports and 4GL reports have traditionally behaved differently in their handling of aggregates. 4GL sum() and group sum() return the counts or rows processed so far, while ACE total of and group total of return the aggregate of all data. Mike Aubury has added a Compatibility option to force the ACE behaviour.
The new compatibility options are: -C, -I, -B

15.2.1 -C Compatibility

Mike Aubury has added a -C option to aace_4gl which generates code which should match the normal ACE behaviour, at the expense of populating and querying a temporary table...
It should autodetect if it can ignore the compatibility mode if it is not required, so you should be safe to -C the aace_4gl anyway..

15.2.2 -I Insert Cursor

There is also another option -I which uses an INSERT cursor to speed up the report (only required if you use -C).

15.2.3 -B Batch Size

you can also specify a batch size with -B..
So for some examples :
aace_4gl -C m1.aarc -o m1.4gl
or
aace_4gl -C -I m1.aarc -o m1.4gl
or
aace_4gl -C -I -B 100 m1.aarc -o m1.4gl
 Section 15.1: aace Up Chapter 15: ACE reports Chapter 16: New Display Clients