Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

Executing Routines

The migrated Universe application contains a basic routine named DISPLAY.PERSONS. You can now compile and execute this routine from the MultiValue shell.

Compile the routine using the BASIC command:


MyAccount:BASIC BP DISPLAY.PERSONS
DISPLAY.PERSONS
[B0] Compilation completed.       
 

Note that by default Caché stores the routines in a directory named BP.

Execute the routine using the RUN command. The routine displays the NAME, AGE, and HAIR fields for each record.


MyAccount:RUN BP DISPLAY.PERSONS
IDLE,JIM
42
BLOND
**********************
SMITH,JANE
33
BRUNETTE
**********************
SMITH,JOHN
35
BRUNETTE
**********************
JONES,JANE
35
BLOND
**********************
DOE,ELIZABETH
25
RED
**********************        
Feedback