Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Pro*C with Embedded PL/SQL: SQLCHECK=SEMANTICS

2,166 views
Skip to first unread message

Oliver Kramer

unread,
May 24, 2002, 8:04:54 AM5/24/02
to
Hi!

I got the following error if i compile my .pc-program:

Semantic error at line 62, column 12, file ff.pc:
EXEC SQL EXECUTE
...........1
PCC-S-02345, SQLCHECK=SEMANTICS must be given when embedded PL/SQL
blocks are us
ed

I've tried to compile with two other lines additionally before and
after my PL/SQL-Block:

EXEC ORACLE OPTION (SQLCHECK=SEMANTICS) => before

EXEC ORACLE OPTION (SQLCHECK=SYNTAX) => after (to restore old
"environment")

Now, more error messages were flying on my screen ....

Anybody knowing why?

I compile my program with "make -f proc.mk ff". Other programs are ok.
But I i want to conpile with Emb. PL/SQL, it fails ....


Oliver

Ranga Chakravarthi

unread,
May 29, 2002, 7:38:02 PM5/29/02
to
try
proc sqlcheck=semantics on the command line

"Oliver Kramer" <kramer...@t-online.de> wrote in message
news:8aa832bc.02052...@posting.google.com...

Ed prochak

unread,
May 30, 2002, 12:20:11 PM5/30/02
to
kramer...@t-online.de (Oliver Kramer) wrote in message news:<8aa832bc.02052...@posting.google.com>...

What are the other error messages?

Did you also provide the precompiler with the proper database login
information? When using PL/SQL the precompiler must verify at compile
time if the packages procedures and functions you invoke truly exist.
(I'm assuming you are trying to invoke a precompiled PL/SQL procedure
via your "EXECUTE...", since you didn't show all of the embedded
block.)

Ed Prochak

0 new messages