you should perform the one-liner as an argument of Xecute command
Bonus: you can New other variables if you want, e.g.
x "new $namespace,P set $namespace=""%SYS"",P(""Globals"")=""%DEFAULTDB"",sc=##class(Config.Namespaces).Create(""%All"",.P)"- Log in to post comments