Solved

Compiling a demo program

Posted on 1998-06-18
4
1,353 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
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
poncejua earned 50 total points
Comment Utility
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
Comment Utility
I have done as accordingly and the results are the same for compiling sample9.pc
0
 
LVL 3

Expert Comment

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

Author Comment

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

Thanks!


0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now