?
Solved

Compiling a demo program

Posted on 1998-06-18
4
Medium Priority
?
1,398 Views
Last Modified: 2012-06-21
Hi,
    I have problem compiling a demo program called cv_demo.pc in $ORACLE_HOME/7.3.2/precomp/demo/proc
   I used "make -f proc.mk cv_demo" and got the following results :
   Semantic error at line 69, column 18, file cv_demo.pc:
        EXEC SQL EXECUTE
.................1
(1) PCC-S-02345, SQLCHECK=SEMANTICS must be given when embedded PL/SQL blocks are used
0
Comment
Question by:Rita060297
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
poncejua earned 200 total points
ID: 1083154
You will get this error if you have not run the "calldemo"  
script before precompiling your program.

You should try to execute the sample9 demo by logging into  
sqlplus as shown below:  
 
     % scott/tiger for sample9
 
     % @$ORACLE_HOME/proc/demo/calldemo.sql  
     
*** for 7.3.x
 
     % scott/tiger for sample9
 
     % @$ORACLE_HOME/precomp/demo/sql/calldemo.sql    
 
You can now compile and execute the sample9 demo program.

If everything works fine try with your program. BTW, if you need something else please don't hesitate to contact me to my e-mail address: jmponcemartinez@hotmail.com.

Best regards,

Juan Manuel Ponce Martinez
DBA - Buenos Aires - Argentina
 
0
 

Author Comment

by:Rita060297
ID: 1083155
I have done as accordingly and the results are the same for compiling sample9.pc
0
 
LVL 3

Expert Comment

by:poncejua
ID: 1083156
Try to execute the make command adding the sqlcheck=semantics at the end.
0
 

Author Comment

by:Rita060297
ID: 1083157
I tried "sqlcheck=semantics userid=scott/tiger" and it works!

Thanks!


0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question