Still getting compilation error

thnx again for ur kind help
i m still getting compilation error
can any give me the complete steps and a simple program of occi using i which i can have the idea of occi program
its very urgent
Regards
Neeraj

Check occidml.cpp under %ORACLE_HOME%\rdbms\demo and make.bat in the same directory on how to compile & link.

Similar Messages

  • Still getting Compilation errors in scott.emp

    Hi Experts,
    I am getting a compilation errors when i compile a package body:
    CREATE OR REPLACE PACKAGE TABLE_EXAMPLE AS
    TYPE TNAME IS RECORD(PARAMETER EMP%ROWTYPE,VALUE EMP%ROWTYPE);
    TYPE TABLET IS TABLE OF TNAME;
    TYPE EMP_TABLE IS TABLE OF EMP%ROWTYPE;
    PROCEDURE P1(ARG IN TABLE_EXAMPLE.TABLET);
    END;
    CREATE TABLE TAB_PAR
      (PARAMETER  VARCHAR2(100 ),
      PA_VALUE   VARCHAR2(100)
    create or replace package body table_example as
    PROCEDURE P1(ARG IN TABLE_EXAMPLE.TABLET) as
    l_emp_tbl emp_table:=emp_table() ;
    cursor c is select * from emp;
    err_msg varchar2(1000);
    err_code number;
    begin
    for m in 1..arg.count loop
    insert into tab_par(parameter,pa_value) values (arg(m).parameter,arg(m).value);
    end loop;
    exception
    when others then
    err_msg:=sqlerrm;
    err_code:=sqlcode;
    dbms_output.put_line(sqlerrm);
    end;
    end  table_example;
    Warning: Package Body created with compilation errors.
    LINE/COL ERROR
    20/49    PLS-00382: expression is of wrong type
    20/66    PLS-00382: expression is of wrong typeHow do i resolve this?
    Thanks.

    I recreated according to your suggestions but i am still getting the errors:
    CREATE OR REPLACE PACKAGE TABLE_EXAMPLE2 AS
    TYPE TNAME IS RECORD(P_PARAMETER varchar2(100),P_VALUE varchar2(100));
    TYPE TABLET IS TABLE OF TNAME;
    PROCEDURE P1(ARG IN TABLE_EXAMPLE.TABLET);
    END;
    create or replace package body table_example2 as
    PROCEDURE P1(ARG IN TABLE_EXAMPLE.TABLET) as
    begin
    for m in 1..arg.last loop
    insert into tab_par(parameter,pa_value) values (arg(m).p_parameter,arg(m).p_value);
    end loop;
    end;
    end  table_example2;
    LINE/COL ERROR
    9/1      PL/SQL: SQL Statement ignored
    9/49     PLS-00382: expression is of wrong type
    9/49     PL/SQL: ORA-22806: not an object or REF
    9/56     PLS-00302: component 'P_PARAMETER' must be declared
    9/68     PLS-00382: expression is of wrong type
    9/75     PLS-00302: component 'P_VALUE' must be declared

  • I have just bought an iPhone 5 and it won't sync to iTunes.  It says it needs  iTunes 10.7, which I have downloaded and installed.  I still get the error message and looking at "about iTunes" it says 10.6.3.  What do I do??

    I have just bought an iPhone 5 and it won't sync to iTunes.  It says it needs  iTunes 10.7, which I have downloaded and installed.  I still get the error message and looking at "about iTunes" it says 10.6.3.  What do I do??

    Perhaps check to see if you're accidentally running two different versions of iTunes. There's some information on troubleshooting that in the Opening iTunes section of the following document:
    Troubleshooting iTunes installation on Mac OS X

  • I keep getting error message, "can't open application PACE because PowerPC applications are no longer supported." I've run Clean My Mac and I still get the error.

    I keep getting error message, "can't open application PACE because PowerPC applications are no longer supported." I've run Clean My Mac and I still get the error.

    Use the Finder "Go" menu while holding down the option key to expose your User / Library folder.
    Look in the Application Support folder for PACE items and delete them.

  • I purchased a monthly pack and havent been able to use it. I have been getting charged for 3 months now and I still get an error message saying "unable to load all your plans". How do I re-install or dowload and get my last 3 payments reimbursed?

    I purchased a monthly pack and havent been able to use it. I have been getting charged for 3 months now and I still get an error message saying "unable to load all your plans". How do I re-install or dowload and get my last 3 payments reimbursed?

    Link for Download & Install & Setup & Activation problems may help
    -Online Chat http://www.adobe.com/support/download-install/supportinfo/
    or
    Adobe contact information - http://helpx.adobe.com/contact.html

  • Error when I try to open Firefox. Says Firefox is running in the background and cannot open. Suggests closing that window or restart system. This has happened several times recently. I reinstalled but am still getting the error. Any thoughts?

    I am getting an Error when I try to open Firefox that Says Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. This has happened several times recently. I deinstalld and reinstalled but am still getting the error. Any thoughts?

    This happens to me as well. However, I have a shortcut on my desktop as well as my quick start bar. When this has happened to me, I can usually log back in without restarting, by using the shortcut on the desktop rather than the usual quick start bar.
    I know this sounds weird, but it has worked for me about 80% of the time.

  • HT204053 I am running Windows 7 and have tried to install iCloud.  No matter what instructions I follow, I still get the error message "This Apple ID is valed but is not an iCloud account."  How can I resolved this?

    I am running Windows 7 and have tried to install iCloud.  No matter what instructions I follow, I still get the error message "This Apple ID is valed but is not an iCloud account."  How can I resolved this?

    I've tried both. First, I tried on my pc, where iTunes had installed iCloud when it last updated. I have iTunes installed on this computer (and on my iPad and iPhone), but that wasn't the issue.
    So I went online, thinking I needed a separate iCloud Apple ID, but it prompted me for my current Apple ID and gave me the message about my ID being "valid" but not an iCloud account," which, lol, was what it had asked me to do in order to create one. I checked, and at least one other user is having the same issue. I'll attempt to copy/paste the Support request url: https://discussions.apple.com/thread/4430653?tstart=0
    Thank you for any help you can give.
    Trish

  • I have the latest version of Firefox yet I am still getting an error message that says photoshop is no longer supported on my platfrom and thereofre it's not downloading.

    I have the latest version of Firefox yet I am still getting an error message that says photoshop is no longer supported on my platfrom and thereofre it's not downloading.

    Please give a bit more system details. Which OS and version are you on? Is it 32 bit or 64 bit. Try downloading the Creative Cloud App if not already installed from: https://creative.adobe.com/products/creative-cloud. You can choose to install PS from withing this app and need not rely on web page.
    Regards,
    Anirudh

  • I suddenly am unable to retrieve my emails.  I discussed this with my Internet provider, but still get an error message and can't access my emails.  Any suggestions???

    I am unable to retrieve my emails since yesterday.  I called Time Warner Cable, my Internet provider, but they could not help me; they stated that the settings had changed, since they were upgrading.  I adjusted the settings, but still get an error message: 
              Alert
              There may be a problem with the mail server or network.  Verify the settings for account "Mail 1" or try again.
              The server returned the error:  The connection to the server "smtp.roadrunner.com" on port 110 timed out.
    I changed the server, and the port, as Time Warner Cable tech rep recommended, but to no avail.  They recommended I delete my current email account and recreate it, but that I check with Apple first, because I might lose my contact list (and any email messages I'd previously saved!?).  They suggested Apple might be able to tell me how to not lose the contacts, emails, profile.
    Any help would be appreciated. 

    Hi, what Interface are you using, & which one are you checking?
    Each Interface will have it's own settings.
    Though all of these steps may or may not be needed, I'm including them all.
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    10.4 instructions...
    Is that Interface dragged to the top of Network>Show:>Network Port Configurations.
    If using Wifi/Airport...
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6/10.7/10.8, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    (There may be better or faster DNS numbers in your area, but these should be a good test).
    Click OK.

  • I've deleted Adobe Reader 11 and rebooted and reinstalled Adobe Reader 11 and I still get the error message that 'Adobe Reader is blocked because it is out of date'. Using Windows XP with the latest updates (SP3).

    I've deleted Adobe Reader 11 and rebooted and reinstalled Adobe Reader 11 and I still get the error message that 'Adobe Reader is blocked because it is out of date'. Using Windows XP with the latest updates (SP3).

    Screenshots attached to email replies will not make it back to the forum; you need to login to the forum and post it in your topic using the camera icon in the editor.
    Google Chrome is a problem:
    if you use Chrome's own PDF viewer, the results are unpredictable.
    if you use the Adobe Reader plugin with Chrome, it may reject (block) it if it is not the latest version.  Reader 11.0.08 is the latest version for Windows XP, but Chrome may insist on the current version 11.0.10.
    My suggestion; use a different browser!

  • After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    I see this on Apple's support page:
    Available for: OS X Lion v10.7.5, OS X Lion Server v10.7.5, OS X Mountain Lion v10.8 and v10.8.1

  • I keep getting the message an unknown error has occured 0x80090318. I don't know how to fix it. I even deleted itunes off my computer and reinstalled and still get the error message

    I keep getting the message an unknown error has occured 0x80090318. I don't know how to fix it. I even deleted itunes off my computer and reinstalled and still get the error message

    This helped me.
    Go to Start -- Accessories -- Command Prompt, make right click and choose run as administrator
    Type this command : netsh winsock reset
    then restart your computer, everything should be ok after this. Good Luck.

  • How received the following error message:  iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 998).  I did what was requested and reinstalled iTunes, but still get this error message.  Help!

    My Toshiba laptop just recently started showing the the following error message when I try to open iTunes: " iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 998)".  I did what was requested and reinstalled iTunes, but still get this error message.  Help!

    b noir I never got any message about an entry point
    Many thanks. If we're looking at a "naked" Error 7, I'd start with box two in the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • ITunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 5). I have uninstalled in correct order and reinstalled but still getting same error message. Any help??

    iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 5). I have uninstalled in correct order and reinstalled but still getting same error message. Any help??

    Take a look at iTunes for Windows: "Error 7" message when opening iTunes. Perhaps your .NET Framework needs a repair.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Getting Compilation error when used SET or MULTISET operator on nested tabl

    Dear All,
    I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
    This is working fine in other DB installations of 10g but does not work in another 10g DB.
    it says "wrong number of parameter or datatype used in SET"
    Can any one suggest what went wrong here?
    Thanks in advance.

    Can any one suggest what went wrong here?Only if you would post the query and Oracle versions on both databases.
    Besides, this forum deals with issues in Oracle product installation. So post this query in SQL PL/SQL forum for better response.

Maybe you are looking for