How do u find out error in procedure

Hi,
I have procedure that 10000 lines of codes.How do i find out the error in the procedure.And again i have a package there is 10 procedure and 20 funcction
there are 2000 lines or more of code in each procedure and function.How do i find out the error in which procdure or function .One more question in about procedure .i have a procedure that contain 2000 lines of code when i execute a procedure at the time it will take time 30 minute.but i want to execute the procedure in less time .what are those step plz help me.
thanks

"How do i find out the error in the procedure"
Do you refer to compilation error or runtime errors...????
For compilation errors , you can write "show errors" after the try of package creation....
For runtime errors... - assuming you call one - by -one the most if not all the routines in this package - you can execute the first(main) routine which calls the second , and then the third ... e.t.c. . When the runtime error occurs , the routine / line of it will be displayed.....
If the above is not true (the packaged routines are not called , at least most of them ) you should add exception portions in your code and messages in them (dbms_output.put_line)...
Greetings...
Sim

Similar Messages

  • How to find out list of procedures and functions inside a package

    How I can find out the list of Procedures and Functions inside a Package.

    Look at ALL_PROCEDURES and ALL_ARGUMENTS.

  • How do I find out what the red exclamation mark or "error" on page refers to in a book that I want to send to print?

    How do I find out what the red exclamation mark or "error" on page refers to in a i-photo book that I want to send to print?

    If it's a text box it means the text has overflowed the boundries of the box.  Check for line returns which won't be visible but will trigger the warning.
    OT

  • Getting the error "Adobe Send cannot currently send this file" how can I find out why?

    Getting the error "Adobe Send cannot currently send this file" how can I find out why?

    Hey James,
    Please let me know what kind of file are you trying to send using 'Adobe Send' online service.
    Does this happen with every file you try to send or any specific one?
    Have you tried using a different browser? What happens? Check with your internet connection speed as well.
    Hope to hear from you.
    Regards,
    Anubha

  • Every time I sign into my Macbook, I get an error message from Automator; "The data couldn't be read because it has been corrupted.". I have never created an Automator workflow. How do I find out what Automator is trying to run and stop it?

    Every time I sign into my Macbook, I get an error message from Automator; "The data couldn't be read because it has been corrupted.". I have never created an Automator workflow. How do I find out what Automator is trying to run and stop it?

    Maybe it's set as a login item:
    - System Preferences: Users and Groups:
    - Highlight your user account in the left pane/list
    - Click "Login" tab at the top.
    See if you have an Automater action on the list
    - Note, you can select it, then right-click, and can then select "Reveal in Finder". That way you might have an idea what installed it.

  • Film won't render. Error is like: error in frame 3490. How do I find out what is wrong? How can i find the frame numbers?

    Hello
    Who can help me? I made a movie in Final Cut. Not a special one, some text and that's all. With scenes from mu Sony camera, I imported. When i want to share the movie (to facebook, youtube, or masterfile), it won't work. It loads upto 57% or so and that it quits, and gives error code:
    the operation could not be completed because an error occurred when creating frame 3490 (error -1).
    And now? I can't find framenumbers? How can i find out what's wrong. I tried everything. The film plays well in playback. I just can't make a filmfile.
    Xandra Storm

    Like Tom said, you can locate the offending frame by switching in Preferences->General the Time Display to "Frames" (that is how it looks in 10.1; I believe that in older versions the same preference might be in Edit or Playback preferences, I can't recall exactly).
    When this error occurs, it can usually be solved by deleting render files, or by replacing the clip where the problematic frame happened.

  • When attempting to download a podcast I get an error message "stopped err=404.  How can I find out what err=404 is?

    When attempting to download a podcast I get an error message "stopped err=404.  How can I find out what err=404 is?

    404 is a http status code meaning it could not find the link, presumably the subscription link is down or has moved.

  • How do I find out what an error code found on running the hardware test, means?

    After running the hardware test on my Mac Pro I got an error code of: 4HDD/11/40000004: SATA (4,0)  --  HOW DO I FIND OUT WHAT THIS MEANS?

    It means your one of your SATA Hard drives is having trouble (or possibly your DVD drive, but not likley).
    Got good backups? Now would be a good time to try to make some if you don't.

  • How Can I Find Out If Someone Is Spying On My Macbook?

    How can I find out if someone is spying on my macbook?  It's about 5  years old and I think someone is remotely controlling it even though my remote management and screen sharing is always off in the Sharing panel in Systems Preferences.   I don't SHARE anything willingly!  My screen shakes up and down or sometimes it just falls a few inches and I keep losing my place.  This only happens while I am on the internet.  The arrow icon for the mouse also behaves erratically at times, as if it is being controlled by someone else.  And I have people stalking me who seem to know what I buy on the internet and where I am going when I use google maps, ect....   How do I get rid of remote desktop from a MAC 10.6.8  or trace the idiots doing this to me??? 
    Thanks.

    I think it may be more of an issue with the startup disk rather than spyware.
    Launch Disk Utility located in HD > Applications > Utillities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk  (not Verify Disk Permissions)
    If DU reports errors, start up from your Mac install disc to make repairs.
    Instructions here >  Mac OS X 10.6: Reinstalling Mac OS X

  • My MacBook Pro is running very slow. How do I find out what is causing this?

    How do I find out why my MacBook Pro is running so slow? Then how do I fix it?

    Suggestions of Things You Can Do To Help A Slow Computer
    If your computer seems to be running slower here are some things you can do:
    Start with visits to:     OS X Maintenance - MacAttorney;
                                      The X Lab: The X-FAQs;
                                      The Safe Mac » Mac Performance Guide;
                                      The Safe Mac » The myth of the dirty Mac;
                                      Mac maintenance Quick Assist.
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    Repair the Hard Drive - Lion/Mountain Lion/Mavericks
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilites Menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD disk icon and click on the arrow button below.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    For situations Disk Utility cannot handle the best third-party utility is Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
    Note: Alsoft ships DW on a bootable DVD that will startup Macs running Snow Leopard or earlier. It cannot start Macs that came with Lion or later pre-installed, however, DW will work on those models.
    Suggestions for OS X Maintenance
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or later and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive.
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection I recommend using VirusBarrier Express 1.1.6 or Dr.Web Light both from the App Store. They're both free, and since they're from the App Store, they won't destabilize the system. (Thank you to Thomas Reed for these recommendations.)
    Troubleshooting Applications
    I recommend downloading a utility such as TinkerTool System, OnyX, Mavericks Cache Cleaner, or Cocktail that you can use for removing old log files and archives, clearing caches, etc. Corrupted cache, log, or temporary files can cause application or OS X crashes as well as kernel panics.
    If you have Snow Leopard or Leopard, then for similar repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. Applejack does not work with Lion and later.
    Basic Backup
    For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components:
    1. A Time Machine preferences panel as part of System Preferences;
    2. A Time Machine application located in the Applications folder. It is
        used to manage backups and to restore backups. Time Machine
        requires a backup drive that is at least twice the capacity of the
        drive being backed up.
    Alternatively, get an external drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Get Backup
      3. Deja Vu
      4. SuperDuper!
      5. Synk Pro
      6. Tri-Backup
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files. For help with using Time Machine visit Pondini's Time Machine FAQ for help with all things Time Machine.
    Referenced software can be found at MacUpdate.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Pre-Mavericks
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Mavericks and later
    Open Activity Monitor in the Utilities folder.  Select All Processes from the View menu.  Click on the CPU tab in the toolbar. Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • How can I find out what apple IDs are tied to an email address

    We are trying to set up FaceTime and got the verification error on the email address.  We went in to the Apple ID account and when we verify the email address, it tells us that it's tied to another AppleID.  My daughter has 3 other AppleIDs and we've checked each one of them and the email address is not tied to any of them.
    How can we find out what apple ID is tied to this email address?
    We have used the "Forgot my Apple ID" function and used all 3 of the different email addresses she's used on the accounts and when we access the one that says there's a duplicate, it takes us to the account and it's the one with the email address that I noted above.
    Any thougts or help?
    Thanks!

    Itunes limit includes computers. 
    http://www.ilounge.com/index.php/articles/comments/managing-devices-in-your-itun es-store-account/

  • How can i find out if i have a bad codec affecting after effects?

    hi all, i'm having all kinds of problems with after effects cs4. the current problem i'm having is i'll be working on a project, it starts to slow down and become unresponsive, i try to save but then it crashes and everything i've done is lost. opengl is off but i don't think that's the problem because opengl isn't affecting any of my other programs like cinema 4d and i even tried taking out the opengl from the plugins folder but i was still getting opengl error messages with certain effects like the rotoscoping effect. i was wondering if maybe this might be a codec problem since i heard that ae loads codecs at start. how can i find out if a corrupted codec is affecting my after effects?
    after effects cs4
    amd turion 64 x2 mobile technology tl-62 2.10 ghz
    3 gb ram
    windows vista 32
    geforce go 6150
    total graphics memory: 1343 mb
    dedicated graphics memory: 128 mb
    system video memory: 0 mb
    shared system memory: 1215 mb
    i'm pretty much desperate to get this working as it's essential to my work flow and i can't afford to get a new computer right now (i should have bought a mac, now i know) so i'll try anything if you have any suggestions. thanks!

    >how can i find out if a corrupted codec is affecting my after effects?
    You remove them all! ;-) I think you are going about this the wrong way.
    a)If you ever installed any third-party CoDecs manually, they will be listed in the "Add or Remove Programs" section or have an uninstaller.
    b)If those CoDecs were auto-installed e.g. via a web-browser, they will leave traces in the extension lists or even appear as separate entries somewhere as well.
    c) If the CoDecs were part of a program, then by all rights, you really should know which programs those are and know how to remove them.
    Failing that, simply uninstall Quicktime completely. Reinstall it from scratch. Likewise, manually download a full install of Windows Media Player and reinstall it using the "Repair" option. Everything else is pure specualtion - AE may scan your CoDecs on startup, but if you never import any footage using them, they will not be initialized and not cause trouble.
    And honestly: That Mac talk is not worth a dime. Final Cut Pro alone comes with 30 or so extra CoDecs, many of which have been known to be just as troublesome to use with Adobe products and you can encounter the same situation easily any time...
    Mylenium

  • How do i find out the tables effected in a schema after a particular time stamp

    how do i find out the tables effected in a schema after a particular time stamp?
    pls email in [email protected]

    If you are doing a reload every time then you can issue following commands to clear data from cube.
    lmt name to all
    allstat
    clear all from <cubename>prttopvar
    You can wrap above commands in pl sql procedure using dbms_aw.execute package and execute it before cube load starts. Instead of clearing it from whole cube you can clear only from one partition also. Just take a look at clear command in olap DML 10.2 reference.
    Thanks,
    Brijesh
    Edited by: Brijesh Gaur on Aug 10, 2010 6:47 AM

  • How do I find out the name of my wireless chipset/interface?

    I'm doing a install of Arch and I need to setup my WLAN.
    So the wiki says:
    "After finishing the rest of this installation and rebooting, you can connect to the network with wifi-menu interface_name (where interface_name is the interface of your wireless chipset). "
    How do I find out the name of my interface?
    Last edited by psycho_tea_drinker (2013-07-03 12:36:40)

    psycho_tea_drinker wrote:
    hokasch wrote:
    Check your chipset (lspci), see if the corresponding kernel module got loaded. Look for dmesg errors. Another way to check device names (from the wiki):
    $ ls /sys/class/net
    How do I check if the kernal module got loaded?
    lspci | grep net
    > only shows my ethernet controller
    lsusb
    > does not show it ethier
    I forget to mention that it is a USB wifi dongle (Tplink TL-WN722N). And I'm also running within virtualbox - I hope that does not complicate matters?
    Probably. You'll need to make sure that VB guest can see your USB ports. You'll need the VB wiki pages for that though.
    I don't use it, so can't help, sorry.
    Last edited by skanky (2013-07-03 13:12:46)

  • How do I find out the ID of a reminder created with an applescript?

    I created an applescript to create a reminder from Quicksilver, but I want it to show the reminder once it has been created if Reminders was already open. If I use this, then another reminder with the same name sometimes gets shown. How do I find out the ID of a reminder when I create it and set it to a variable so that it will select the reminde I want it to, and if this is not possible, how should I do it?
    Here is the applescript:
    using terms from application "Quicksilver"
              on process text reminderData
                        if reminderData is "help" then return "Syntax: \"Name:Priority Time Date List Notes\""
                        set isName to true
                        set isPriority to false
                        set hasBeenPriority to false
                        set priorityEntered to false
                        set isTime to false
                        set hasBeenTime to false
                        set timeEntered to false
                        set isDate to false
                        set hasBeenDate to false
                        set dateEntered to false
                        set isList to false
                        set hasBeenList to false
                        set listEntered to false
                        set isNotes to false
                        set reminderName to ""
                        set reminderPriority to ""
                        set reminderTime to ""
                        set reminderDate to ""
                        set reminderNotes to ""
                        set reminderList to ""
                        set reminderDataCharacters to the characters of reminderData
                        repeat with i from 1 to number of items in reminderDataCharacters
                                  set currentItem to item i of reminderDataCharacters
                                  if isName is false and hasBeenPriority is false then set isPriority to true
                                  if hasBeenPriority and hasBeenTime is false then set isTime to true
                                  if hasBeenTime and hasBeenDate is false then set isDate to true
                                  if hasBeenDate and hasBeenList is false then set isList to true
                                  if hasBeenList then set isNotes to true
                                  if isName then
                                            if currentItem is ":" then
                                                      set isName to false
                                            else
                                                      set reminderName to reminderName & currentItem
                                            end if
                                  end if
                                  if isPriority then
                                            if currentItem is "!" or currentItem is "-" then
                                                      if currentItem is "!" then set reminderPriority to reminderPriority & "!"
                                                      set priorityEntered to true
                                            else
                                                      if currentItem is " " and priorityEntered then
                                                                set isPriority to false
                                                                set hasBeenPriority to true
                                                      end if
                                            end if
                                  end if
                                  if isTime then
                                            if currentItem is " " then
                                                      if timeEntered then
                                                                set isTime to false
                                                                set hasBeenTime to true
                                                      end if
                                            else
                                                      if currentItem is not "-" then set reminderTime to reminderTime & currentItem
                                                      set timeEntered to true
                                            end if
                                  end if
                                  if isDate then
                                            if currentItem is " " then
                                                      if dateEntered then
                                                                set isDate to false
                                                                set hasBeenDate to true
                                                      end if
                                            else
                                                      if currentItem is not "-" then set reminderDate to reminderDate & currentItem
                                                      set dateEntered to true
                                            end if
                                  end if
                                  if isList then
                                            if currentItem is " " then
                                                      if listEntered then
                                                                set isList to false
                                                                set hasBeenList to true
                                                      end if
                                            else
                                                      if currentItem is not "-" then set reminderList to reminderList & currentItem
                                                      set listEntered to true
                                            end if
                                  end if
                                  if isNotes then set reminderNotes to reminderNotes & currentItem
                        end repeat
                        if reminderDate is not "" then
                                  if reminderTime is "" then set reminderTime to time string of (current date)
                        end if
                        if reminderTime is not "" and reminderTime does not contain "am" and reminderTime does not contain "pm" then
                                  try
                                            if (item 1 of the characters of reminderTime) as number is greater than or equal to 8 and (item 1 of the characters of reminderTime) as number is less than or equal to 11 then
                                                      set reminderTime to reminderTime & "am"
                                            else
                                                      set reminderTime to reminderTime & "pm"
                                            end if
                                  end try
                        end if
                        try
                                  set reminderDateAndTime to date (date string of (date (reminderDate & "/" & last word of (date string of (current date)))) & " " & time string of (date reminderTime))
                        on error
                                  set reminderDateAndTime to false
                        end try
      createReminder(reminderName, reminderPriority, reminderNotes, reminderList, reminderDateAndTime)
                        tell application "Quicksilver" to show notification "The reminder was created successfully" text "Quicksilver successfully created your reminder."
              end process text
              on createReminder(theName, thePriority, theNotes, theList, theDate)
                        if thePriority is 1 then set thePriority to 9
                        if thePriority is "!" then set thePriority to 9
                        if thePriority is 2 then set thePriority to 5
                        if thePriority is "!!" then set thePriority to 5
                        if thePriority is 3 then set thePriority to 1
                        if thePriority is "!!!" then set thePriority to 1
                        tell application "System Events"
                                  if exists process "Reminders" then
                                            set wasOpen to true
                                  else
                                            set wasOpen to false
                                  end if
                        end tell
                        tell application "Reminders"
                                  if theDate is false then
                                            try
      make new reminder at list theList with properties {name:theName, body:theNotes, priority:thePriority}
                                            on error
      make new reminder with properties {name:theName, body:theNotes, priority:thePriority}
                                            end try
                                  else
                                            try
      make new reminder at list theList with properties {name:theName, body:theNotes, remind me date:theDate, priority:thePriority}
                                            on error
      make new reminder with properties {name:theName, body:theNotes, remind me date:theDate, priority:thePriority}
                                            end try
                                  end if
                                  if wasOpen then
      show reminder theName
                                  else
                                            quit
                                  end if
                        end tell
              end createReminder
    end using terms from

    This seems to find the ID, which is sort of the answer to my question, but I still don't seem to be able to use it to show to right reminder. I get this error:
    error "Reminders got an error: Can’t make reminder id \"1E436B16-561C-4F88-8CA6-78029BE68BBF\" into type integer." number -1700 from reminder id "1E436B16-561C-4F88-8CA6-78029BE68BBF" to integer
    What is wrong, and how should I fix it?
    Here is the createReminder block now:
    on createReminder(theName, thePriority, theNotes, theList, theDate)
              if thePriority is 1 then set thePriority to 9
              if thePriority is "!" then set thePriority to 9
              if thePriority is 2 then set thePriority to 5
              if thePriority is "!!" then set thePriority to 5
              if thePriority is 3 then set thePriority to 1
              if thePriority is "!!!" then set thePriority to 1
              tell application "System Events"
                        if exists process "Reminders" then
                                  set wasOpen to true
                        else
                                  set wasOpen to false
                        end if
              end tell
              tell application "Reminders"
                        if theDate is false then
                                  try
                                            set theReminder to make new reminder at list theList with properties {name:theName, body:theNotes, priority:thePriority}
                                  on error
                                            set theReminder to make new reminder with properties {name:theName, body:theNotes, priority:thePriority}
                                  end try
                        else
                                  try
                                            set theReminder to make new reminder at list theList with properties {name:theName, body:theNotes, remind me date:theDate, priority:thePriority}
                                  on error
                                            set theReminder to make new reminder with properties {name:theName, body:theNotes, remind me date:theDate, priority:thePriority}
                                  end try
                        end if
                        set theID to the id of theReminder
                        if wasOpen then
      show theID
                        else
      quit
                        end if
              end tell
    end createReminder

Maybe you are looking for