Written by

Question JIM WHEELER · Dec 4, 2024

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

Comments

Julius Kavay · Dec 4, 2024
set sts = ##class(%Routine).CompileList("*.int")
write$system.OBJ.DisplayError(sts)

should do the trick

0
JIM WHEELER  Dec 6, 2024 to Julius Kavay

I tried that one before but it never makes it all the way through because of to many errors

0
Julius Kavay  Dec 6, 2024 to JIM WHEELER

instead of "*.int" you could try to compile in parts, i.e."a*.int", "b*.int", ... "z*.int"

0
JIM WHEELER  Feb 3 to Julius Kavay

just an fyi. when the .mac's are generated they do not create the associated .int's

0
Enrico Parisi  Feb 3 to JIM WHEELER

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")

0
JIM WHEELER  Feb 3 to Enrico Parisi

that doesn't generate the .int from the .mac, only the existing .mac

0