Interpration of DBVerify zero block  errors

Hello Oracle-experts,
after DBVerify check on my Oracle DB 10.2.0.2 i get the several following errors:
Completely zero block found during dbv:
Page 286685 is marked corrupt
After these warnings I get the error:
BR0398E DBVERIFY detected corrupted blocks in /oracle/<sid>/sapdata4/sr3_8/sr3.data8
Question:
1) How should these zero block errors be interpreted?  Is my database therefore corrupt or can these errors be neglected?  If not, what is the approach to solve these errors?
The problem is that I have a lot of these errors and do not have a valid backup.
Any helpful information information will be very appreciated!

Hi Holger,
didn't you like the replies of your other threads?
Block Corruption (BR0398E DBVERIFY detected corrupted blocks in /oracle/TS2
BR0398E DBVERIFY detected corrupted blocks in TS SAPSR3
Honestly, handling corruptions is really not that difficult.
You figure out what kind of data is supposed to be stored in the corrupted blocks and take your actions accordingly.
So if you can regenerate the content (like you can do that by rebuilding indexes), you do that.
If you cannot regenerate the content, you need a backup.
That's it. It's all lengthly described in the SAP notes on corruptions. Maybe you should read them ...
> Question:
> 1) How should these zero block errors be interpreted?  Is my database therefore corrupt or can these errors be neglected?  If not, what is the approach to solve these errors?
> The problem is that I have a lot of these errors and do not have a valid backup.
Ok, having no backups always puts you in dire straits. It's the single one error no DBA is allowed to make.
However, what you should do is to perform a FULL consistency check.
That is:
run ANALYZE TABLE VALIDATE STRUCTURE CASCADE on ALL tables
run a FULL db export to /dev/nul
run DBVerify/RMAN validate on the complete database (looks like you've already done that)
Don't skip a check, don't shortcut - just do them.
Maybe the "completely zero filled blocks* don't belong to any object and you've no data loss.
Then you may (as I already told you in the other thread) reorganize the tablespace to get rid of the warnings.
If there was some data in these blocks that you cannot regenerate then you have to face it: you lost that data.
It's gone and won't come back.
regards,
Lars

Similar Messages

  • Zero Block Corruption in SE Environment.

    Environment: 11g Using Standard Edition of Rracle in Windows environment.
    I'm having difficulties finding any article or support documents for Zero block corruption issues at logical level.
    If i took Export of the full database, and have no errors. does that count as safe data.
    Does EXPDP skip the such error like block corruption. What are the option beyond the expdp to find any block level corruption

    >What are the option beyond the expdp to find any block level corruption
    run dbv against desired datafile
    [oracle@localhost ~]$ dbv
    DBVERIFY: Release 11.2.0.2.0 - Production on Tue Apr 21 12:39:28 2015
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Keyword     Description                    (Default)
    FILE        File to Verify                 (NONE)
    START       Start Block                    (First Block of File)
    END         End Block                      (Last Block of File)
    BLOCKSIZE   Logical Block Size             (8192)
    LOGFILE     Output Log                     (NONE)
    FEEDBACK    Display Progress               (0)
    PARFILE     Parameter File                 (NONE)
    USERID      Username/Password              (NONE)
    SEGMENT_ID  Segment ID (tsn.relfile.block) (NONE)
    HIGH_SCN    Highest Block SCN To Verify    (NONE)
                (scn_wrap.scn_base OR scn)          
    [oracle@localhost ~]$

  • SYSTEM TS Corruption - Zero Blocks

    One of our production instances use operating system level COPY as backup method. When we tried to implement rman backups, we came to know there are some zero blocks in system tablespace. after doing a DBV on the datafile noted by rman, we found there are 12 corrupt/zero pages in system03.dbf.
    We cannot go to a backup and roll forward, because we dont know since when this system03 is corrupt. The only option that comes to mind is a full export and rebuild of the database. This is an oracle applications db and pretty critical. The size is around 300GB. We cant afford that much downtime on production.
    Any ideas ? so far we didnt have any reported issues due to this corruption. The corrupted object in SYS.IDL_UB1$.
    ++DBV LOG :-++
    DBVERIFY: Release 10.2.0.3.0 - Production on Thu Dec 11 11:00:26 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    DBVERIFY - Verification starting : FILE = system03.dbf
    Page 191938 is influx - most likely media corrupt
    Corrupt block relative dba: 0x00c2edc2 (file 3, block 191938)
    Fractured block found during dbv:
    Data in bad block:
    type: 0 format: 2 rdba: 0x00c2edc2
    last change scn: 0x0000.00000000 seq: 0x1 flg: 0x05
    spare1: 0x0 spare2: 0x0 spare3: 0x0
    consistency value in tail: 0x00000000
    check value in block header: 0xea00
    computed block checksum: 0x1
    Page 191939 is marked corrupt
    Corrupt block relative dba: 0x00c2edc3 (file 3, block 191939)
    Completely zero block found during dbv:
    Page 191940 is marked corrupt
    Corrupt block relative dba: 0x00c2edc4 (file 3, block 191940)
    Completely zero block found during dbv:
    Page 191941 is marked corrupt
    Corrupt block relative dba: 0x00c2edc5 (file 3, block 191941)
    Completely zero block found during dbv:
    Page 191942 is marked corrupt
    Corrupt block relative dba: 0x00c2edc6 (file 3, block 191942)
    Completely zero block found during dbv:
    Page 191943 is marked corrupt
    Corrupt block relative dba: 0x00c2edc7 (file 3, block 191943)
    Completely zero block found during dbv:
    Page 191944 is marked corrupt
    Corrupt block relative dba: 0x00c2edc8 (file 3, block 191944)
    Completely zero block found during dbv:
    Page 191945 is marked corrupt
    Corrupt block relative dba: 0x00c2edc9 (file 3, block 191945)
    Completely zero block found during dbv:
    Page 191946 is marked corrupt
    Corrupt block relative dba: 0x00c2edca (file 3, block 191946)
    Completely zero block found during dbv:
    Page 191947 is marked corrupt
    Corrupt block relative dba: 0x00c2edcb (file 3, block 191947)
    Completely zero block found during dbv:
    Page 191948 is marked corrupt
    Corrupt block relative dba: 0x00c2edcc (file 3, block 191948)
    Completely zero block found during dbv:
    Page 191949 is influx - most likely media corrupt
    Corrupt block relative dba: 0x00c2edcd (file 3, block 191949)
    Fractured block found during dbv:
    Data in bad block:
    type: 0 format: 0 rdba: 0x00000000
    last change scn: 0x0000.00000000 seq: 0x0 flg: 0x00
    spare1: 0x0 spare2: 0x0 spare3: 0x0
    consistency value in tail: 0x00000001
    check value in block header: 0x0
    block checksum disabled
    DBVERIFY - Verification complete
    Total Pages Examined : 256000
    Total Pages Processed (Data) : 128521
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 52973
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 493
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 74001
    Total Pages Marked Corrupt : 12
    Total Pages Influx : 2
    Highest block SCN : 1191398275 (1.1191398275)
    Edited by: Lakshmi Pavuluri on Dec 11, 2008 11:30 AM

    I think Oracle support is playing it safe. With damaged system tablespace without backup, that's logical conclusion.
    Did you try run hcheck.sql to get a report?
    "hcheck.sql" script to check for known problems in Oracle8i,Oracle9i, Oracle10g and Oracle 11g
    Doc ID: Note:136697.1
    Do some DML on table SYS.IDL_UB1$ see you get any error.
    This metalink doc has some info on fixing damaged database dictionary.
    ORA-8103 Diagnostics and Solution
    Doc ID: Note:268302.1
    The error just mean the block has been zeroed out a common type of corruption.

  • G/L Account blocked Error while posting goods delivery in VL02n transaction

    Our Requirement is to change the G/L account which is  proposed by  OBYC(automatic account determination ) as per the movement  typ and order reason from a Ztable. We need a place to code this logic before this OBYC check happens due to which we getting the account blocked error.
    Please suggest some user exit or enhancemnet point where we can place this logic.

    hi Ramki.,
    I had configured  a Surcharge on delivery in the condition type to be calculated on the qty delivered. Say for every Gallon, a surcharge of 0.2 cents is charged. I had maintained ths surcharge as a separate condition type and assigned it to a separate G/L a/c.
    Now during PO creation, in the header , the price remains the same as i give for the Unit price.
    IN the conditions tab in Item level, the surcharge is added on to the gross price and i get a Net Price.
    Without saving the PO, when i go to see the Print-preview, i see only the Gross price.
    After saving the PO, in print review, i see
    1. Unit gross price under Sl.No.1
    2. After the Item description, immediately, there is qty ordered x unit price + surcharge and them following  Nett price
    3. At the bottom right corner of the PO, i get qty ordered x unit price only . Surcharge amount does not appear.
    How do i get the Total Nett price i.e qty ordered x unit price + surcharge to appear on the bottom right of the PO.
    Is it a standard functionality for the Total price to appear or does it involve the role of ABAP programming.???
    Do clarify my doubts
    Tx
    MahesH

  • Why do I keep getting a page block error when trying to use Netflix app. I can't even load the website

    Everytime I try to load the Netflix app, I get as far as the red screen and it stops loading. The iPad doesn't freeze, it just stops. Then when I try to go to their website, I get a blocked error message. Does anyone know how to fix this?

    Some possibilities:
    You are on a network that blocks streaming content or otherwise won't let you access it
    You have restrictions set to block some content (Settings App, General, Resrrictions).

  • Profit Center blocked error in depreciation run

    We are upgrading SAP system from 4.6 to 6.0. It was noticed that Profit Center blocked error is being captured in depreciation run test run in the upgraded version. In 4.6, this error is not being captured. Is this an enhancement in the upgraded version?

    I have not search information about it. I found this change only positive. Now you have direct to solve the error (wrong profit center) and not later with the retirement. It is only when they block profit centers or assign an other profit center to a cost center that they have to contact asset accounting for changing the asset. In the old version the values on the profit center where wrong, now you have to correct them. I see this more as a bug in the old version that is solved now.
    When you don't want this have a look to the error message and turn it of when that is possible, but then you accept that the vallues in profit center accounting are wrong

  • Coding block error in MB21

    hi,
      i recorded the BDC for TCODE: MB21 only for 2 screens.
      My  requiremnt is to display the items.  the user can modify the items and save the same.
      while saving systems shows the coding block error.
      how to remove that coding block error.
      regards,
      Subu.

    avoid bdc and use BAPI_RESERVATION_CREATE

  • Block Error

    Hello folks,
    Hope you all fine.
    I got following error from "dmesg" , where o/s is failed to read a particular block 137667073
    /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w500000e011172d21,0 (ssd0):
    Apr 27 09:54:12 testsrv Error for Command: read(10) Error Level: Retryable
    Apr 27 09:54:12 testsrv scsi: [ID 107833 kern.notice] Requested Block: 137667072 Error Block: 137667073
    Apr 27 09:54:12 testsrv scsi: [ID 107833 kern.notice] Vendor: FUJITSU Serial Number: 0519C01UGW.
    How can i find out the filename which is affected by the block error?
    Is there any tool in Solaris just like dumpe2fs in linux?
    Thanks in Advance
    Sal.

    others will know more than i on finding block number to perhaps file inode location. however, you can use format to run verifies and other physicall disk check utils. fsck can do the check the file system. fsck if it find file/dir probs, will move files/dirs to the lost+found dir at the root of a mount point.

  • Attempted to divide by zero. Error while executing the script

    Hi All,
    I using a script I found long back and I'm trying to use to get disk space info from different servers with separate credentials.
    I'm getting the below error and it has eaten my head but I'm not able to figure out where the problem lies in the code.
    Attempted to divide by zero.
    At D:\psscripts\ww.ps1:92 char:26
    + $freePercent = ($frspace/ <<<< $totSpace)*100
    + CategoryInfo : NotSpecified: (:) [], RuntimeException
    + FullyQualifiedErrorId : RuntimeException
    I'm open to use any other way to find me Disk Space with different credentials..here security isn't a question.
    This script uses computers.csv to reference the computer name and the referenced credentials in the script.
    Thanks in advance
    $freeSpaceFileName = "c:\script\FreeSpace.htm"
    $warning = 50
    $critical = 30
    New-Item -ItemType file $freeSpaceFileName -Force
    $ComputerList = Import-Csv -Path d:\Computers.csv;
    $CredentialList = @{
    Cred1 = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList 'laptop-pc\administrator', (ConvertTo-SecureString -String 'tamboli' -AsPlainText -Force);
    Cred2 = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList 'contoso\administrator', (ConvertTo-SecureString -String 'Atlantic12' -AsPlainText -Force);
    Function writeHtmlHeader
    param($fileName)
    $date = ( get-date ).ToString('dd/MM/yyyy HH:mm:ss')
    Add-Content $fileName "<html>"
    Add-Content $fileName "<head>"
    Add-Content $fileName "<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>"
    Add-Content $fileName '<meta http-equiv="refresh" CONTENT="5">'
    Add-Content $fileName '<title>All Servers DiskSpace Report&copy;</title>'
    add-content $fileName '<STYLE TYPE="text/css">'
    add-content $fileName "<!--"
    add-content $fileName "td {"
    add-content $fileName "font-family: Tahoma;"
    add-content $fileName "font-size: 20px;"
    add-content $fileName "border-top: 1px solid #999999;"
    add-content $fileName "border-right: 1px solid #999999;"
    add-content $fileName "border-bottom: 1px solid #999999;"
    add-content $fileName "border-left: 1px solid #999999;"
    add-content $fileName "padding-top: 0px;"
    add-content $fileName "padding-right: 0px;"
    add-content $fileName "padding-bottom: 0px;"
    add-content $fileName "padding-left: 0px;"
    add-content $fileName "}"
    add-content $fileName "body {"
    add-content $fileName "margin-left: 5px;"
    add-content $fileName "margin-top: 5px;"
    add-content $fileName "margin-right: 0px;"
    add-content $fileName "margin-bottom: 10px;"
    add-content $fileName ""
    add-content $fileName "table {"
    add-content $fileName "border: thin solid #000000;"
    add-content $fileName "}"
    add-content $fileName "-->"
    add-content $fileName "</style>"
    Add-Content $fileName "</head>"
    Add-Content $fileName "<body>"
    add-content $fileName "<br></br>"
    add-content $fileName "<table width='100%' align=center>"
    add-content $fileName "<tr bgcolor='#CCCCCC'>"
    add-content $fileName "<td colspan='7' height='25' align='center'>"
    add-content $fileName "<font face='tahoma' color='#003399' size='5'><strong>All Servers DiskSpace Report &copy; - $date</strong></font>"
    add-content $fileName "</td>"
    add-content $fileName "</tr>"
    add-content $fileName "</table>"
    add-content $fileName "<br></br>"
    # Function to write the HTML Header to the file
    Function writeTableHeader
    param($fileName)
    Add-Content $fileName "<tr bgcolor=#CCCCCC>"
    Add-Content $fileName "<td width='10%' align='center'>Drive</td>"
    Add-Content $fileName "<td width='50%' align='center'>Drive Label</td>"
    Add-Content $fileName "<td width='10%' align='center'>Total Capacity(GB)</td>"
    Add-Content $fileName "<td width='10%' align='center'>Used Capacity(GB)</td>"
    Add-Content $fileName "<td width='10%' align='center'>Free Space(GB)</td>"
    Add-Content $fileName "<td width='10%' align='center'>Freespace %</td>"
    Add-Content $fileName "</tr>"
    Function writeHtmlFooter
    param($fileName)
    Add-Content $fileName "</body>"
    Add-Content $fileName "</html>"
    Function writeDiskInfo
    param($fileName,$devId,$volName,$frSpace,$totSpace)
    $totSpace=[math]::Round(($totSpace/1073741824),2)
    $frSpace=[Math]::Round(($frSpace/1073741824),2)
    $usedSpace = $totSpace - $frspace
    $usedSpace=[Math]::Round($usedSpace,2)
    $freePercent = ($frspace/$totSpace)*100
    $freePercent = [Math]::Round($freePercent,0)
    if ($freePercent -gt $warning)
    Add-Content $fileName "<tr>"
    Add-Content $fileName "<td>$devid</td>"
    Add-Content $fileName "<td>$volName</td>"
    Add-Content $fileName "<td>$totSpace</td>"
    Add-Content $fileName "<td>$usedSpace</td>"
    Add-Content $fileName "<td>$frSpace</td>"
    Add-Content $fileName "<td>$freePercent</td>"
    Add-Content $fileName "</tr>"
    elseif ($freePercent -le $critical)
    Add-Content $fileName "<tr>"
    Add-Content $fileName "<td>$devid</td>"
    Add-Content $fileName "<td>$volName</td>"
    Add-Content $fileName "<td>$totSpace</td>"
    Add-Content $fileName "<td>$usedSpace</td>"
    Add-Content $fileName "<td>$frSpace</td>"
    Add-Content $fileName "<td bgcolor='#FF0000' align=center>$freePercent</td>"
    #<td bgcolor='#FF0000' align=center>
    Add-Content $fileName "</tr>"
    else
    Add-Content $fileName "<tr>"
    Add-Content $fileName "<td>$devid</td>"
    Add-Content $fileName "<td>$volName</td>"
    Add-Content $fileName "<td>$totSpace</td>"
    Add-Content $fileName "<td>$usedSpace</td>"
    Add-Content $fileName "<td>$frSpace</td>"
    Add-Content $fileName "<td bgcolor='#FBB917' align=center>$freePercent</td>"
    # #FBB917
    Add-Content $fileName "</tr>"
    foreach ($computer in $ComputerList)
    Get-WmiObject -ComputerName $Computer.Name -Class Win32_LogicalDisk -Credential $CredentialList[$Computer.Credential] | Where-Object {$_.drivetype -eq 3}
    Write-Host $item.DeviceID $item.VolumeName $item.FreeSpace $item.Size
    writeDiskInfo $freeSpaceFileName $item.DeviceID $item.VolumeName $item.FreeSpace $item.Size
    writeHtmlHeader $freeSpaceFileName
    foreach($computer.Name in Get-Content Computers.csv)
    Add-Content $freeSpaceFileName "<table width='100%'><tbody>"
    Add-Content $freeSpaceFileName "<tr bgcolor='#CCCCCC'>"
    Add-Content $freeSpaceFileName "<td width='100%' align='center' colSpan=6><font face='tahoma' color='#003399' size='2'><strong> $server</strong></font></td>"
    Add-Content $freeSpaceFileName "</tr>"
    Add-Content $freeSpaceFileName "<br>"
    writeTableHeader $freeSpaceFileName
    Thanks,

    Hi Taher,
    You got the error "Attempted to divide by zero.", because the input variable $totSpace is null, please note the variable $item when you invoked the function writeDiskInfo:
    >>Get-WmiObject -ComputerName $Computer.Name -Class Win32_LogicalDisk -Credential $CredentialList[$Computer.Credential] |  Where-Object {$_.drivetype -eq 3}
    >>Write-Host  $item.DeviceID  $item.VolumeName $item.FreeSpace $item.Size
    >>writeDiskInfo $freeSpaceFileName $item.DeviceID $item.VolumeName $item.FreeSpace $item.Size
    And you haven't defined the variable $item before you used it, so please refer to the script below:
    foreach ($computer in $ComputerList)
    $items = Get-WmiObject -ComputerName $Computer.Name -Class Win32_LogicalDisk -Credential $CredentialList[$Computer.Credential] | Where-Object {$_.drivetype -eq 3}
    foreach($item in $items){
    Write-Host $item.DeviceID $item.VolumeName $item.FreeSpace $item.Size
    writeDiskInfo $freeSpaceFileName $item.DeviceID $item.VolumeName $item.FreeSpace $item.Size}
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • "WRITE SAME failed. Manually zeroing." error during install or boot

    Hello everyone!
    Since the lasts kernels (I'm almost sure it happens since 3.9 because 3.8 worked fine) I can't boot on Archlinux anymore. This error floods my screen and I can't do anything, and because the new Archlinux iso (june 2013) comes with 3.9 kernel it now also happens during installation. Fortunately, I saved the may iso so I still can install archlinux and switch during install to LTS kernel but this is not a good solution. I can't find a solution online, some people have this issue but it seems to be a bit different everytime.
    I use Archlinux on a server, with hardware raid : Dell PERC H200a with LSI SAS2008 according to my BIOS. According to http://kernelnewbies.org/Linux_3.7, the WRITE SAME SCSI command "allows the same block to be efficiently replicated throughout a block range. Only a single logical block is transferred from the host and the storage device writes the same data to all blocks described by the I/O (commit)". Here is the exact configuration :
    - DELL® PowerEdge R210 II
    - 1x Intel® Xeon® E3 1220 V2
    - HDD: 2 x 1 To SATA2 RAID
    - RAID: Hardware, Dell PERC H200, (Raid 1)
    So my first problem is that I can't find online if my server is capable of this command (but I don't think so) and then the other issue is that I want to know if I can disable it. I found kernel patches for this issue :
    https://patchwork.kernel.org/patch/1898441/ and https://patchwork.kernel.org/patch/1982051/ (the first link seems to be a better solution).
    Then, I checked in the kernel source of 3.9 and I think that this patch isn't implemented (there is no device_write_same_capable function for instance). But kernel patching is not a really good solution, if I have to patch my kernel everytime the main kernel is updated...
    After some research, I found that my hardware RAID driver seems (I'm not sure) to be the kernel module "mpt2sas", so I checked both may and june isos of Archlinux and it's the same version (14.1) so it shouldn't be the problem.
    Does somebody can help me on this issue ? I don't really know what to do now.
    Thanks for reading, if I forgot something or if you want more informations, ask me!
    Bye.
    PS : My English isn't very good, sorry.
    EDIT : I found a part of the solution ! It seems to be an issue with the kernel that doesn't detect properly if my disc is capable of doing WRITE SAME command.
    So I have to write "0" in the file "max_write_same_blocks" under /sys. But the problem is that /sys is renewed every boot so I don't know how to make my changes permanent. I made a systemd service file, it almost works, but this solution isn't nice : the parameter is applied lately so errors shows at the beginning and this is not really easy to set up. I prefer a solution like "sysctl" but it seems that it only controls parameter under /proc/sys and not /sys, am I right ?
    Moreover, I tried two other things : Ubuntu 12.04 with kernel 3.9.4 works and Archlinux iso with 3.8.10 has max_write_same_blocks > 0 and it also works... So I don't really understand this issue. Maybe in 3.8 the parameter max_write_same_blocks has no effect (or not the same as in 3.9) ?
    Here is the systemd file that I made to reduce the issue :
    [Unit]
    Description=No WRITE SAME
    After=local-fs.target
    [Service]
    Type=oneshot
    ExecStart=/bin/sh -c 'echo 0 > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host0/target0:1:0/0:1:0:0/scsi_disk/0:1:0:0/max_write_same_blocks'
    RemainAfterExit=no
    [Install]
    WantedBy=multi-user.target
    This is not a good solution, see my next post. I don't delete it in case you want to compare.
    Last edited by rfnx (2013-06-02 15:26:50)

    I found a solution to disable the WRITE SAME command. That doesn't answer all my questions but it solves my issue. I was looking for a file like "sysctl.conf" but for /sys parameters : you already can do that in Arch, just create a file that ends with ".conf" in tmpfiles.d and add one line per parameter you want to modify. This file will be loaded early at boot.
    To disable it in an existing Archlinux installation, add in you file the line :
    w /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host0/target0:1:0/0:1:0:0/scsi_disk/0:1:0:0/max_write_same_blocks - - - - 0
    Read the manpage of tmpfiles.d if you don't understand this line, it depends on your configuration and you can't copy it.
    Then reboot and no more error !
    If you want to disable it during the Arch install, just change directly the value you want in /sys. You have to do it at the beginning before mounting partitions, for instance just after choosing your keymap.
    Bye.
    Last edited by rfnx (2013-06-02 15:34:11)

  • PL/SQL block error message

    Hi,
    I'm still learning PL/SQL. In my application, I created a PL/SQL block which contains an update and an insert statement. When I click Apply Changes, I receive the following error message:
    1 error has occurred
    ORA-06550: line 24, column 5: PL/SQL: ORA-00933: SQL command not properly ended ORA-06550: line 19, column 2: PL/SQL: SQL Statement ignored
    This is my code. I'm not seeing the problem very clearly. Can someone help me out? Thanks.
    BEGIN
    update
        HISA_AGREEMENTS
         set
           CREATED_BY=V('APP_USER'),
           LAST_UPDATED_BY=V('APP_USER'),
           APPROVER_SALUTATION=:P7_APPROVER_SALUTATION,
           APPROVER_FIRST_NAME=:P7_APPROVER_FIRST_NAME,
           APPROVER_MIDDLE_INITIAL=:P7_APPROVER_MIDDLE_INITIAL,
           APPROVER_LAST_NAME=:P7_APPROVER_LAST_NAME,
           APPROVER_NAME_SUFFIX=:P7_APPROVER_NAME_SUFFIX,
           APPROVER_EMAIL_ADDR=:P7_APPROVER_EMAIL_ADDR,
           SPONSOR_EMAIL_ADDR=:P7_SPONSOR_EMAIL_ADDR,
           APPROVER_TITLE=:P7_APPROVER_TITLE
    where
          ORG_KEY_LE=:P7_ORG_KEY_LE;
    insert into
        HISA_AGREEMENT_DOCS
           (ORG_DOC_CURR_KEY)
       values
           (:P7_DOCUMENT)
        where
          ORG_KEY_LE=:P7_ORG_KEY_LE;
    END;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hello,
    insert into
    HISA_AGREEMENT_DOCS
    (ORG_DOC_CURR_KEY)
    values
    (:P7_DOCUMENT)
    where
    ORG_KEY_LE=:P7_ORG_KEY_LE;
    is wrong. The WHERE clause needs to be omitted...or you need an update.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • GL account blocked error during migo

    when i m doing the migo,during the document posting system showing following error msg.
    " G/L account 40100211 blocked for posting in company code 1000"
    when i m doing same bt vendor is diff.. then i not got any error msg...
    tell me what the solution for that?
    i hv cheked all by fs00..
    pls tell me how i solve this issue?
    Thanks & Regards
    Rekha Sharma

    Go to FS00, key in GL Account 40100211 and Company Code.  Click on EDit tab and untick the Block.
    If the issue is in Production client, please take the help of FI consultant.
    thanks
    G. Lakshmipathi

  • Getting "Additions to this Web site have been blocked" error

    Hi Everyone
    While updating item in one of our large document library we are facing below mentioned error:
    Additions to this Web site have been blocked.
    Below is details of error. Appreciate to get solution on this. Pl. note this error we are facing on production and not facing on UAT and Development.
    is it related to content database size?
    Error in Project Documents event Receiver.AddChildMetadataToHashTable(), Error Details : Microsoft.SharePoint.SPException:
    Additions to this Web site have been blocked.
    Please contact the administrator to resolve this problem. --->
    System.Runtime.InteropServices.COMException: <nativehr>0x81020066</nativehr><nativestack></nativestack>
    Additions to this Web site have been blocked.
    Please contact the administrator to resolve this problem.
       at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32&
    plID, String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bUnRestrictedUpdateInProgress,
    Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
       at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32& plID, String&
    pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bUnRestrictedUpdateInProgress, Boolean bMigration,
    Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
       --- End of inner exception stack trace ---
       at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
       at Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32& plID, String&
    pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bUnRestrictedUpdateInProgress, Boolean bMigration,
    Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)
       at Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32& ulID, Object&
    objAttachmentNames, Object& objAttachmentContents, Boolean suppressAfterEvents, String filename, Boolean bPreserveItemUIVersion)
       at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String
    filename, Boolean bPreserveItemUIVersion)
       at IOM.DMSPortal.EventReceivers.ProjectDocEvents.ProjectEventAction.UpdateProjectFiles(Hashtable UpdatedValues, SPFileCollection spFolderColl)
       at IOM.DMSPortal.EventReceivers.ProjectDocEvents.ProjectEventAction.UpdateChildItems(SPItemEventProperties properties, Hashtable UpdatedValues, String strContentType)
       at IOM.DMSPortal.EventReceivers.ProjectDocEvents.ProjectEventAction.AddChildMetadataToHashTable(SPItemEventProperties properties, SPContentType spcont, Hashtable hashUpdatedPropTable, String strContentType)
    Thanks
    Best Regards
    Safder

    Hi safder husain ,
    For troubleshooting, please take steps as below:
    Take a quick look in Central Administration.If the Content Database has been taken "offline" then it will halt any database editing (typically used for maintenance such as backing up / restoring or major
    farm config).
    Check SQL .This can also happen if the Transaction Logs are full .. or you've run out of disk space.
    Check if you have set a Site Collection Quota ... if the site collection exceeds the "quota" size then adding new content will be restricted.Go to Central Administration -> Application Management ->
    Configure Quotas and Locks. Set the Site Lock Information to "Not Lock" (it had been set to " Read-only (blocks additions, updates, and deletions)”).
    Please inform me freely if you have any questions.
    Thanks
    Eric Tao
    TechNet Community Support

  • BUS2094 delete billing block error

    Hi all,
    We are executing standard workflow process for Credit Memo using BUS2094,  we can be able to process the workflow till Releaser can release the Credit Memo, once its releases we are getting error " BUS2094 - Method Deletebillingblock can not be executed "  Due to which this process can not remove Billing Block of the do
    The same thing is working fine on Development server. we have checked the same  scenario on Dev Server, its working without an error.
    I would like somebody to help me in this matter.

    Hi,
    1.Can you let us know that did you recently move any new version of workflow from DEV to QAS or PROD, if you have imported any new version of the workflow then try to refresh teh buffer by using txn SWU_OBUF.
    2. Check for the user authorizations who is initiating the process If anything is missing then assign the respective authorizations.
    3. Make sure the workflow template agent assignment is made as General task you can do this from PFTC transaction.
    4. Missed out to ask you to check the workflow log. It helps you to understand whether the problem lies in the workflow or with the data in the system.
    Regards
    Pavan
    Edited by: Pavan Bhamidipati on Nov 29, 2011 12:34 PM

  • Graphical Modeler Security settings blocking error

    Hi,
    We are getting the error message 'Application Blocked by Security Settings' when we click the Graphical Modeler from Profile Set Creation view.
    Request you to suggest on how to fix this issue.
    Best regards,
    Azaz.

    Hi Azaz,
    Try un-installing Java on your desktop and re-install once again.

Maybe you are looking for

  • How secure is the password manager?

    How secure is the password manager? Can someone hack into it and steal my password?

  • Video resizes to 4:3

    working with a DV NTSC 48 kHz Anamorphic video in FC Pro 5.1.2 - I select a small clip (8 seconds) and do send to motion and and add some text and then save. when i go back to FC that clip is now resized to 4:3 instead od 16:9 like it was originaly.

  • Best practice for reading GUI values?

    I am using a Matisse GUI. This GUI has a number of variables and buttons that will invoke methods from other classes. How do I pass or otherwise make the variables in the GUI jText... jLabel... to the receiving function without passing each variable

  • 10.1.3.3 OC4J : ANT deployment fails

    I have the following Build.xml file, when trying to deploy I am getting the error: build.xml:9: The <antlib:oracle:deploy> type doesn't support the "host" attribute. <project name="test" default="deploy-ear" basedir="." xmlns:oracle="antlib:oracle">

  • My officejet pro 8500a

    My printer was printing fine and now it only prints one job then i need to reboot it it scans and copies fine its just the print function taken it off the network and still does the same thing Any help on this