Hi,
What's the reason to select all entries for the company?
There are 2 enquiries in the system STMT.ENT.BOOK, STMT.ENT.VALUE which allow you get statement entries for particular account. You can also use som concat files for the processing of entries:
ACCT.ACCT.ACTIVITY
ACCT.ACTIVITY
ACCT.ENT.TODAY
...
Maybe it helps...