Purge Journal Files Using PURGE^JOURNAL
To purge files, use the PURGE^JOURNAL routine or enter 6 at the Option prompt of the ^JOURNAL menu, as shown in the following examples.
Example of running PURGE^JOURNAL directly:
set $namespace="%SYS"
%SYS>Do PURGE^JOURNAL
Example of starting journaling from the ^JOURNAL menu:
%SYS>Do ^JOURNAL
...
6) Purge Journal Files (PURGE^JOURNAL)
...
Option? 6
1) Purge any journal NOT required for transaction rollback or crash recovery
2) Purge journals based on existing criteria (2 days or 2 backups)
Option?
The routine reports on the action taken in response to the option you specify. For example:
Option? 1
The following files have been purged (listed from latest to oldest):
3. c:\intersystems\iris\mgr\journal\20230714.001
2. c:\intersystems\iris\mgr\journal\20230713.001
1. c:\intersystems\iris\mgr\journal\20230710.003
If no files are purged, the following message is displayed:
None purged