Skip to main content

Macros (Tools/APIs)

Export macros programmatically; print information about available macros.

Background Information

A macro defines a substitution in a line of ObjectScript code. For details, see Using Macros and Include Files.

Available Tools

Includes the following class methods that you can use with macros:

  • Export()

  • ExportToStream()

  • ShowMacros()

Availability: All namespaces.

Note

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

Purpose of this instance: Draft documentation
DocReleaseID: IRISforHealth2025.1
Content loaded from:
/staging/learning/iris-doc/2025.1.x/doc/cache/en-us/src/
/staging/learning/iris-doc/2025.1.x/doc/ensemble/en-us/src/
/staging/learning/iris-doc/2025.1.x/doc/security/en-us/src/
/staging/learning/iris-doc/2025.1.x/doc/irishealth/en-us/src/
/staging/learning/iris-doc/2025.1.x/doc/healthcommon/en-us/src/
Excluded items: GCONV
FeedbackOpens in a new tab