Several procedures in the library utilize the en_agg_status_codes enum. This enum has the following members:

0- EN_AGG_STATUS_OK: success.

1- EN_AGG_STATUS_NOT_STARTED: agg_start() was not used or failed.

2- EN_AGG_STATUS_WRONG_DESCRIPTOR: wrong descriptor file data.

3- EN_AGG_STATUS_OUT_OF_SOCKETS: no free sockets available for the library to operate.

4- EN_AGG_STATUS_INVALID_INTERFACE: unsupported network interface specified.

5- EN_AGG_STATUS_INSUFFICIENT_BUFFER_SPACE: insufficient number of buffer pages available and the call to callback_agg_pre_buffrq() failed to cure the problem.

6- EN_AGG_STATUS_CONNECTION_LOST: lost connection to the AggreGate server.

7- UNABLE TO CONNECT: unable to connect to the AggreGate server.

8- EN_AGG_STATUS_SETTING_ERROR: a problem with a setting A-variable.

9- EN_AGG_STATUS_TABLE_ERROR: a problem with a table A-variable.

10- EN_AGG_STATUS_FUNCTION_ERROR: a problem with an A-function.

11- EN_AGG_STATUS_ITEM_NOT_FOUND: unknown item specified.