Skip to main content

GetServerWarning

Use this function to retrieve the server error message when the servers have encountered errors due to a failed restatement or other server related errors.

If errors exist, a multi-line message will be returned:

"Server errors have occurred that require review:

System administrators: Check error details in Longview Server Manager under Data Server Logs.

All other users: Contact your system administrator for assistance."

If no errors exist, then nothing will be returned.

Note: For more information on Server warnings, see the Longview Server Manager Guide.

Syntax:

GetServerWarning()

Syntax example:

CREATE VARIABLE X AS STRING

SET VARIABLE X = GetServerWarning()

Was this article helpful?

We're sorry to hear that.