OpenVMS: Pcc-S-2015, Unable To Open Include File When Compiling Pro*C (Doc ID 1273437.1)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version: 10.2.0.2 and later   [Release: 10.2 and later ]
HP OpenVMS Alpha
HP OpenVMS Itanium

Symptoms

Running Oracle 10gR2 release 10.2.0.2 on HP OpenVMS Itanium or Alpha

Attempts to precompile PRO*C fails with errors similar to the following:

   $ proc code=cpp PARSE=PARTIAL iname=oracle.pc oname=oracle.c

   Pro*C/C++: Release 10.2.0.2.0 - Production on Wed Dec 1 09:31:10 2010

   Copyright (c) 1982, 2005, Oracle. All rights reserved.

   System default option values taken from: ora_proc20:pcscfg.cfg

   Error at line 22, column 10 in file oracle.pc
   #include <stdlib.h>
   .........1
   PCC-S-02015, unable to open include file
   Error at line 23, column 10 in file oracle.pc
   #include <string.h>
   .........1
   PCC-S-02015, unable to open include file
   Error at line 24, column 10 in file oracle.pc
   #include <iostream.h>
   .........1
   PCC-S-02015, unable to open include file

Changes

Just installed the Oracle code or the precompilers.

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