30.3 Return Values for ESM Functions

The extended server memory functions return the following values:

Decimal

Name

Description

1

ERR_ESM_AVAL

The server has no registered memory above 4 GB.

2

ERR_SIZE_ZERO

The size requested is zero.

3

ERR_TABLE_FULL

There is insufficient memory to expand the allocated memory table.

4

ERR_NOT_CONTIGUOUS

The requested amount of memory is not available as contiguous memory.

5

ERR_INVAL_ADDRESS

The memory is already free or the address is out of range of the memory allocated.

6

ERR_INVAL_SRC_ADDR

The source address is invalid.

7

ERR_INVAL_DEST_ADDR

The destination address is invalid.

8

ERR_SRC_DEST_OVERLAP

The source and destination buffers overlap.

9

ERR_MAP_4M_PAGE

A system error caused the mapping to fail.

10

ERR_BUFFER_SIZE

The buffer is too small to receive all the available data. More data is available.

11

ERR_LOGICAL_SPACE

The requested size for the logical space or window is not available.

12

ERR_ACQUIRING_LOCK

The MP lock required for this operation was not immediately available. Retry and the operation should succeed.