Language Reference - System Workareas

Home

SysResult

StatusRead/ Write
DefaultNot applicable
Notes

SysResult is set by the Execute, ExecuteGetStatus, ExecuteWaitForTask and ExecuteFalTorPan statements to contains one of the following values which describe the status of a remotely executing task:

  • -4 Operational error. The remote client is improperly configured or installed.
  • -3 Unable to execute. For example, the parameter file did not exist.
  • -2 Did not start. The remote client executed and logged in, but was unable to initialise.
  • -1 Running
  • 0 Finished ok
  • 1 Finished with an error. SysError was nonzero after the task finished in the remote client.
  • 2+ Finished with a user defined result. The remote task executed a statement SysResult = value.
See AlsoSysConsoleMode, SysError, SysReply, Execute, IsField, IsPicture, Pick, PickRecord, PickList, PickRange, PickRecordRange, PickWrite, PickRecordWrite