Appendix A: Executing Methods As Stored Procedures
The stored procedure return status of the MASP call reflects the status of the call. By default, the following status values are returned:
A value of 1 indicates the method was invoked
A value of 0 indicates that EAServer was not able to invoke the method. This error can occur for a variety of reasons, such as:
The syntax was incorrect
The specified method, component, or package that did not exist
The specified package was not installed on the server, or the user lacked permission to invoke the method
When a MASP call fails, see the server’s log file for more information on the cause.
You can configure your server to reverse the meanings of the
status value by setting the server property
A value of
false, the default,
indicates the status values have the meanings described above. A
true indicates that
the meanings of 0 and 1 are reversed.
Set the property in EAServer Manager as follows:
Display the properties for the server by right-clicking on the icon and selecting Server Properties from the popup menu.
Click on the Advanced tab
displayed, highlight it and click Modify. Edit the displayed value
and click Ok.
not displayed, click Add. Enter the property name and the value,
then click Ok.
|Copyright © 2005. Sybase Inc. All rights reserved.|