Operating System - OpenVMS
1753253 Members
4239 Online
108792 Solutions
New Discussion юеВ

Oracle 9i Pro*C configuration file for OpenVMS

 
berlioz
Regular Advisor

Oracle 9i Pro*C configuration file for OpenVMS

Hello

i'm trying to configure Oracle9i Pro*C under OpenVMS 7.3-2

i'm actually looking for a right pcscfg.cfg configuration file for that product

anyone could help me ?
3 REPLIES 3
Duncan Morris
Honored Contributor

Re: Oracle 9i Pro*C configuration file for OpenVMS

I have a slightly older PRO*C installation with an empty pcscfg.cfg file. I do not think that you REQUIRE any special settings for 9i under VMS 7.3-2. You may have had system preferences under your old environment
(possibly under pccc.cfg).
This is from the installation guide...

For precompiler Pro*C/C++, the configuration file is pcscfg.cfg. This file
installs without content. Use any text editor to customize it to your site
requirements. For more information on configuring the pcscfg.cfg file, refer to
Pro*C/C++ Precompiler Programmer├в s Guide - link show below:

http://otn.oracle.com/pls/db92/db92.to_pdf?pathname=appdev.920%2Fa97269.pdf&remark=docinde
berlioz
Regular Advisor

Re: Oracle 9i Pro*C configuration file for OpenVMS

thanks for your answer

but when i'm trying to precompile a program, i've the following error :

Error at line xx in file yy
#include
.........1
PCC-S-0215, unable to open include file

i've trying to modify pcscfg.cfg file as to indicate the way to access this file. i'm false ?

what's wrong ?
Duncan Morris
Honored Contributor

Re: Oracle 9i Pro*C configuration file for OpenVMS

From the C Manual
"The form of the #include directive used determines where the compiler will look to find the file to be included. Generally, the compiler looks in the following places, in the order listed:

Places named on the command line with the /INCLUDE_DIRECTORY qualifier or the /LIBRARY qualifier
Places identified through logical names, such as DECC$USER_INCLUDE, DECC$SYSTEM_INCLUDE, DECC$LIBRARY_INCLUDE, and DECC$TEXT_LIBRARY
System-defined places such as the SYS$COMMON:[DECC$LIB.INCLUDE.*] directory and the SYS$LIBRARY:DECC$RTLDEF.TLB and SYS$LIBRARY:SYS$STARLET_C.TLB text libraries "

On my local system......

ALPHA>sh log decc$system_include
"DECC$SYSTEM_INCLUDE" = "ORA_PRECOMP20" (LNM$GROUP_000110)
1 "ORA_PRECOMP20" = "ORA_PROGINT_EXE" (LNM$PROCESS_TABLE)
= "ORA_PROGINT_INCL"
= "ORA_PROGINT_DECC_HDRS"
= "ORA_PROGINT_VMS_HDRS"
= "ORA_PROGINT_CXX_HDRS"
= "SYS$LIBRARY"
2 "ORA_PROGINT_EXE" = "ORA_ROOT:[PROGINT.EXE]" (LNM$PROCESS_TABLE)
2 "ORA_PROGINT_INCL" = "ORA_ROOT:[PROGINT.INCLUDE]" (LNM$PROCESS_TABLE)
2 "ORA_PROGINT_DECC_HDRS" = "ORA_ROOT:[PROGINT.INCLUDE.DECC]" (LNM$PROCESS_TABLE)
2 "ORA_PROGINT_VMS_HDRS" = "ORA_ROOT:[PROGINT.INCLUDE.OPENVMS]" (LNM$PROCESS_TABLE)
2 "ORA_PROGINT_CXX_HDRS" = "ORA_ROOT:[PROGINT.INCLUDE.CXX]" (LNM$PROCESS_TABLE)
2 "SYS$LIBRARY" = "SYS$SYSROOT:[SYSLIB]" (LNM$SYSTEM_TABLE)

and then a quick look....

dir decc$system_include:std*

Directory ORA_ROOT:[PROGINT.INCLUDE.DECC]

STDARG.H;1 STDDEF.H;1 STDIO.H;1 STDLIB.H;1

Total of 4 files.