Pathmaker Programming Guide
Modifying a Server Skeleton or Service Skeleton
Advanced Pathmaker Programming Topics
067868 Tandem Computers Incorporated 9–49
8425, 8425, "invalid date value was entered or
computed",
8426, 8426, "incorrect syntax for date-time
/interval value",
SHRT_MIN, SHRT_MAX, "unrecoverable i/o error"
};
You can also add defines for additional SQL run-time system error codes to the
beginning of the PMSVCULC file. For example, if you want to handle an SQL error
that is not included in the defines list in a special way, you could add a define for that
error and then write service code in a Custom Source File that will be used if that error
is encountered. The following excerpt lists the portion of the PMSVCULC file where
the defines for SQL run-time error codes are specified:
/*
Common SQL run-time system error codes.
*/
#define SQLE_OK 0 /* operation successful */
#define SQLE_NOTFOUND 100 /* no rows retrieved or modified
*/
#define NODEFINE -200 /* no DEFINE to map table */
.
.
.