-
BOOLEAN — A true (1) or false (0) value.
-
CLASSNAME — A valid class name.
-
COSCODE — ObjectScript code.
-
COSEXPRESSION — A valid ObjectScript expression.
If a parameter is of type COSEXPRESSION, the expression is evaluated at runtime.
Unlike most other values of the parameter Type keyword, this value affects the compiler.
-
COSIDENTIFIER — A valid ObjectScript identifier.
-
INTEGER — An integer value.
-
SQL — An SQL statement.
-
SQLIDENTIFIER — A valid SQL identifier.
-
STRING — A string value.
-
TEXT — A multi-line text value.
-
CONFIGVALUE — A parameter that can be modified outside of the class definition. Unlike most other values of the parameter Type keyword, this value affects the compiler. If a parameter is of type CONFIGVALUE, then you can modify the parameter via the $SYSTEM.OBJ.UpdateConfigParam(). For example, the following changes the value of the parameter MYPARM (in the class MyApp.MyClass so that its new value is 42:
set sc=$system.OBJ.UpdateConfigParam("MyApp.MyClass","MYPARM",42)
Note that $SYSTEM.OBJ.UpdateConfigParam() affects the generated class descriptor as used by any new processes, but does not affect the class definition. If you recompile the class, InterSystems IRIS regenerates the class descriptor, which will now use the value of this parameter as contained in the class definition (thus overwriting the change made via $SYSTEM.OBJ.UpdateConfigParam()).