Sort failed while writing to a scratch file with error <system-error>.
Cause: An I/O error occurred during a scratch file I/O operation.
Effect: The operation fails.
Recovery: Contact {project-support}.
Sort failed while reading a scratch file with error <system-error>.
Where <system-error> is the error returned.
Cause: An I/O error occurred during a scratch file I/O operation.
Effect: The operation fails.
Recovery: Contact {project-support}.
Sort could not find any appropriate disks for overflow.
Cause: The available disks on the system are not suitable for scratch usage.
Effect: The operation fails.
Recovery: Make sure there are appropriate disks with enough space for scratch file use. Disks such as optical disks, phantom disks, and virtual disks are not considered suitable. See the {docs-url}/sql_reference/index.html[{project-name} SQL Reference Manual] for more information on how to influence the placement of scratch files.
Sort ran out of memory while allocating an internal data structure.
Cause: An internal data structure could not be allocated because of an out of memory condition.
Effect: The operation fails.
Recovery: None. This is an internal error. Contact {project-support}.
Sort failed while calling PROCESSHANDLE_GETMINE_ with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact {project-support}.
Sort failed while calling PROCESSHANDLE_DECOMPOSE_ with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact {project-support}.
Sort failed while calling DEVICE_GETINFOBYLDEV_ with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact {project-support}.
Sort failed while calling FILENAME_FILESTART_ with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact {project-support}.
Sort failed while calling FILENAME_FILENEXT_ with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact {project-support}.
Sort failed while calling FILENAME_FINDFINISH_ with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact {project-support}.
Sort failed while calling FILE_GETINFOLISTBYNAME_ with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact {project-support}.
Sort failed while calling FILE_CREATE with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact {project-support}.
Sort failed while calling FILE_OPEN_ with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact {project-support}.
Sort failed while calling SETMODE_ with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact the {project-support}.
Sort failed while calling FILE_GETINFOLIST with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact the {project-support}.
Sort failed while calling POSITION with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact the {project-support}.
Sort failed while calling FILE_GETINFO_ with error <number>.
Cause: An error occurred while calling a system level call.
Effect: The operation fails.
Recovery: Contact the {project-support}.
Sort Error: Wrong length read.
Cause: The length of the data returned was not what was expected.
Effect: The operation fails.
Recovery: None. This is an internal error. Contact {project-support}.
IO to a scratch file failed because the free space threshold was reached on all available disks.
Cause: The threshold, specified by the default SCRATCH_FREESPACE_THRESHOLD_PERCENT was reached on all available disks.
Effect: The operation fails.
Recovery: Reduce the threshold percentage and retry the query or specify a particular disk with adequate free space specifically for scratch use.