Function Status Codes

Function Status Codes

 

 

Status codes have three severity levels:

S for success
W for warning
E for error

When a warning or error status is returned, attempts to execute statements using the return value of the function can produce erroneous or unexpected results. Therefore, you should check the return status codes to ensure that your function call is successful before using the returned values.

The following table lists the status codes and their severity levels.

 
UNIX: The STM_ROOT environment variable is not defined.
VMS: The STM$ROOT or STM$PM logical name does not exist.
The element is defined implicitly—it is an internally defined entity.