Previous Topic: SQL Memory GuardNext Topic: SQL Return Codes 0 through 243


SQL Preprocessor Return Codes

If the Preprocessor detects an SQL error that causes the program to be nonexecutable, the Preprocessor terminates processing. Following is a list of possible return codes generated by the Preprocessor.

Note: All return codes that are equal to or greater than 16 indicate that the Preprocessor encountered an abnormal problem and terminated. Conditions indicated by return codes are noted on the report except for report file open and write failures.

Return Code

Description

0

NO ERRORS FOUND BY PREPROCESSOR, MODIFIED SOURCE CREATED.

4

ONLY WARNINGS ISSUED BY PREPROCESSOR, MODIFIED SOURCE CREATED.

8

ERRORS ISSUED BY PREPROCESSOR, NO MODIFIED SOURCE CREATED.

16

SEE THE REPORT FOR THE MESSAGE WITH A 'C' TYPE.

17

CANNOT OPEN THE REPORT FILE.

18

CANNOT WRITE TO THE REPORT FILE.