0

Doing DISABLE^%NOJRN pauses journalling for the process. I need to stop/pause journalling for the whole instance. Is it possible?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Evgeny Shvarov
  • 468
  • 5
  • 17

2 Answers2

1

You could always go to the System Management portal and edit each database that you are interested in and disable journaling. I know it's not specifically what you asked but it could help.

Stephen Canzano
  • 296
  • 1
  • 3
1

This completely stops journaling:

ClassMethod StopJournaling()
{
    new $namespace
    set $namespace = "%SYS"
    set x = $$INT^JRNSTOP(.err)
    if (x=0) {
        write "Stopping journaling error code " _ err
    } else {
        write "Stopped journaling"
    }
    write !
}
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
rfg
  • 1,331
  • 1
  • 8
  • 24