I am placing Cache instance in backup mode by using the command:
csession <INST> -U%SYS "##Class(Backup.General).ExternalFreeze()"
and I see in the console log a message similar to follows:
"Journaling switched to: /cache/mgr/journal/20170330.002"
Now, is there a way to programmatically find out this journal file name? In fact, I am interested to find out the journal file that is switched. For example, in the above case, that would be "20170330.001".