From your description, it is obvious that you write ALL global streams just to default ^CacheStream.
To separate them you may set individual Globals for streaming (e.g depending on use-case)
Class %Library.GlobalBinaryStream has this parameter + property:// Default location: can be overridden at run-time
Parameter STOREGLOBALNAME = "^CacheStream"; /// Root is Global Location (name and top subscripts)
Property StoreRoot As %String(MAXLEN = 5000) [ InitialExpression = {..#STOREGLOBALNAME}, Private ]; Property rollback As %String [ MultiDimensional, Private ];
You can change this default using the method
{
Do ..Clear()
Set ..StoreRoot=value,i%%Location=value
Quit $$$OK
}
- Log in to post comments
.png)