Discussion (1)2
Log in or sign up to continue

The error arises because using the multi-variable SET syntax like SET ($ZE,$EC)="" on special variables such as $ZE and $EC is not supported in InterSystems IRIS. These special variables have specific restrictions and cannot use certain syntaxes for assignment. Instead, you need to use the single-instruction form, e.g., SET $ZE="", $EC="" [1][2].

The multivariable SET syntax only works with standard variables but not special variables due to these restrictions [1][2].

Sources: