PCC-01009: For hostlan = COB74, a SQL statement must be followed by ELSE or .

PCC-01009: For hostlan = COB74, a SQL statement must be followed by ELSE or .

Cause: In a Pro*COBOL program, an EXEC SQL statement is followed by another statement in the same sentence. An EXEC SQL statement must be the last statement in a COBOL-74 sentence and so must be terminated by the keyword ELSE or a period.

Action: Change the program logic, making the EXEC SQL statement the last statement in the sentence.

No comments:

Post a Comment