[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Compiling a demo program

Posted on 1998-06-18
4
Medium Priority
?
1,416 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

656 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