SQL/MP Messages Manual
Preprocessor Messages (11000 to 11999)
HP NonStop SQL/MP Messages Manual—427720-006
13-4
SQL 11011 
This message is displayed when the COBOL85 program with embedded SQL is 
preprocessed using SQLCOBOL: 
This message is displayed when the COBOL85, NMCOBOL, C, and TAL programs 
with embedded SQL are preprocessed using SCI: 
Cause. Stated in the error message.
Effect. Syntax error: The WHENEVER directive is ignored.
Recovery. The WHENEVER directive is only allowed in the Procedure Division of the 
COBOL program. Remove the WHENEVER directive from this section of the program.
SQL 11012
Cause. The SQL statement had a syntax error.
Effect. Preprocessing continues, but no object code is generated.
Recovery. Determine the error, and correct the syntax.
SQL 11013
Cause. The statement was not in the Data Division or Procedure Division.
Effect. Preprocessing continues, but no object code is generated.
Recovery. Move the statement to the Data Division or Procedure Division.
SQL 11014
Cause. The preprocessor output file name was not a valid file name.
Effect. Fatal error: Preprocessing stops.
11011 WHENEVER directive is not allowed in this section of 
the COBOL program.
11011 WHENEVER directive is not allowed in this section of 
the program.
11012 Syntax error.
11013 The statement must be placed in the Data Division or 
Procedure Division.
11014 Invalid output file name.










