InterSystems FAQ rubric
You can search for a specific global variable in the journal file using the ByTimeReverseOrder query of the %SYS.Journal.File class and the List query of the %SYS.Journal.Record class.
The role of each query is as follows.
A) %SYS.Journal.File query of the ByTimeReverseOrder class
You can get the journal file name. Results are returned in descending order of journal file name.
USER>set##classB) %SYS.Journal.Record query of the List class
You can get journal records for a specific journal file.
If you use 2022.2.0+ , you can run the query with %SQL.Statement.
USER>.png)

.png)
.png)


