Skip to main content


Specifies the default storage location for stream properties.




The value of this element is a global name with optional leading subscripts.


This element lets you specify the default global used to store any stream properties within a persistent class. The value stored at the root location of this global is a counter that is incremented each time a stream value is stored for this class.

Note that you can also specify the storage of each stream property individually; see “Declaring Stream Properties” in the chapter “Working with Streams” in Using Caché Objects.

Default Value

If not specified, a value for the <StreamLocation> element is generated by the class compiler. Often, the value is ^MyApp.MyClassS (where MyApp.MyClass is the class name), however, it may vary based on a number of factors. For more information on global names for persistent classes, see “Globals” in the chapter “Introduction to Persistent Objects” in Using Caché Objects.

FeedbackOpens in a new tab