ALLBASE/SQL Message Manual (36216-90213)

272 Chapter9
ALLBASE/SQL Error Messages: 11007-22540
11202 MESSAGE Host variable must have USAGE COMPUTATIONAL.
(DBERR 11202)
CAUSE The declaration for the StartIndex or NumberOfRows
value in a BULK command is invalid.
ACTION Declare the host variable as PIC S9(4) or PIC S9(9) and
re-preprocess your program.
11203 MESSAGE Host variable must not be a table. (DBERR
11203)
CAUSE You specified a host variable name in an SQL statement
that is declared as a table but should be declared as an
elementary data item.
ACTION Correct the host variable declaration and re-preprocess
your program.
11204 MESSAGE Host variable must be a one-dimensional
table. (DBERR 11204)
CAUSE The declaration of the first host variable you named in the
INTO clause of a BULK SELECT, BULK FETCH, or
BULK INSERT statement is invalid.
ACTION Declare the host variable as follows, and use the
ARRAY-NAME in the INTO clause:
01 ARRAY-NAME.
05 ROW-NAME OCCURS n TIMES.
10 COLUMN1-NAME
Valid data
clause.
.
.
.
10 COLUMNn-NAME
Valid data
clause.
11206 MESSAGE Syntax error in COPY statement. (DBERR 11206)
CAUSE A syntax error was encountered in a COBOL COPY
statement.
ACTION Verify that the COPY statement follows conventions
specified in the HP COBOL II/XL Reference Manual.
11207 MESSAGE Syntax error in REPLACE statement. (DBERR
11207)
CAUSE A syntax error was encountered in a COBOL REPLACE
statement.
ACTION Verify that the REPLACE statement follows conventions
specified in the HP COBOL II/XL Reference Manual.
11208 MESSAGE COPY not allowed within another COPY
statement. (DBERR 11208)