Is there a way to compile all of the *.int routines from a command line and get an output of any compile errors?
Is there a way to compile all of the *.int routines from a command line and get an output of any compile errors?
Product version: IRIS 2024.1
$ZV: IRIS for UNIX (Red Hat Enterprise Linux 9 for x86-64) 2024.1.1
Discussion (0)0
Comments
set sts = ##class(%Routine).CompileList("*.int")
write$system.OBJ.DisplayError(sts)
should do the trick
I tried that one before but it never makes it all the way through because of to many errors
instead of "*.int" you could try to compile in parts, i.e."a*.int", "b*.int", ... "z*.int"
thanks!
just an fyi. when the .mac's are generated they do not create the associated .int's
If you want/need to keep the generated .int, then:
set sts = ##class(%Routine).CompileList("*.int","/keepsource=1")
or
set sts = ##class(%Routine).CompileList("*.int","k")
that doesn't generate the .int from the .mac, only the existing .mac