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?

Running PROTOCLASS

Use the MultiValue shell to run PROTOCLASS on PERSON:


MyAccount:PROTOCLASS PERSON *
DICT entry '@REVISE' ignored.
Processing simple attribute definitions
Creating property called Age from AGE
Creating property called Hair from HAIR
Creating property called Name from NAME
Creating property called Phone from PHONE
Saving the generated class...
Compiling the generated class...
 
Compilation started on 04/28/2011 11:55:28 with qualifiers 'cfvko3'
Compiling class MVFILE.PERSON
Compiling table MVFILE.PERSON
Compiling routine MVFILE.PERSON.1
Processing MV projection...
MV file name is 'PERSON'
MVREPOPULATE is False, skipping DICT update
 
Compilation finished successfully in 2.079s.
Class generation and compilation was successful!

Note that in the above we included all of the dictionary items for PERSON by running:


MyAccount: PROTOCLASS PERSON *

Alternatively, we can specify the dictionary items to be represented in the class definition. For example, the following specifies that only the NAME, AGE, and PHONE are to be included.


MyAccount: PROTOCLASS PERSON NAME AGE PHONE    
 
Note:

For more detailed information on PROTOCLASS, see Using PROTOCLASS.

Feedback