Sys.utl_file has many errors. How to re-create

hi all,
I tried using the utility utl_file in my procedures and it showed out
sys.utl_file has many errors
and when i went through like
$ sqlplus /nolog
SQL*Plus: Release 9.2.0.8.0 - Production on Tue Mar 4 12:50:08 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> connect / as sysdba;
Connected.
SQL> select name from v$database;
NAME
TEST
SQL> alter package sys.utl_file compile body;
Warning: Package Body altered with compilation errors.
SQL> show errors;
Errors for PACKAGE BODY SYS.UTL_FILE:
LINE/COL ERROR
100/12 PLS-00323: subprogram or cursor 'FOPEN_NCHAR' is declared in a
package specification and must be defined in the package body
160/13 PLS-00323: subprogram or cursor 'GET_LINE' is declared in a
package specification and must be defined in the package body
181/13 PLS-00323: subprogram or cursor 'GET_LINE_NCHAR' is declared in a
package specification and must be defined in the package body
213/13 PLS-00323: subprogram or cursor 'PUT_NCHAR' is declared in a
package specification and must be defined in the package body
LINE/COL ERROR
245/13 PLS-00323: subprogram or cursor 'PUT_LINE' is declared in a
package specification and must be defined in the package body
261/13 PLS-00323: subprogram or cursor 'PUT_LINE_NCHAR' is declared in a
package specification and must be defined in the package body
311/13 PLS-00323: subprogram or cursor 'PUTF_NCHAR' is declared in a
package specification and must be defined in the package body
336/7 PLS-00307: too many declarations of 'PUT_LINE' match this call
LINE/COL ERROR
336/7 PL/SQL: Statement ignored
344/13 PLS-00323: subprogram or cursor 'PUT_RAW' is declared in a
package specification and must be defined in the package body
363/13 PLS-00323: subprogram or cursor 'GET_RAW' is declared in a
package specification and must be defined in the package body
386/13 PLS-00323: subprogram or cursor 'FSEEK' is declared in a package
specification and must be defined in the package body
403/13 PLS-00323: subprogram or cursor 'FREMOVE' is declared in a
LINE/COL ERROR
package specification and must be defined in the package body
423/13 PLS-00323: subprogram or cursor 'FCOPY' is declared in a package
specification and must be defined in the package body
447/13 PLS-00323: subprogram or cursor 'FGETATTR' is declared in a
package specification and must be defined in the package body
463/12 PLS-00323: subprogram or cursor 'FGETPOS' is declared in a
package specification and must be defined in the package body
LINE/COL ERROR
481/13 PLS-00323: subprogram or cursor 'FRENAME' is declared in a
package specification and must be defined in the package body
SQL>
can anyone help me out of this issue

What had happened to your database?
You could try to run $ORACLE_HOME/rdbms/admin/utlfile.sql
to recreate the package.

Similar Messages

  • I hava the key which has many data,how i can del all the data

    In the Duplicates database,i hava the key which has many data,how i can delete all the data.such as i hava the key:aaa,but the data has three:123,234,456, how i can del the 123,234,456, i used the cursor to del(Cursor.delete()),but i only can del the first ont: 123,and used the cursor.count() method,i find the method return 2 for me ; and me question is how to delete the remained two; thanks everybody

    After calling Cursor.delete, call Cursor.getNextDup to move to the next duplicate, then call Cursor.delete again, and repeat.
    --mark                                                                                                                                                                                                                                                                               

  • 1Z0-043 Oracle DB 10g: Admin II Self Study CD has many errors

    Many slides have errors in 1Z0-043 Oracle DB 10g: Admin II Self Study CD. I keep trying to report these to Oracle Education and I am getting the runaround. Does anybody know if in these cases you should answer it wrong like the Self Study CD tells you it should be, or when they grade the test do they really know the correct answer. The most blatant case of this is a slide in the Post Assessment of "ASM and Materialized Views", "Materialized Views", "Distributed Data Technologies". The slide in the Post Assessment has the description "Match the different distributed data technologies with their descriptions". Out of 4 pairs to match, all 4 are wrong compared to what it says in the course material just before it! Please HELP! This is just one example of many errors on this CD. Do you have to answer these questions wrong when you take the test?

    Hi,
    Please note that the Certification Team does not create the self-study CDs. I am sorry you are having difficulty with these CDs. I can assure you that you should NOT intentionally answer questions incorrectly on the test. The certification tests are not taken directly from training materials.
    Regards,
    Certification Forum Moderator

  • HTML control has javascript errors: how to update the HTML control in AIR ?

    I have an AIR application (flex 4.6 or flex 4.7), using  AdobeAIR3.7 or AdobeAir4.0
    I use a HTML browser component
        <mx2:HTML id="browser" width="100%" height="100%">
    Problem is: when navigating to page, JS gives errors, whereas it works fine with firefox, chrome, ie or safari
    When I display the brower navigator.appVersion gives me :
        5.0 (windows;u;fr-FR) AppleWebkit/533.19.4(KHTML, like Gecko) AdobeAIR/3.7
        5.0 (windows;u;fr-FR) AppleWebkit/533.19.4(KHTML, like Gecko) AdobeAIR/4.0
    Maybe this is an OLD version : is there a way to UPDATE the internal browser used by Flex ?
    JS script I got in the AIR HTML (I don't get in normal browsers):
        ReferenceError: Can't find variable: Uint8Array
        TypeError: Result of expression 'messageHandler.on' [undefined] is not a function.

    You might be able to use StageWebView: StageWebView - Adobe ActionScript® 3 (AS3 ) API Reference
    Currently we're stuck between a very old embedded WebKit version used by HTMLLoader, and StageWebView which uses the system WebKit and doesn't allow for any DOM interaction. See here: How do you use AIR's WebKit/htmlloader?

  • ETL load for Project Analytics has many Errors

    Shyam
    I created new thread for the ETL load error we are having. Our ETL loaded with the followign status
    Total Number of Tasks 302
    Number of Succesful Tasks 82
    Number of Failed Tasks 214
    I went to the failed tasks at the bottom and looked at the log files and the target tables. For many of them there dont seem to be any problem.
    For example the task SDE_ORA_Project had the status as Failed. When I clicked Details for the line , it said
    Truncate table W_PROJECT_DS - Completed
    SDE_ORA_Project - Completed
    Analyze W_PROJECT_DS - Failed
    And I opened the log file ORA_R12.DATAWAREHOUSE.SDE_ORAR12_Adaptor.SDE_ORA_Project.log under folder SessLog. I just took few lines to show you the status
    Read [178] rows, read [0] error rows for source table [mplt_SA_ORA_Project.LKP_PROJ_CUST{{DSQ}}]
    Read [326] rows, read [0] error rows for source table [HR_ALL_ORGANIZATION_UNITS]
    Read [3] rows, read [0] error rows for source table [mplt_SA_ORA_Project.LKP_PROJECT_TYPE_CLASS_CODE{{DSQ}}]
    Read [2] rows, read [0] error rows for source table [mplt_SA_ORA_Project.LKP_PROJECT_FUNDING_LEVEL_CODE{{DSQ}}]
    Read [3] rows, read [0] error rows for source table [mplt_SA_ORA_Project.LKP_PROJECT_SECURITY_LEVEL{{DSQ}}]
    The session completed with [0] row transformation errors.
    Then i went to the target table W_PROJECT_DS and it had 326 records. THis is the same for many of the failed ones. Remember , our first load failed due to accidental shutdown of the server. This is the second run after I did "Reset Data Sources"
    So the otehr problem is our dashboad still shows sample data ( 1.Overview,2.Rankers&Toppers,3.History&Benching,4.Tiering&Distribution). Some of the Project Ananlytics loaded. So i dont know why it did not change. We are using Administrator user. SHould we use a different user.
    Thanks

    Some detail I found in the log file. Many of the log files had warnign meessage
    1. ORA_R12.DATAWAREHOUSE.SILOS.SIL_GlobalCurrencyGeneral_Update
    TRANSF_1_2_1> CMN_1079 WARNING: Lookup table contains no data.
    TRANSF_1_2_1> DBG_21524 Transform : Lkp_W_GLOBAL_CURR_G
    TRANSF_1_2_1> DBG_21313 Lookup table : W_GLOBAL_CURR_G
    TRANSF_1_2_1> DBG_21562 WARNING : Output rows from Lkp_W_GLOBAL_CURR_G will be the default port value
    2. ORA_R12.DATAWAREHOUSE.SDE_ORAR12_Adaptor.SDE_ORA_CodeDimension_Gl_Account
    TRANSF_1_1_1> CMN_1079 WARNING: Lookup table contains no data.
    TRANSF_1_1_1> DBG_21524 Transform : LKP_W_MASTER_CODE_D_MASTER_CODE
    TRANSF_1_1_1> DBG_21313 Lookup table : W_MASTER_CODE_D
    TRANSF_1_1_1> DBG_21562 WARNING : Output rows from LKP_W_MASTER_CODE_D_MASTER_CODE will be the default port value
    3.ORA_R12.DATAWAREHOUSE.SDE_ORAR12_Adaptor.SDE_ORA_ExchangeRateGeneral_Compress_Full
    MAPPING> TE_7004 Transformation Parse Warning [FROM_CURRENCY||'~'||TO_CURRENCY||'~'||CONVERSION_TYPE||'~'||EFF_FROM_DATE]; transformation continues...
    MAPPING> CMN_1761 Timestamp Event: [Wed Aug 19 17:11:59 2009]
    MAPPING> TE_7004 Transformation Parse Warning [<<PM Parse Warning>> [EFF_FROM_DATE]: operand converted to a string
    ... FROM_CURRENCY||'~'||TO_CURRENCY||'~'||CONVERSION_TYPE||'~'||>>>>EFF_FROM_DATE<<<<]; transformation continues...
    MAPPING> TM_6007 DTM initialized successfully for session [SDE_ORA_ExchangeRateGeneral_Compress_Full]
    Does this point to the issue.
    Thanks

  • My external hard drive which contained all mu music has failed.  How do i create a new itunes library with the music on my iphone?

    I had all my music on an external hard drive which itunes referred to as the stored location.   this drive has now died and I only have the music on my iphone/ipad.  How do I recreate my music on another external drive using the music on my iphone/ipad?

    Have you failed to maintain a backup copy?
    If so, not good, you can transfer itunes purchases from the iphone: File>Devices>Transfer Purchases
    You may be able to purchase a third party program to get the rest ( not supported by Apple).

  • How do you remove a purchased download on the ipad that has a error

    i have a music video on my ipad, and every time we try to download it it has a error. how can it be removed from the ipad.

    To delete on your iPad go to iBook library and click edit on the top right.
    Select the book you want to delete then click delete on the top left (Red button)
    This will remove the book from your library
    On iTunes while in sync with your iPad. Select the book tab and remove the book you don't wont by selecting and going to 'Edit' > 'Remove from libary

  • Error saying "this ID has been authorised too many times" , how to resolve ASAP?

    Error saying "this ID has been authorised too many times" , how to resolve ASAP?

    Adobe Live Chat: http://www.adobe.com/support/chat/ivrchat.html
    They can reset your authorizations, and then you must reauthorize any devices you still need.
    (Unfortunately, Adobe haven’t got round to an admin website for viewing and editing authorizations.)
    Some of the representatives haven't been properly trained and don't know what to do (and claim there is nothing they can do);
    in that case the only way seems to be to give up that chat and try another session hoping for a properly trained representative.
    If your problem is with another device using Overdrive, Bluefire, Aldiko or similar third party app, it is recommended not to mention that app when on the chat, just mention that you have run out of authorizations  (E_ACT_TOO_MANY_ACTIVATIONS) .  Thanks to AJP_Bear for that tip.

  • Package body "SYS.DBMS_SQLTUNE_INTERNAL" has errors after upgrade from standard to enterprise

    Hi
    I have upgraded my Oracle 11g 11.2.0.4  from standard to enterprise version.
    When I try to use the sqladvisor I recevie the error:
    There was a problem creating a SQL tuning task.
    ORA-04063: package body "SYS.DBMS_SQLTUNE_INTERNAL" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_SQLTUNE_INTERNAL"
    ORA-06512: at "SYS.PRVT_SQLADV_INFRA", line 245 ORA-01403: no data found
    ORA-06512: at "SYS.DBMS_SQLTUNE", line 684 ORA-06512: at line 1
    Looking the status of the packages, the package appears like invalid, When i try to recompile it  fails with error:
    Body
    3233
    25
    PL/SQL:
    ORA-00904: "P"."MASKED_BINDS_FLAG": invalid identifier
    Anybody know how can i recompile it ?
    I have look for the error in metakink but i can't find nothing
    thanks

    Pl detail how you upgraded to EE version
    https://docs.oracle.com/cd/E11882_01/server.112/e23633/intro.htm#UPGRD12355

  • ITunes randomly stops playing purchases that have previously viewed on the same hardware. It has an error message about HD. How can this issue be resolved?  What information is available besides the "learn more" option that does not deal with the problem?

    iTunes randomly stops playing purchases that have previously viewed on the same hardware. It has an error message about HD. How can this issue be resolved?  What information is available besides the "learn more" option that does not deal with the problem?
    Many people have the same problem. However, there is little or nothing readily available to users. This problem has existed for two or more years. Does anyone have anything to offer about this disturbing problem?

    Thanks for the suggestion kcell. I've tried both versions
    9.0.115 and 9.0.124 and both fail with the policy permission error.
    I also tried with and without your crossdomain.xml file but
    with the same result. It looks like this file is intended for URL
    policy, instead of socket policy. Recently Adobe separated the two.
    When I run with the files installed on my dev PC, it does
    work, which makes sense because the flash player isn't loaded from
    an unknown domain.
    I did get one step closer. If a crossdomain.xml in the server
    root exists and the socketpolicy file is loaded from the app folder
    then the first two warnings disappear. The logs now show:
    OK: Root-level SWF loaded:
    https://192.168.2.5/trunk/myapp.swf
    OK: Policy file accepted: https://192.168.2.5/crossdomain.xml
    OK: Policy file accepted:
    https://192.168.2.5/trunk/socketpolicy.xml
    Warning: Timeout on xmlsocket://192.168.2.5:843 (at 3
    seconds) while waiting for socket policy file. This should not
    cause any problems, but see
    http://www.adobe.com/go/strict_policy_files
    for an explanation.
    Warning: [strict] Ignoring policy file with incorrect syntax:
    xmlsocket://192.168.2.5:993
    Error: Request for resource at xmlsocket://192.168.2.5:993 by
    requestor from https://192.168.2.5/trunk/myapp.swf is denied due to
    lack of policy file permissions.
    Which basically says, everything is okay, but you stay out
    anyway.
    PS: I found the XML schema files here:
    http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_02.html
    and the socket policy schema:
    http://www.adobe.com/xml/schemas/PolicyFileSocket.xsd.
    UPDATE: When serving up the policy file on port 843 using the
    example perl script then the socket connection seems to be accepted
    and the connect succeeds. After that flex hangs trying to logon to
    the IMAP server.

  • Data Pump Error - ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has

    Hi All,
    I am getting the following errors when I am trying to connect with datapump.My db is 10g and os is linux.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORA-31626: job does not exist
    ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at "SYS.DBMS_LOGSTDBY", line 24
    ORA-06512: at "SYS.KUPV$FT", line 676
    ORA-04063: package body "SYS.DBMS_INTERNAL_LOGSTDBY" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    When I tried to compile this package I am getting the following error
    SQL> alter package DBMS_INTERNAL_LOGSTDBY compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY DBMS_INTERNAL_LOGSTDBY:
    LINE/COL ERROR
    1405/4 PL/SQL: SQL Statement ignored
    1412/38 PL/SQL: ORA-00904: "SQLTEXT": invalid identifier
    1486/4 PL/SQL: SQL Statement ignored
    1564/7 PL/SQL: ORA-00904: "DBID": invalid identifier
    1751/2 PL/SQL: SQL Statement ignored
    1870/7 PL/SQL: ORA-00904: "DBID": invalid identifier
    Can anyony suggest/guide me how to resolve the issue.
    Thanks in advance

    SQL> SELECT OBJECT_TYPE,OBJECT_NAME FROM DBA_OBJECTS
    2 WHERE OWNER='SYS' AND STATUS<>'VALID';
    OBJECT_TYPE OBJECT_NAME
    VIEW DBA_COMMON_AUDIT_TRAIL
    PACKAGE BODY DBMS_INTERNAL_LOGSTDBY
    PACKAGE BODY DBMS_REGISTRY_SYS
    Thanks

  • I have been using itunes all day and then it wanted me to install a newer version.  When I did it said I can't because it's missing mdsvr80 or something so i downloaded that now it has another error.  How do I get itunes back the way it was or to work?

    I have been using itunes all day and then it wanted me to install a newer version.  When I did it said I can't because it's missing mdsvr80 or something so i downloaded that now it has another error.  How do I get itunes back the way it was or to work?

    See this User Tip by turingtest2
    https://discussions.apple.com/docs/DOC-6562

  • Why am I receiving the "Unfortunately, Messaging has stopped" error message and how do I fix it?

    Why am I receiving the "Unfortunately, Messaging has stopped" error message and how do I fix it?

    I am so upset. Please read my messages from my postings. This has nothing to do with SIM Card, Hard Reset, Apps, Google Gmail Account, nothing. I have gone thru all of this and NOTHING has fixed this. I went to the store today and spoke to the manager on duty. He said he had to try and duplicate the problem before he could help me. I showed him "screen captures" I did, told him it's out here on the board, etc. etc. Needless to say I ended up coming home with the same phone, "he" erased the phone and started over again. Well guess what, it's not a error with "MY" Gmail account being corrupted because if that is the case Mrs. Hayden14 has a bad Gmail account too. If you guessed it, the phone just crashed again! I was able this time to capture a report with ALL the history in it and saved screen captures to PROVE to him this is not a joke. Even the report says "Crash". This time it was something else I don't even or ever have used. I have also wasted over a day , yes a full work day on this without question.
    I have had to get the run around for the last day. This is totally ridiculous, including them putting me on hold for 55 min. Oh, that's another funny story. Anyways, tomorrow morning I am going to the Verizon store one last and final time and I hope they decided to do the right thing and give me a phone that does not crash and works. It would be handy at work for me, especially where I work at. I hope hope hope someone listens to and helps me. I would love for them to see me walk in, take my phone and say to me were going to get you another phone, hand it to me, see if it works and prove it's the device. I don't hear anyone having this issue on other phone types so sounds like its the phone type.
    I have had 3 phones now in the matter of 2 weeks. I am sure the FedEx charges will add up to a cost of a new phone at some point and start to outbalance your requirement to give me the same phone when it has the same problem.
    Can't wait to see what happens tomorrow.

  • A family member has purchased a iPad and has almost totally screwed up the set up of the unit. Incorrect email contact info, and mistakenly entered the wrong birthdate on the security question. So many errors I think it will be easier to start from scratc

    A family member has a new Ipad 2 and has made errors or has forgotten so much of the set up info that I cannot figure out how to help him. I think it would be easier to start from scratch. Security question entered wrong. Email account entered belongs to someone else etc... Please help!

    FYI
    Complete guide to using iOS 6
    http://howto.cnet.com/ios-6-complete-guide/
    Guide to Built-In Apps on iOS
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/guide-to- built-in-apps-ios
    You can download a complete iOS 5 iPad User Guide and iOS 6 iPad User Guide here: http://support.apple.com/manuals/ipad/
    Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
    Apple - iPad - Guided Tours
    http://www.apple.com/ipad/videos/
    Apple iPad Guided Tours - Watch the videos see all the amazing iPad apps in action. Learn how to use FaceTime, Mail, Safari, Videos, Maps, iBooks, App Store, and more.
    http://www.youtube.com/watch?v=YT2bD0-OqBM
    http://www.youtube.com/watch?v=ROY4tLyNlsg&feature=relmfu
    http://www.youtube.com/watch?v=QSPXXhmwYf4&feature=relmfu
    How to - Articles & User Guides & Tutorials
    http://www.iphone-mac.com/index.php/Index/howto/id/4/type/select
    iPad How-Tos  http://ipod.about.com/lr/ipad_how-tos/903396/1/
    You can download this guide to your iPad.
    iPad User Guide for iOS 5
    http://itunes.apple.com/us/book/ipad-user-guide-for-ios-5/id470308101?mt=11
     Cheers, Tom

  • I just made an account and on Itunes it has an error message that says to review my account..? How do I do that?

    Yeah, so I just had to reset my iTunes password, and iTunes is new because I just got a new computer. Everytime I try to sign in on iTunes, it has an error message that says I need to review my account.. I didn't get any e-mails with a link on how to do that, so I was wondering if anyone knew how...?
    Thanks

    Log into your iTune account and click on the edit button and then review the details and then log out.  Also see:
    http://support.apple.com/kb/HE37

Maybe you are looking for