Home > Class Reference > %SYS namespace > %SYSTEM.Context.DBMSSession

%SYSTEM.Context.DBMSSession

donotuse class %SYSTEM.Context.DBMSSession extends %Library.SystemBase

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property context as %RawString [ MultiDimensional ];

Methods (Including Private)

classmethod CLEAR_ALL_CONTEXT() [ Language = objectscript, SQLProc = CLEAR_ALL_CONTEXT ]
Clears all context information
classmethod CLEAR_CONTEXT() [ Language = objectscript, SQLProc = CLEAR_CONTEXT ]
Clears the context
classmethod CLEAR_IDENTIFIER() [ Language = objectscript, SQLProc = CLEAR_IDENTIFIER ]
Clears the identifier
Closes database link
classmethod FREE_UNUSED_USER_MEMORY() [ Language = objectscript, SQLProc = FREE_UNUSED_USER_MEMORY ]
Lets you reclaim unused memory after performing operations requiring large amounts of memory
classmethod IS_ROLE_ENABLED() [ Language = objectscript, SQLProc = IS_ROLE_ENABLED ]
Determines if the named role is enabled for the session.
classmethod IS_SESSION_ALIVE() [ Language = objectscript, SQLProc = IS_SESSION_ALIVE ]
Determines if the specified session is active
classmethod LIST_CONTEXT() [ Language = objectscript, SQLProc = LIST_CONTEXT ]
Returns a list of active namespace and context for the current session
classmethod RESET_PACKAGE() [ Language = objectscript, SQLProc = RESET_PACKAGE ]
De-instantiates all packages in the session
classmethod SESSION_TRACE_DISABLE() [ Language = objectscript, SQLProc = SESSION_TRACE_DISABLE ]
Resets the session-level SQL trace for the session from which it was called.
classmethod SESSION_TRACE_ENABLE() [ Language = objectscript, SQLProc = SESSION_TRACE_ENABLE ]
Enables session-level SQL trace for the invoking session
classmethod SET_CONTEXT(namespace As %String(MAXLEN=30), attribute As %String(MAXLEN=30), value As %String(MAXLEN=4096)) as %String [ Language = objectscript, SQLProc = SET_CONTEXT ]
Sets or resets the value of a context attribute
classmethod SET_IDENTIFIER() [ Language = objectscript, SQLProc = SET_IDENTIFIER ]
Sets the identifier
classmethod SET_NLS() [ Language = objectscript, SQLProc = SET_NLS ]
Sets Globalization Support (NLS)
classmethod SET_ROLE() [ Language = objectscript, SQLProc = SET_ROLE ]
Sets role
classmethod SET_SQL_TRACE() [ Language = objectscript, SQLProc = SET_SQL_TRACE ]
Turns tracing on or off
classmethod SWITCH_CURRENT_CONSUMER_GROUP() [ Language = objectscript, SQLProc = SWITCH_CURRENT_CONSUMER_GROUP ]
Facilitates changing the current resource consumer group of a user's current session
classmethod SYS_CONTEXT(context As %String(MAXLEN=220), parameterName As %String(MAXLEN=220)) as %String [ Language = objectscript, SQLProc = SYS_CONTEXT ]
classmethod UNIQUE_SESSION_ID() [ Language = objectscript, SQLProc = UNIQUE_SESSION_ID ]
Returns an identifier that is unique for all sessions currently connected to this database
method getContext(context, parameterName) as %String [ Language = objectscript ]
method setContext(context, parameterName, value) as %String [ Language = objectscript ]