Discussion (5)3
Log in or sign up to continue


set file=$system.Util.ManagerDirectory()_"messages.log"
open file:("RS"):1 w $T  open 2:99
try { for n=1:1 use file read lin use 2 write lin,! } catch { close 2,file  write n_" lines",! }

then use ^SPOOL mapping (OEX) to work on it with SQL

Hi @Eduard Lebedyuk,

How about a custom class query (that read cconsole\messages.log) to solve your problem. ?
(Robert's solution would be faster to code.)

I believe new iris release has structured message log. forget since which release.