Written by

Question Giray Ozel · Mar 2, 2018

Running Cache terminal from cmd

I was able to run the Cache terminal from the command prompt with the following command, in the namespace that I provided in the brackets:

cterm /console=cn_ap:ENSEMBLE[TEST_1]
But the command suddenly stopped opening the terminal in the correct namespace. It just opens it in the default namespace. I tried it with different namespaces or invalid namespaces, it always opens the terminal in the default namespace now.

I cannot figure out what is causing this behaviour.

Comments

Eduard Lebedyuk · Mar 2, 2018

Default namespace has a priority over script namespace. Remove user's default namespace.

0
Giray Ozel  Mar 2, 2018 to Eduard Lebedyuk

That did the trick, but I had the default namespace set until this point and it used to work just fine. Do you have an idea why it suddenly stopped working?

0
Eduard Lebedyuk · Mar 2, 2018

Default namespace has a priority over script namespace. Remove user's default namespace.

Added as an answer.

0
prashanth ponugoti  Nov 4, 2022 to Eduard Lebedyuk

I am getting error , where can I find cterm?

C:\InterSystems\IRISHealth\bin>cterm /console=cn_ap:ENSEMBLE[USER]
'cterm' is not recognized as an internal or external command,
operable program or batch file.

Thanks,

Prashanth

0