docs.intersystems.com
Home / InterSystems Programming Tools Index / Tools Index / Status Values


InterSystems Programming Tools Index
Status Values
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


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


Previous section           Next section
View this book as PDF
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-02-23 01:10:54