EXEC DLI Statements in a Pro*COBOL Program result in 'Unrecoverable Precompiler Errors' (Doc ID 1175654.1)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version: 10.2.0.3 and later   [Release: 10.2 and later ]
IBM z/OS on System z

Symptoms

EXEC DLI statements in a Pro*COBOL application cause the Precompiler to generate errors PCB-S-0400 and PCB-I-0556, e.g:

..
           EXEC DLI SCHEDULE PSB(PSBACPL)
017900     END-EXEC.
018000*
018100   IF DIBSTAT NOT = SPACES 0
..
FILE //DD:SYSIN LINE 179 COLUMN 21

PCB-S-0400:
Encountered the symbol "<end-of-source>" when expecting one of the following:
integer IDENTIFICATION ENVIRONMENT DATA PROCEDURE
WORKING-STORAGE LINKAGE END COMMUNICATION FILE LOCAL-STORAGE
REPORT SCREEN CONSTANT THREAD-LOCAL-STORAGE DECIMAL-POINT
REPLACE COPY <end of statement> EXEC EXEC_SQL EXEC_SQL_BEGIN
EXEC_SQL_END EXEC_SQL_VAR EXEC_SQL_INCLUDE EXEC_ORACLE
EXEC_ORACLE_ENDIF EXEC_ORACLE_ELSE
The symbol "<end of statement>" was substituted for "<end-of-source>" to continue.
PCB-I-0556:
Unrecoverable error. Fix previous errors and re-precompile







Changes

EXEC DLI statements present in a Pro*COBOL program.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms