Re: Help! PRO*C/C++ Sample2 Precompile Error.

From: Don Collins <dcollins_at_tpi-usa.com>
Date: 1998/07/09
Message-ID: <6o3ldn$g23_at_bgtnsc03.worldnet.att.net>#1/1


There is a switch that you specify on the command line when you are doing the precompile that references semantics. I think there is an example in the supplied make file. It is certainly in the documentation. I don't have it with me at the moment but I have experienced the problem before.

Zhuo Huang wrote in message <35A5290A.CFA6E22_at_quest-group.com>...

    Hi, There,
    I am trying to precompile Sample2 into .CPP in Samples direct of PRO8. But it gave out following error report:     

    Semantic error at line 61, column 23, file d:\orawin95\pro80\c\samples\sample2\sample2.pc:

        EXEC SQL CONNECT :username IDENTIFIED BY :password;

    ......................1 

    PCC-S-02322, found undefined identifier     Semantic error at line 61, column 47, file d:\orawin95\pro80\c\samples\sample2\sample2.pc:

        EXEC SQL CONNECT :username IDENTIFIED BY :password;

    ..............................................1 
    PCC-S-02322, found undefined identifier     Semantic error at line 89, column 42, file d:\orawin95\pro80\c\samples\sample2\sample2.pc:

            EXEC SQL FETCH salespeople INTO :emp rec ptr;

    .........................................1 
    PCC-S-02322, found undefined identifier     

    Should I have to change declare struct 'emp rec ptr' into DECLARE SECTION?          Anybody help?     

    --
    Zhuo (Joe) Huang
    (403)438-3762
    4518-97Steet, Edmonton, AB, T6E 5N9     zhuang_at_quest-group.com            

--
Received on Thu Jul 09 1998 - 00:00:00 CEST

Original text of this message