getstatus
getstatus |
Purpose
Synopsis
function getstatus(exec:Executor):integer
Return value
One of the following constants:
- EXECUTOR_OK
- The operation completed successfully.
- EXECUTOR_NOT_FOUND
- The requested execution was not found in the Xpress Executor service.
- EXECUTOR_ACCESS_DENIED
- User is not authorized to access the Xpress Executor service
- EXECUTOR_CONNECTION_ERROR
- Unable to connect to the Xpress Executor service.
- EXECUTOR_SERVICE_ERROR
- The Xpress Executor service returned an unexpected error code.
- EXECUTOR_IO_ERROR
- The executor module encountered an error reading or writing local files.
- EXECUTOR_PARSE_ERROR
- The executor module did not understand the response from the Executor component.
- EXECUTOR_USAGE_ERROR
- The executor module did not understand a parameter you passed to it.
Further information
After every call to an Executor-related function or procedure, you should check the value of
getstatus to see if your request succeeded. If it's unclear why an error is being returned, more troubleshooting output can be generated by setting the parameter 'executor_verbose' to true, or inspecting the return value of
getlasterror.
Related topics