InterSystems FAQ rubric
This error occurs when an instance of the class is already open at compile time.
There are two ways to deal with this issue:
- Terminate the process or application that has the instance open
- Compile options in the studio build menu: Check the compile flag “Compile classes in use” and compile.
If you want to determine which process is using the class, try the sample routine below.
/// Test.mac
search(classname) public {
Set pid=""
Set pid=$order(^$Job(pid))
While pid'="" {
Do checkVars(pid,classname)
Set pid=$Order(^$Job(pid))
}.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
