Skip to main content

cob not finding include files for cc, error 1506-296 (S) #include file <oci.h>

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

cob not finding include files for cc, error 1506-296 (S) #include file <oci.h>

The script which compiles a mixed language application, uses the syntax -CC -I /pathname to include c header files.

Resolution:

The cob command returns the error 1506-296 include file not found because there is a space between the -I and pathname. When the space is removed the cob command compiles the cobol and c programs without error.

Old KB# 7171