Information: ‘{name}’ is a user-defined command (^%ZLANGC00), so the call is not checked
The command is spelled Z and letters but is not one of IRIS’s own, so it is a user-defined
command. The IRIS instance’s ^%ZLANGC00 routine implements user-defined commands. IRIS
compiles the command and looks it up in that routine when it runs, raising <SYNTAX> if the
routine does not define it. ascot checks the arguments but not the command. Unless every
IRIS instance the code runs on defines it, call a method instead.
IRIS compiles the example, and do ##class(Demo.UserCommand).Log("started") raises <SYNTAX> when it runs.
Class Demo.UserCommand
{
ClassMethod Log(message As %String)
{
ZLog message //! A5362
}
}