Utility Package
Return Codes
Table 18.3 shows the return code (rc in method statements) status values that are used in this package. These status code values are returned after a method that is associated with an object is called; they can help determine whether the method executed successfully.
Table 18.3: Return Codes
Status | Meaning |
|---|---|
< 0 | An unrecoverable error occurred. No result was produced. |
= 0 | Unconditional success. The requested action completed and a normal result was produced. |
> 0 | Conditional success or warning. A result was produced subject to conditions. |
Upon returning a negative status code, most methods in the SFS package objects also write a message to the output log that explains the causes of the related failure. These messages provide useful information during the process of debugging a user program. In the TSMODEL procedure, the output log is stored in the CAS table that is specified in the OUTLOG= option in the PROC TSMODEL statement. For more information about how to enable and configure logging and about how to access the output log after an invocation of the TSMODEL procedure, see Chapter 9: The TSMODEL Procedure in SAS Visual Forecasting 8.3: Forecasting Procedures.