SET.STATUS

SET.STATUS

Top  Previous  Next

 

The SET.STATUS statement sets a value for return by the STATUS() function.

 

 

Format

 

SET.STATUS expr

 

where

 

exprevaluates to the desired value of STATUS().

 

 

The SET.STATUS statement sets the internal process status memory. The value of this item is returned by the STATUS() function.

 

This statement should rarely be required by application developers but can simplify some error handling. Note that the STATUS() function always returns the absolute (positive) value of the status value.