COBOL Copy Books Cannot Be Included By The Pro*Cobol Precompiler using EXEC SQL INCLUDE (Doc ID 1460140.1)

Last updated on APRIL 24, 2017

Applies to:

Precompilers - Version 9.2 to 10.2
IBM z/OS on System z

Symptoms

Pro*COBOL precompilation fails with RC=8 , and message 'PCB-S-00106, Unable to open INCLUDE file "copybook-name"'    is issued.
The copybook name specified in the EXEC SQL INCLUDE statement is present in one of the libraries in the SYSLIB DD concatenation of the Pro*COBOL job step.

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