PRO*C pre-compilation error

From: Sven Janssen <sven_at_intershop.de>
Date: Wed, 01 Jul 1998 15:29:07 +0200
[Quoted] Message-ID: <359A39A3.372EC200_at_intershop.de>



We use Pro*C 2.2.3.0.0 on NT and
[Quoted] [Quoted] Pro*C 2.2.3.0.0 on AIX to use Oracles PLEX utility. We got problems to compile the sample code like (main.pc):

...

        EXEC SQL EXECUTE
        BEGIN
            DBMS_APPL_SERVER.S_REQUEST(:returnpipe,:command,:in);
        END;
        END-EXEC;

...

proc22 code=ansi_c sqlcheck=semantics main.pc

Pro*C/C++: Release 2.2.3.0.0 - Production on Tue Jun 30 21:01:48 1998

Copyright (c) Oracle Corporation 1979, 1996. All rights reserved.

System default option values taken from: D:\ORANT\pro22\pmscfg.cfg

DBMS_APPL_SERVER.S_REQUEST(:returnpipe,:command,:in);
........................1

(1) PCC-S-02201, identifier 'DBMS_APPL_SERVER.S_REQUEST' must be declared

Under aix and Pro*C 2.2.4.0.0 it is the same problem.

We looked at a lot of PRO*C sample programs, but all the stuff could not be compiled. Do we miss a newer PRO*C Pre-compiler, a command line option or whatever? We only want to execute a procedure.

Thanx

Sven Janssen Received on Wed Jul 01 1998 - 15:29:07 CEST

Original text of this message