transactionsintersystemsintersystems-iris

How can we stop journalling on InterSystems IRIS instance?


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


Solution

  • 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 !
    }