Previous Page | Next Page

Building a Web Application with SAS Stored Processes

Error Handling

You can write custom JSPs to handle a set of common errors. For more information about the default error JSPs for the SAS Stored Process Web Application, see Custom Responses.

If an error occurs while the stored process is running, then you will get an error message with a button that you can click to show the SAS log.

[Error page]

In order to disable the Show SAS Log button, you can set the Web application initialization parameter DebugMask to disable debug logging. For more information, see Debugging in the SAS Stored Process Web Application.

If an error is detected before the output stream back to the Web browser is opened, then the HTTP header line X-SAS-STP-ERROR is returned. This can be used by programs that make URL connections to the SAS Stored Process Web Application.

Previous Page | Next Page | Top of Page