InterSystems Programming Tools Index
Status Objects
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Work with %Status objects.
Background Information
InterSystems classes use the %Status class to represent status information. Many methods return an instance of this class to indicate success or failure (along with reason for failure).
Available Tools
%SYSTEM.Status class
This class provides methods for working with %Status objects. These methods include:
Availability: All namespaces.
%SYSTEM.OBJ class
This class provides the following method for working with %Status objects:
System-supplied macros
Caché ObjectScript provides some macros for working with %Status objects. These include:
For information, see System-supplied Macro Reference in the chapter “ObjectScript Macros and the Macro Preprocessor” in Using Caché ObjectScript.
Reminder
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().