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).

Hands-On Exercise 2

generated description: handson.gif

The best way to understand what's happening with the globals ^PersonD (for data) and ^PersonI (for indices) is to try it yourself in your myBASdatent routine.

  • Add a line to the validPhone() function that checks to see if the phone number already exists in the phone index.

  • Copy the store subroutine (from the Step-by-Step Guide) into your routine.

  • Compile and run the routine, and store one person's data. Look at the globals with the Management Portal. Run it again, and store a few more people. Look at the globals again, especially ^PersonI.

For instructions, click below.

generated description: stepbystep.gif

FeedbackOpens in a new window