n is an integer in the range 1—1000. The default value is 30.
ErrorPurge is the number of days to keep the error globals for the ^%ETN error handler. Errors older than this are deleted on the next InterSystems IRIS® data platform restart.
Changing This Parameter
On the Startup page of the Management Portal (System Administration > Configuration > Additional Settings > Startup), in the ErrorPurge row, select Edit. Enter a number of days.
Instead of using the Management Portal, you can change ErrorPurge in the Config.Startup class (as described in the class reference) or by editing the CPF in a text editor (as described in the Editing the Active CPF section of the “Introduction to the Configuration Parameter File” chapter in this book).
If you edit this setting, the change is applied the next time you restart InterSystems IRIS.