compilation error iris terminal class not found
Hello all, i am new to IRIS in combination with VSCode, can anyone guide why this error appears ? Any suggestions are welcome. Thank you in advance.
Comments
Your subject (compilation error iris terminal class not found) and the screenshot
- workinhg on Class: Class TESTsAMTraining.NewClassDemo1
- calling a class: do ##class(MyCos.COSTest).Main
- and the error message: <CLASS DOES NOT EXISTS>
do not match!
I do not see anything about a "compilation error" on the other hand, there is an error saying, a class do not exists.
So please help us to help you and try to give us correct data about your problem.
Thank you.
@Alexandra Mirzac - welcome to the Community :) I would suggest the following:
1) Make sure you have saved and compiled your class, and that it returned with no errors.
2) Make sure when you are testing in Terminal you are connected to the correct Instance and the correct Namespace
3) Double-check spelling and case in your Terminal command compared to your compiled classname
Please try those things out and let us know if that moves you forward.
Hi Alexandra,
If you switch from the Terminal tab to the Output tab and then select ObjectScript from the options dropdown, you will be able to see the compilation status for classes and tables. This will tell you the compilation errors for if / why your classes are not compling.
yes i this message ....but in iris terminal i get the above mentioned error
Alexandra, looks like you have two different namespaces FILERO and FILEROIRIS, could you please double check you are into right namespace ?
FILEROIRIS
in the screenshot above you are trying to run the class in the FILERO Namespace. Did you try running that command in FILEROIRIS?
i hv recently tried to switch to FILEROIRIS namespace but it cant switch, i get an error ....the only namespace i can switch is FILERO
Knoten: HOME4, Instanz: IRIS
USER>zn "fileroiris"
ZN "fileroiris"
^
<NAMESPACE>
USER>zn "filero"
FILERO>
i want to switch to fileroiris namespace...instead of this only filero namespace is available and accesible
Knoten: HOME4, Instanz: IRIS
USER>zn "fileroiris"
ZN "fileroiris"
^
<NAMESPACE>
USER>zn "filero"
FILERO>
From your initial screenshot:
.png)
Perhaps you need to be on the 'filerodev2023' Instance, rather than the 'IRIS' instance and you show above on your HOME4 node?
Is there some deeper reason not to contact LIB-IT DMS that produced FILERO ?
They should know from the hip where their code is located and how to move it.
As your installation is talking German, there should be no lingual hurdle.
They even offer TeamViewer Support
As a new hacker it's wise to study concepts and structures of your hacking target first.