Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

Include Files

Export include files programmatically.

Background Information

An include file is a Studio document that contains definitions for ObjectScript macros. See “ObjectScript Macros and the Macro Preprocessor” in Using Caché ObjectScript.

You create include files in Studio; see Using Studio.

Available Tools

Includes the following class methods that you can use with include files:

  • Export()

  • ExportToStream()

Availability: All namespaces.


The special variable $SYSTEM is bound to the %SYSTEM package. This means that (for ObjectScript) instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().