Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

Common Errors

Every so often, you will make a mistake, and Caché will display an error message. You can find detailed information about all error messages in the Caché documentation. Below you'll see examples of four common errors you'll encounter:

  • <SYNTAX> for extra spaces and misspelled commands.

  • <NOROUTINE> for trying to run routines that don't exist.

  • <NOLINE> for trying to call procedures that don't exist.

  • <UNDEFINED> for trying to use variables that don't have assigned values. The message shows the undefined variable's name preceded by an asterisk.

SAMPLES>write  "hi"

WRITE  "hi"
       ^
<SYNTAX>
SAMPLES>s et x = 5

S et x = 5
^
<SYNTAX>
SAMPLES>sit x=5

SIT x=5
^
<SYNTAX>
SAMPLES>do ^%DD

DO ^%DD
^
<NOROUTINE> *%DD
SAMPLES>do INT^%DD

DO INT^%DD
^
<NOROUTINE> *%DD
SAMPLES>do ALLL^%FREECNT

DO ALLL^%FREECNT
^
<NOLINE>
SAMPLES>write xx

WRITE xx
^
<UNDEFINED> *xx
SAMPLES>
Copy code to clipboard
FeedbackOpens in a new window