5 Replies Latest reply: Mar 14, 2012 7:04 AM by biberdorf RSS

    Comments in Pro*C Configuration files

      Is there way to mark a line as a comment in a Pro*C configuration file?
        • 1. Re: Comments in Pro*C Configuration files
          You can just use hash (#) to comment a line in the configuration file.
          To check the default or assigned values to various parameters based on your config file you can use the following
          proc config=<config file name> ?
          If you are on a unix/linux based system use backslash before the '?'
          • 2. Re: Comments in Pro*C Configuration files
            When I invoke Pro*C from within Visual Studio with the following pcscfg.cfg file

            +# The commented lines below are in the original pcscfg.cfg file. They+
            +# are commented out here in favor of command-line equivalents in the+
            +# .vcproj file. See the properties on the .pc file for details+
            +# include=C:/PROGRA~2/MICROS~3/VC/Include+
            +# include=C:/PROGRA~2/MICROS~3/VC/Include/Sys+
            +# include=C:/PROGRA~2/MICROS~3/VC/ATLMFC/Include+
            +# include=C:/PROGRA~2/MICROS~3/VC/PlatformSDK/Include+
            +# include=C:/PROGRA~2/MICROS~3/VC/../SDK/v2.0/Include+
            +# include=%SRCHOME%/precomp/public+

            I get the following response from Pro*C:

            System default option values taken from: d:\oracle_ic_sdk\win64\11.2\precomp\admin\pcscfg.cfg
            PCC-F-02041, CMD-LINE:  Option does not exist:  # include

            It's a similar response if I comment out define directives and the like. Am I doing something wrong?

            Edited by: biberdorf on Feb 22, 2012 1:53 PM
            • 3. Re: Comments in Pro*C Configuration files
              This is little strange, I just created a config file and I am able comment/uncomment any of the parameters in it with a hash(#) and able to see what values are in effect by running proc config=<config file name> \?
              Can you try running proc from a command prompt.
              • 4. Re: Comments in Pro*C Configuration files
                Have you found a solution? I have the same problem under AIX 7.1 with 11gR2.
                "#" for comment don't work
                • 5. Re: Comments in Pro*C Configuration files
                  No, I've not found a solution. Comments don't work in Pro*C configuration files, at least not the Pro*C you can download for use with the Instant Client (which is what we now use).