Domino compact -a -B with transactional logs

Greetings,
We have a server base policy which runs daily in night to archive 1 year old emails into archive folder. (Transnational logs are enabled.)

When we run compact -a , it makes archive but does not reduce file size, after that i have to use compact -B option separately which reduces the file size successfully.

My query is can we run ‘compact -a -B’ together? (to first archive then reduce file size)
Does it have any negative impact?

Subject: Answer

Dont mix the commands, just use -a, or -a -j if needed, see “Load compact -?”

Load compact -a path\db.nsf

-A Archive and delete documents without compacting.
-a Archive and delete documents, then compact database.

Subject: Compact

Do not run the Compact -A with the compact -B, as these perform two totally different functions. Compact -a (-A) is to cause the server to archive specific files, while the Compact -B is an inplace compaction with file size reduction, ands this compact also changes teh DBIID, so if you have transaction logging enabled, this will also be effected.

As stated previosuly, you can use the Compact -a to archive and compact the file. If you want file size reduction, you should set a program document to run compact -B after the Archiving is complete. Also, if you use transaction logging with yuour backup, you will need to run the backup program as well.