Product Documentation

FairCom DB V12 Updates

Previous Topic

Next Topic

Sort Module Error Code Changes

This modification replaces numerical error codes with explicit macros for error codes 471-497.

Notice that JOBT_ERR (471) collided with one of these errors, so sort error 471 has been changed to 476, which was an unused sort error code. The old sort errors 471-475 have been removed.

The new symbolic error names are as follows:

#define SORT_SWDEL_ERR 476 /* error deleting sortwork file */

#define SORT_ALC_ERR 477 /* error getting first data area */

#define SORT_INITS_ERR 478 /* sinit phase not previously performed-srelease */

#define SORT_RET_ERR 479 /* sreturn phase already started */

#define SORT_DATA_ERR 480 /* no records in data buffers */

#define SORT_INITR_ERR 481 /* sint phase not previously performed-sreturn */

#define SORT_NOMEM_ERR 482 /* not enough memory */

#define SORT_DATAP_ERR 483 /* no valid record pointers in merge buffers */

#define SORT_SWOPN_ERR 484 /* error opening sortwork file */

#define SORT_SWCRE_ERR 485 /* error creating sortwork.00x file */

#define SORT_SIZO_ERR 486 /* no records fit in output buffer */

#define SORT_READ_ERR 487 /* error reading sortwork file */

#define SORT_SIZM_ERR 488 /* bytes in buf <> merge buf size */

#define SORT_PTR_ERR 489 /* error adjusting file pointer */

#define SORT_SWECL_ERR 490 /* error closing sortwork.00x */

#define SORT_SWCL_ERR 491 /* error closing sortwork file */

#define SORT_SWDEL2_ERR 492 /* error deleting sortwork file */

#define SORT_REN_ERR 493 /* error renaming sortwork.00x */

#define SORT_CLSO_ERR 494 /* error closing output file */

#define SORT_CREO_ERR 495 /* error creating output file */

#define SORT_SWAP_ERR 496 /* insufficient disk space or no more work file segments */

#define SORT_PATH_ERR 497 /* ct_tmppth too long */

TOCIndex