UDM - Setting Return Codes
Return Codes in set (Set) Command
You can use the set command to manage UDM's return code and UDM's action based on this return code. The set command lets you set any of the following return code values (integer or convenient) in both the _halton variable and the _rc variable:
0 / none
4 / warn
8 / error
16 / fatal
The following example sets the value of _rc to 0 and the _halton condition to error:
set _rc=0 _halton=error
The set command also can be used to set other UDM Manager variables.
Issuing the set Command
If the set command is issued without any parameters (variables), all of the global variables and their current values are displayed.
If the set command is issued with variable names but no following equal signs ( = ), the values to which the variables resolve are displayed.
If the set command is issued with variable names followed by an equal signs ( = ) but no values, the values are set to an empty string.
Return Codes in return (Return) Command
You also can use the return command to set the return code value (integer only) in the _rc variable.