Block Corruption (BR0398E DBVERIFY detected corrupted blocks in /oracle/TS2

Hello Gurus
I am facing Data Block corruption error for single datafile....
BR0278W Command output of '/oracle/TS2/102_64/bin/dbv file=/oracle/TS2/sapdata3/ts2_73/ts2.data73 blocksize=8192':
DBVERIFY: Release 10.2.0.2.0 - Production on Thu Jul 17 23:31:25 2008
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
DBVERIFY - Verification starting : FILE = /oracle/TS2/sapdata3/ts2_73/ts2.data73
Block Checking: DBA = 528925394, Block Type = KTB-managed data block
row 4: key out of order
     end index block validation
Page 443090 failed with check code 6401
DBVERIFY - Verification complete
Total Pages Examined         : 1280000
Total Pages Processed (Data) : 248379
Total Pages Failing   (Data) : 0
Total Pages Processed (Index): 180541
Total Pages Failing   (Index): 1
Total Pages Processed (Other): 13272
Total Pages Processed (Seg)  : 0
Total Pages Failing   (Seg)  : 0
Total Pages Empty            : 837808
Total Pages Marked Corrupt   : 0
Total Pages Influx           : 0
Highest block SCN            : 65006255 (0.65006255)
BR0398E DBVERIFY detected corrupted blocks in /oracle/TS2/sapdata3/ts2_73/ts2.data73
appriciated help please..
Regards
Giridhar.

Dump file /oracle/TS2/saptrace/usertrace/ts2_ora_23103.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options
ORACLE_HOME = /oracle/TS2/102_64
System name:    SunOS
Node name:      sassad25
Release:        5.10
Version:        Generic_120011-14
Machine:        sun4u
Instance name: TS2
Redo thread mounted by this instance: 1
Oracle process number: 53
Unix process pid: 23103, image: oracle@sassad25 (TNS V1-V3)
2008-07-18 13:48:40.486
SERVICE NAME:(SYS$USERS) 2008-07-18 13:48:40.484
SESSION ID:(925.20292) 2008-07-18 13:48:40.484
Block Checking: DBA = 528925394, Block Type = KTB-managed data block
row 4: key out of order
end index block validation
for block 0x1f86c2d2
Block header dump:  0x1f86c2d2
Object id on Block? Y
seg/obj: 0x2c6f0  csc: 0x00.3f418d9  itc: 2  flg: E  typ: 2 - INDEX
     brn: 0  bdba: 0x1f86c00b ver: 0x01 opc: 0
     inc: 0  exflg: 0
Itl           Xid                  Uba         Flag  Lck        Scn/Fsc
0x01   0x0000.000.00000000  0x00000000.0000.00  -
    0  fsc 0x0000.00000000
0x02   0x0002.008.00002cb6  0x02475283.0359.19  --U-    2  fsc 0x0000.03f418ee
Leaf block dump
===============
header address 17494483044=0x412c0a064
kdxcolev 0
KDXCOLEV Flags = - - -
kdxcolok 0
kdxcoopc 0x80: opcode=0: iot flags=--- is converted=Y
kdxconco 7
kdxcosdc 0
kdxconro 174
kdxcofbo 384=0x180
kdxcofeo 967=0x3c7
kdxcoavs 583
kdxlespl 0
kdxlenxt 528925395=0x1f86c2d3
kdxleprv 528925393=0x1f86c2d1
kdxledsz 6
kdxlebksz 8032
row#0[7990] flag: -
, lock: 0, len=42, data:(6):  1b ce 75 c6 00 15
col 0; len 3; (3):  30 31 35
col 1; len 2; (2):  58 58
col 2; len 8; (8):  46 4f 4e 54 52 45 50 4c
col 3; len 9; (9):  48 50 4c 4a 31 31 30 30 69
col 4; len 3; (3):  34 36 43
col 5; len 1; (1):  44
col 6; len 1; (1):  80
row#1[7952] flag: -
, lock: 0, len=38, data:(6):  1c 46 88 34 00 0e
col 0; len 3; (3):  30 31 35
col 1; len 2; (2):  58 58
col 2; len 8; (8):  46 4f 4e 54 52 45 50 4c
col 3; len 5; (5):  48 50 4c 4a 34
col 4; len 3; (3):  34 36 43
col 5; len 1; (1):  44
col 6; len 1; (1):  80
row#2[7913] flag: -
, lock: 0, len=39, data:(6):  1b 8f 2b bd 00 03
col 0; len 3; (3):  30 31 35
col 1; len 2; (2):  58 58
col 2; len 8; (8):  46 4f 4e 54 52 45 50 4c
col 3; len 6; (6):  48 50 4c 4a 34 30
col 4; len 3; (3):  34 36 43
col 5; len 1; (1):  44
col 6; len 1; (1):  80
row#3[7871] flag: -
, lock: 0, len=42, data:(6):  20 03 18 b1 00 0a
col 0; len 3; (3):  30 31 35
col 1; len 2; (2):  58 58
col 2; len 8; (8):  46 4f 4e 54 52 45 50 4c
col 3; len 9; (9):  48 50 4c 4a 34 30 30 30 00
col 4; len 3; (3):  34 36 43
col 5; len 1; (1):  44
col 6; len 1; (1):  80
row#4[7830] flag: -
, lock: 0, len=41, data:(6):  1b 4f 19 ef 00 0b
col 0; len 3; (3):  30 31 35
col 1; len 2; (2):  58 58
col 2; len 8; (8):  46 4f 4e 54 52 45 50 4c
col 3; len 8; (8):  48 50 4c 4a 34 30 30 30
col 4; len 3; (3):  34 36 43
col 5; len 1; (1):  44
col 6; len 1; (1):  80
row#5[7788] flag: -
, lock: 0, len=42, data:(6):  21 03 15 12 00 02
col 1; len 2; (2):  58 58
col 2; len 8; (8):  46 4f 4e 54 52 45 50 4c
col 3; len 9; (9):  48 50 4c 4a 34 30 30 30 31
col 4; len 3; (3):  34 36 43
col 5; len 1; (1):  44
col 6; len 1; (1):  80
row#6[7746] flag: -
, lock: 0, len=42, data:(6):  1c 86 83 6a 00 0c
col 0; len 3; (3):  30 31 35
col 1; len 2; (2):  58 58
col 2; len 8; (8):  46 4f 4e 54 52 45 50 4c
col 3; len 9; (9):  48 50 4c 4a 34 30 30 30 37
col 4; len 3; (3):  34 36 43
col 5; len 1; (1):  44
col 6; len 1; (1):  80
row#7[7704] flag: -
, lock: 0, len=42, data:(6):  1b 4f 19 0f 00 02
col 0; len 3; (3):  30 31 35
col 1; len 2; (2):  58 58
col 2; len 8; (8):  46 4f 4e 54 52 45 50 4c
col 3; len 9; (9):  48 50 4c 4a 34 30 30 30 44
col 4; len 3; (3):  34 36 43
col 5; len 1; (1):  44
col 6; len 1; (1):  80
row#8[7662] flag: -
, lock: 0, len=42, data:(6):  1f 03 50 f5 00 03
col 0; len 3; (3):  30 31 35
col 1; len 2; (2):  58 58
col 2; len 8; (8):  46 4f 4e 54 52 45 50 4c
col 3; len 9; (9):  48 50 4c 4a 34 30 30 30 44
col 4; len 3; (3):  37 30 30
col 5; len 1; (1):  44
col 6; len 1; (1):  80
row#9[7619] flag: -
, lock: 0, len=43, data:(6):  1f 03 50 f5 00 04
col 0; len 3; (3):  30 31 35
col 1; len 2; (2):  58 58
col 2; len 8; (8):  46 4f 4e 54 52 45 50 4c
col 3; len 9; (9):  48 50 4c 4a 34 30 30 30 44
col 4; len 3; (3):  37 30 30
col 5; len 1; (1):  44
col 6; len 2; (2):  c1 02
row#10[7577] flag: -
, lock: 0, len=42, data:(6):  1f 43 21 d1 00 09
col 0; len 3; (3):  30 31 35
col 1; len 2; (2):  58 58
col 2; len 8; (8):  46 4f 4e 54 52 45 50 4c
col 3; len 9; (9):  48 50 4c 4a 34 30 30 30 45
col 4; len 3; (3):  34 36 43
col 5; len 1; (1):  44

Similar Messages

  • BR0398E DBVERIFY detected corrupted blocks in TS SAPSR3

    Hi!
    After DBVerify I get the following error:
    BR0398E DBVERIFY detected corrupted blocks in /oracle/<sid>/sapdata4/sr3_8/sr3.data8
    Furthermore I get the following warning/information:
    Completely zero block found during dbv:
    Page 286685 is marked corrupt
    Question:
    1) Does it mean that my database is corrupt and should be recovered from a valid backup?
    2) What is the approach to handle here and to solve the error?
    Enclosed the output of the following SQL commandos:
    > select dbms_utility.data_block_address_block(1522735858) from dual;
    DBMS_UTILITY.DATA_BLOCK_ADDRESS_BLOCK(1522735858)
                                               203506
    > select dbms_utility.data_block_address_file(1522735858) from dual;
    DBMS_UTILITY.DATA_BLOCK_ADDRESS_FILE(1522735858)
                                                 363
    > select file#, rfile# from v$datafile where name = '/oracle/<sid>/sapdata4/sr3_8/sr3.data8';
         FILE#     RFILE#
            11         11
    > select segment_name, partition_name, segment_type, block_id, blocks   from dba_extents   where (203506 between block_id and (block_id + blocks - 1))   and file_id = 363 and rownum<2;
    no rows selected
    Thank you very much!

    Hi!
    Some additional information
    SQL> SELECT dbms_utility.data_block_address_block(1522735858) "BLOCK", dbms_utility.data_block_address_file(1522735858) "FILE" FROM dual;
         BLOCK       FILE
        203506        363
    After this I executed alter system dump commando:
    > alter system dump datafile 363 block 203506;
    When I open the generated dump file I can see:
    Error: alter system dump datafile/tempfile: invalid input file # 363
    SQL>  select owner, segment_name, partition_name, segment_type, block_id, blocks
      2  from dba_extents  
      3 where (525 between
      +4  block_id and (block_id + blocks - 1))+
      5  and file_id = 4
      6  and rownum < 2;
    OWNER SEGMENT_NAME PARTITION_NAME   SEGMENT_TYPE         BLOCK_ID     BLOCKS
    SAPSR3                    DD08T~0                   INDEX                           521        128
    Question
    Should I run the following SQL commando or how can I solve my problem?
    ALTER INDEX DD08T~0 REBUILD ONLINE;

  • DBVERIFY detected corrupted blocks

    Hello Gurus,
    I am facing This Error In My R-3 Server, Can Somebody Define this Error, What is a Cause And What is The Rectification of This Error ?
    Error Description
    1. BR0398E DBVERIFY detected corrupted blocks in /oracle/DBS/sapdata88/btabi_114/btabi.data114                                          
    2. BR0398E DBVERIFY detected corrupted blocks in /oracle/DBS/sapdata22/btabd_38/btabd.data38
    Waiting For An Prompt Reply

    Hello,
    I do not understand why you are asked for the BR* tools version or the oracle one.
    Resume -> you <b><u>have</u></b> corrupted blocks on your database.
    It looks like on an index datafile ( if you are lucky it is an index and it could be rebiuld ) and on a "data" datafile ( if you are lucky is on free space )
    Take a look at note <a href="http://service.sap.com/sap/support/notes/365481">365481</a>
    and to the SDN blog:
    <a href="/people/lars.breddemann/blog/2007/03/21/i-can-repair-your-corrupt-database">I can repair your corrupt database!</a>
    If one of the objects affected is a table and you do not have a good backup, probably you will lose some data.

  • On receiving jpegs via email, sometimes they get corrupted, and there are horizontal blocks appearing on the image

    On receiving jpegs via email, sometimes they get corrupted, and there are horizontal blocks appearing on the image that distort the image. Help???

        Hi Bruce523,
    Let's get to the bottom of this, your efforts are greatly appreciated! What is the software version on your device:http://vz.to/ZVhZsh ? I look forward to hearing from you soon.
    Thanks for your contribution to our community forums,
    AyaniB_VZW
    Follow us on Twitter @VZWSupport

  • Sql backup detected corruption in database log

    Unfortunately I am not a SQL Admin.  I have moderate SQL experience at best.
    I have  four or five database in SQL 2005 that were the primary members of a mirror. The physical server (the one I am currently working on) was virtualized (P2V) then started as a virtual machine. Downtime was minimal. Maybe an hour or so
    I believe.
    Although I didn't check immediately after boot up, I have since noticed the mirror status is suspended.  Attempts to resume fail.  It appears my best bet is to backup the database, restore on the target, then recreate the mirror.  The problem
    is, attempts to run a Full backup of the database returns the following error on all the database I've tried to backup.  After about 20% is says: SystemData.SqlClient.SqlError: BACKUP detected corruption in the database log.  Check the errorlog for
    more information. (Microsoft.SqlServer.Smo)
    I've tried setting the recovery type to Simple, but that fails telling me the database is part of a mirror and to be honest I'm not sure setting to Simple is the best option. 
    As it stands, the mirror is broken and I can not perform a full backup. 
    Any suggestions on how to proceed are greatly appreciated.
    Thank you.

    Thank you Uri.  Following are the results.  Again, I'm not a SQL Admin but it appears this does not indicate errors?
    DBCC results for 'TAIQRY'.
    Service Broker Msg 9675, State 1: Message Types analyzed: 14.
    Service Broker Msg 9676, State 1: Service Contracts analyzed: 6.
    Service Broker Msg 9667, State 1: Services analyzed: 3.
    Service Broker Msg 9668, State 1: Service Queues analyzed: 3.
    Service Broker Msg 9669, State 1: Conversation Endpoints analyzed: 0.
    Service Broker Msg 9674, State 1: Conversation Groups analyzed: 0.
    Service Broker Msg 9670, State 1: Remote Service Bindings analyzed: 0.
    DBCC results for 'sys.sysrowsetcolumns'.
    There are 546 rows in 5 pages for object "sys.sysrowsetcolumns".
    DBCC results for 'sys.sysrowsets'.
    There are 80 rows in 1 pages for object "sys.sysrowsets".
    DBCC results for 'sysallocunits'.
    There are 93 rows in 1 pages for object "sysallocunits".
    DBCC results for 'sys.sysfiles1'.
    There are 2 rows in 1 pages for object "sys.sysfiles1".
    DBCC results for 'sys.syshobtcolumns'.
    There are 546 rows in 5 pages for object "sys.syshobtcolumns".
    DBCC results for 'sys.syshobts'.
    There are 80 rows in 1 pages for object "sys.syshobts".
    DBCC results for 'sys.sysftinds'.
    There are 0 rows in 0 pages for object "sys.sysftinds".
    DBCC results for 'sys.sysserefs'.
    There are 93 rows in 1 pages for object "sys.sysserefs".
    DBCC results for 'sys.sysowners'.
    There are 15 rows in 1 pages for object "sys.sysowners".
    DBCC results for 'sys.sysprivs'.
    There are 135 rows in 1 pages for object "sys.sysprivs".
    DBCC results for 'sys.sysschobjs'.
    There are 86 rows in 1 pages for object "sys.sysschobjs".
    DBCC results for 'sys.syscolpars'.
    There are 579 rows in 10 pages for object "sys.syscolpars".
    DBCC results for 'sys.sysnsobjs'.
    There are 1 rows in 1 pages for object "sys.sysnsobjs".
    DBCC results for 'sys.syscerts'.
    There are 0 rows in 0 pages for object "sys.syscerts".
    DBCC results for 'sys.sysxprops'.
    There are 9 rows in 1 pages for object "sys.sysxprops".
    DBCC results for 'sys.sysscalartypes'.
    There are 27 rows in 1 pages for object "sys.sysscalartypes".
    DBCC results for 'sys.systypedsubobjs'.
    There are 0 rows in 0 pages for object "sys.systypedsubobjs".
    DBCC results for 'sys.sysidxstats'.
    There are 151 rows in 2 pages for object "sys.sysidxstats".
    DBCC results for 'sys.sysiscols'.
    There are 266 rows in 2 pages for object "sys.sysiscols".
    DBCC results for 'sys.sysbinobjs'.
    There are 23 rows in 1 pages for object "sys.sysbinobjs".
    DBCC results for 'sys.sysobjvalues'.
    There are 187 rows in 27 pages for object "sys.sysobjvalues".
    DBCC results for 'sys.sysclsobjs'.
    There are 14 rows in 1 pages for object "sys.sysclsobjs".
    DBCC results for 'sys.sysrowsetrefs'.
    There are 0 rows in 0 pages for object "sys.sysrowsetrefs".
    DBCC results for 'sys.sysremsvcbinds'.
    There are 0 rows in 0 pages for object "sys.sysremsvcbinds".
    DBCC results for 'sys.sysxmitqueue'.
    There are 0 rows in 0 pages for object "sys.sysxmitqueue".
    DBCC results for 'sys.sysrts'.
    There are 1 rows in 1 pages for object "sys.sysrts".
    DBCC results for 'sys.sysconvgroup'.
    There are 0 rows in 0 pages for object "sys.sysconvgroup".
    DBCC results for 'sys.sysdesend'.
    There are 0 rows in 0 pages for object "sys.sysdesend".
    DBCC results for 'sys.sysdercv'.
    There are 0 rows in 0 pages for object "sys.sysdercv".
    DBCC results for 'sys.syssingleobjrefs'.
    There are 140 rows in 1 pages for object "sys.syssingleobjrefs".
    DBCC results for 'sys.sysmultiobjrefs'.
    There are 131 rows in 1 pages for object "sys.sysmultiobjrefs".
    DBCC results for 'sys.sysdbfiles'.
    There are 2 rows in 1 pages for object "sys.sysdbfiles".
    DBCC results for 'sys.sysguidrefs'.
    There are 0 rows in 0 pages for object "sys.sysguidrefs".
    DBCC results for 'sys.sysqnames'.
    There are 91 rows in 1 pages for object "sys.sysqnames".
    DBCC results for 'sys.sysxmlcomponent'.
    There are 93 rows in 1 pages for object "sys.sysxmlcomponent".
    DBCC results for 'sys.sysxmlfacet'.
    There are 97 rows in 1 pages for object "sys.sysxmlfacet".
    DBCC results for 'sys.sysxmlplacement'.
    There are 17 rows in 1 pages for object "sys.sysxmlplacement".
    DBCC results for 'sys.sysobjkeycrypts'.
    There are 0 rows in 0 pages for object "sys.sysobjkeycrypts".
    DBCC results for 'sys.sysasymkeys'.
    There are 0 rows in 0 pages for object "sys.sysasymkeys".
    DBCC results for 'sys.syssqlguides'.
    There are 0 rows in 0 pages for object "sys.syssqlguides".
    DBCC results for 'sys.sysbinsubobjs'.
    There are 0 rows in 0 pages for object "sys.sysbinsubobjs".
    DBCC results for 'sysdiagrams'.
    There are 0 rows in 0 pages for object "sysdiagrams".
    DBCC results for 'sys.queue_messages_1977058079'.
    There are 0 rows in 0 pages for object "sys.queue_messages_1977058079".
    DBCC results for 'sys.queue_messages_2009058193'.
    There are 0 rows in 0 pages for object "sys.queue_messages_2009058193".
    DBCC results for 'sys.queue_messages_2041058307'.
    There are 0 rows in 0 pages for object "sys.queue_messages_2041058307".
    CHECKDB found 0 allocation errors and 0 consistency errors in database 'TAIQRY'.
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.

  • New mail messages not visible--"detected corrupt database" related?

    I am using Mail.app and an iPod Touch with an Exchange server (Intermedia). All of a sudden in the last few days, recent mail on the server is not visible using Mail.app or the iPod Touch. I have deleted the mail accounts on both devices twice and done an entirely fresh download of all mail on both, and the problem persists.
    Mail in the Inbox is visible. However, if I move an Inbox message to, say, Archive or Travel, then it becomes invisible--even though it is intact on the server and in its proper location there.
    I have also repaired permissions and run sudo daily/weekly/monthly maintenance processes, to no avail.
    In the console, I see the following error message. Could this be related and is there a way to fix it?
    Jul 17 11:14:36 xxx-xxxx-macbook Mail[108]: ISyncDataDirectoryCorruptedException: detected corrupt database while executing delete from Record
    Thanks for any help.
    Message was edited by: RKNYC

    Update: all messages are viewable in Entourage Exchange Web Services 2008, but not in Apple Mail, or in Mail on my iPod Touch, or after a new download of all mail on another Mac in Mail.app. Why is Entourage able to see all the messages while all the Apple Mail clients are missing them?

  • *** glibc detected *** corrupted double-linked list: 0x004ec848 ***

    hi,
    I am using Berkeley DB database and facing a problem while retrieving records. After building database i'm retrieving records from that database.After retrieving some records it gives the error as
    *** glibc detected *** corrupted double-linked list: 0x004ec848 *** Aborted. What can i do solve this problem.
    Thank you,
    ravi

    Hi Ravi,
    Have you googled for the error message? What are the results?
    A good thing to do is to provide me a test program and more details about your operating system environment. Also, try to update your glibc version.
    Regards,
    Bogdan Coman

  • *** glibc detected *** corrupted double-linked list: 0x0027f878 ***

    users are getting this error
    {noformat}*** glibc detected *** corrupted double-linked list: 0x0027f878 ***{noformat}{noformat} {noformat}
    what could the issue for above error,
    in concurrent reqest out put,
    Apps:12i
    os: Linux

    Sawwan,
    Request language is :
    AMERICAN
    Request territory is :
    AMERICA
    Previous NLS_LANG Environment Variable was :
    AMERICAN_AMERICA.WE8ISO8859P15
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_AMERICA.WE8ISO8859P15
    stat_low = 6
    stat_high = 0
    emsg:was terminated by signal 6
    Enter Password:
    *** glibc detected *** corrupted double-linked list: 0x0027f878 ***
    Report Builder: Release 10.1.2.0.2 - Production on Wed Mar 18 09:02:51 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Reset original NLS_LANG in environment as :
    AMERICAN_AMERICA.WE8ISO8859P15
    Program was terminated by signal 6
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request xxxxxxx

  • How to detect corrupt archivelog? and continue the backup.

    Hi Folks,
    In RMAN, While doing backup of archivelog, I am getting some error regarding some archivelog are corrupt.I have two question here?
    1) How to detect that particular archivelog is corrupt or not?
    2) how to continue the backup even if we have corrupt archivelog?
    Thanks
    Shailesh

    Shailesh.mishra wrote:
    Hi Folks,
    In RMAN, While doing backup of archivelog, I am getting some error regarding some archivelog are corrupt.I have two question here?
    1) How to detect that particular archivelog is corrupt or not?DBV can be used to detect corruption or archives.
    2) how to continue the backup even if we have corrupt archivelog?What kind of error you are experincing? You can use skip clause if you know which one is corrupted.
    HTH
    Aman....

  • Detecting corrupt pdf's programatically

    Hello,
    Background: Have written/using a c++ plugin for Acrobat in Windows.
    I've encountered a couple of corrupt pdf files that cause a problem with my plug-in. I am unable to open these files manually in Acrobat or Foxit Reader (just to demonstrate it's not an Acrobat bug).
    I was wondering if there was a way to detect these files prior to opening a pdf using PDDocOpen() in my plug-in? I haven't come across anything in the SDK/API.
    I did figure out how to detect these corrupt files manually. I use the Recognize Text in multiple files->Select a folder option and it will indicate any problem files with a red X symbol.
    If there's a call in the API that can detect these files, let me know.
    Thanks.

    No, there is no way to detect them other than having PDDocOpen() throw an error or return NULL.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 28 Nov 2011 10:43:54 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Detecting corrupt pdf's programatically
    Detecting corrupt pdf's programatically
    created by zephed56<http://forums.adobe.com/people/zephed56> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4050665#4050665

  • Block cash sales with credit limit blocking from creation of outbound

    Hello everyone,
    Can you please teach me how to block cash sales with credit limit blocking from creation of outbound delivery?  Currently, outbound delivery can not be created only for charge sales with credit limit block.  Problem is, we can not confirm the cash sales.  We have to delete first the outbound then unblock the S.O. before creating a new Outbound.
    Thanks in advance.
    Ridgy

    Cash sale transaction will not have credit limit block, as the transaction is based on receipt of immediate payment. But if you still want to try the same, configure a 'Z' transaction Type for cash sale (Copy of Cash Sale - Sales Order Type) and maintain Credit check field as 'D' and try the scenario.
    Ideally there should not be a Credir Check foe a Cash Sale Scenario.
    Regards,
    Rajesh Banka

  • Database Block Size Smaller Than Operating System Block Size

    Finding that your database block size should be in multiples of your operating system block size is easy...
    But what if the reverse of the image below were the case?
    What happens when you store an Oracle Data Block that is 2 KB in an 8 KB Operating System Block?  Does it waste 6 KB or are there 4 Oracle Data Blocks stored in 1 Operating System Block?
    Is it different if you use ASM?
    I'd like to introduce a 2 KB block size into a RAC Exadata environment for a small set of highly transactional tables and indexes to reduce contention on blocks being requested in the Global Cache.  I've witnessed horrendous wait times for a plethora of sessions when a block was highly active.
    One index in particular has a column that indicates the "state" of the record, it is a very dense index.  Records will flood in, and then multiple processes will poll, do work, and change the state of the record.  The record eventually reaches a final state and is never updated again.
    I know that I can fill up the block with fluff by adjusting the percent free, percent used, and initrans, but that seems like a lazy hack to me and I'd like to do it right if possible.
    Any thoughts or wisdom is much appreciated.
    "The database requests data in multiples of data blocks, not operating system blocks."
    "In contrast, an Oracle block is a logical storage structure whose size and structure are not known to the operating system."
    http://docs.oracle.com/cd/E11882_01/server.112/e25789/logical.htm#BABDCGIB

    But what if the reverse of the image below were the case?
    What happens when you store an Oracle Data Block that is 2 KB in an 8 KB Operating System Block?  Does it waste 6 KB or are there 4 Oracle Data Blocks stored in 1 Operating System Block?
    Is it different if you use ASM?
    I'd like to introduce a 2 KB block size into a RAC Exadata environment for a small set of highly transactional tables and indexes to reduce contention on blocks being requested in the Global Cache.  I've witnessed horrendous wait times for a plethora of sessions when a block was highly active.
    One index in particular has a column that indicates the "state" of the record, it is a very dense index.  Records will flood in, and then multiple processes will poll, do work, and change the state of the record.  The record eventually reaches a final state and is never updated again.
    I know that I can fill up the block with fluff by adjusting the percent free, percent used, and initrans, but that seems like a lazy hack to me and I'd like to do it right if possible.
    Any thoughts or wisdom is much appreciated.
    "The database requests data in multiples of data blocks, not operating system blocks."
    "In contrast, an Oracle block is a logical storage structure whose size and structure are not known to the operating system."
    http://docs.oracle.com/cd/E11882_01/server.112/e25789/logical.htm#BABDCGIB
    You could have answered your own questions if you had just read the top of the page in that doc you posted the link for
    >
    At the finest level of granularity, Oracle Database stores data in data blocks. One logical data block corresponds to a specific number of bytes of physical disk space, for example, 2 KB. Data blocks are the smallest units of storage that Oracle Database can use or allocate.
    An extent is a set of logically contiguous data blocks allocated for storing a specific type of information. In Figure 12-2, the 24 KB extent has 12 data blocks, while the 72 KB extent has 36 data blocks.
    >
    There isn't any 'wasted' space using 2KB Oracle blocks for 8KB OS blocks. As the doc says Oracle allocates 'extents' and an extent, depending on your space management, is going to be a substantial multiple of blocks. You might typically have extents that are multiples of 64 KB and that would be 8 OS blocks for your example. Yes - it is possible that the very first OS block and the very last block might not map exactly to the Oracle blocks  but for a table of any size that is unlikely to be much of an issue.
    The single-block reads used for some index accesses could affect performance since the read of a 2K Oracle block will result in an 8K OS block being read but that 8K block is also likely to be part of the same index.
    The thing is though that an index entry that is 'hot' is going to be hot whether the block it is in is 2K or 8K so any 'contention' for that entry will exist regardless of the block size.
    You will need to conduct tests using a 2K (or other) block and cache size for your index tablespaces and see which gives you the best results for your access patterns.
    You should use the standard block size for ALL tablespaces unless you can substantiate the need for a non-standard size. Indexes and LOB storage are indeed the primary use cases for uses non-standard block sizes for one or more tablespaces. Don't forget that you need to allocate the appropriate buffer cache.

  • Searching master block based on value in detail block

    I have two blocks on a form. A master block for purchase orders and a detail block for the line items. I need to provide users with the ability to search the purchase orders based on the values entered into the detail block (line items), during the query entry. I am considering to check to see which block the cursor resides by using the :SYSTEM.CURSOR_BLOCK variable, then retrieving the value from the current item and running a query, using that query. The problem is that I am not very familiar with Forms and do not know how to implement my idea. Any ideas?
    null

    I copied you an example from metalink. Hope it will help.
    Doc ID:
    Note:109583.1
    Subject:
    How to query a Master record from a Detail Block
    Type:
    BULLETIN
    Status:
    REVIEWED
    Content Type:
    TEXT/PLAIN
    Creation Date:
    22-MAY-2000
    Last Revision Date:
    03-AUG-2001
    PURPOSE
    ------- To query a master record from a detail record. DESCRIPTION
    =========== The user would like to enter a query criteria in the detail block
    and then query the master record based on the above user input. SOLUTION
    ======== Create the master and detail blocks and the relationship in the usual
    manner. We will consider here the blocks DEPT and EMP based on the
    SCOTT schema. 1. Create a KEY-ENTQRY trigger at the block level of the detail block
    (EMP) and add the following code in it : GO_BLOCK('dept');
    CLEAR_BLOCK(no_commit);
    GO_BLOCK('emp');
    ENTER_QUERY; 2. Create a KEY-EXEQRY trigger for the detail block and add
    this : EXECUTE_QUERY;
    :global.deptno := :emp.deptno;
    :global.flag := 'T';
    GO_BLOCK('dept'); This will store the value of the deptno (primary key) in a global variable
    :global.deptno and set another global variable :global.flag to 'T'. This
    will be explained as we progress. 3. Create a WHEN-NEW-RECORD-INSTANCE trigger for the detail block
    and add the following : -- This is used to populate the MASTER block with the corresponding
    -- record whenever the user navigates through all the records in the
    -- DETAIL block if get_record_property(:system.cursor_record,:system.cursor_block,status) = 'QUERY' then
    SELECT rowid,deptno,dname,loc
    INTO :dept.rowid,:dept.deptno,:dept.dname,:dept.loc
    FROM dept
    WHERE deptno = :emp.deptno; -- This is to set the status of the record populated
    -- to QUERY and not to create a new record SET_RECORD_PROPERTY(1,'dept',status,QUERY_STATUS);
    end if; 4. Create a WHEN-NEW-BLOCK-INSTANCE trigger for the master block again
    and add this : if :global.flag = 'T' then -- set the variable to a different value
    :global.flag := 'F';
    :dept.deptno := :global.deptno; -- This will query the master table for the record based on the
    -- deptno of the detail table which is stored in :global.deptno -- For ex: if an employee of department 10 has been queried in
    -- the detail, then the global.deptno will have the value 10,
    -- which is used in the query below to fetch the master record. SELECT rowid,deptno,dname,loc
    INTO :dept.rowid,:dept.deptno,:dept.dname,:dept.loc
    FROM dept
    WHERE deptno = :global.deptno;
    set_record_property(:system.cursor_record,'dept',status,QUERY_STATUS);
    GO_BLOCK('emp'); end if; EXPLANATION
    =========== Actually in the above method we are using the base table blocks as a
    non-base table block when we query the master from detail. We are
    displaying the master record fetched from the table based on
    the query supplied in the detail. So after the fetch, if we clear the
    block or form then we get a "Do you want to save the changes you have made"
    alert. So in order to supress this while entering a normal master-detail
    query, we have created the global variable, :global.flag. There is a limitation though, if you query detail records and then
    navigate to the master block and then press the down arrow( i.e.,
    navigate to the next record) and then presses the up arrow to
    navigate back to the same record, then the detail records that
    were originally populated will change and a new set of records will
    get displayed. This is because the normal master-detail query is
    taking place during MASTER record navigation. This can be controlled by creating a flag (global variable) and setting
    its value and thus preventing the user from navigating to the next master
    record. Do the following : 1) In the KEY-EXEQRY trigger of the detail add the following :global.control_master := 1; 2) Create a KEY-EXEQRY for the master and add this : :global.control_master := 0;
    EXECUTE_QUERY; 3) Create a KEY-DOWN in the master with the following in it: IF :global.control_master <> 1 THEN
    down;
    END IF; Declare all the global variables before running the Form. RELATED DOCUMENTS
    Note:611.1

  • Query a database block based on a non-database block

    hi everybody
    can anybody help me as how to query a database block based on a non-database block, without a master-detail relationship?
    i have a block : date_input which contains a non-database item: start_date
    another database block (event_block)containing details of an event
    i have to input a date in the start_date and query the event_block
    in wich trigger should i insert the code?
    thanks

    If you are trying to query your database block (event_block) using the value from start_date in your non-database block, then you can set the Where clause in the database block using:
    SET_BLOCK_PROPERTY ('event_block', DEFAULT_WHERE, 'your where clause that includes start_date');
    Place this statement in a trigger that is executed prior to the block being queried.

  • Move from storage location- blocked to other strg. loc. - blocked

    It's possible to move a material (with batch) from a storage location (stock blocked) to another storage location (stock blocked) using one movement? If yes, what's the movement? If not, what is the simples way to move it?
    Thank you.
    Edited by: Was Wasssu on Jul 8, 2010 10:11 AM

    Hi.
    Use 325 movement type in MB1B t-code.
    SAM

Maybe you are looking for

  • Cannot deploy process flow package specification from file

    Hi, we are using owb 11gr2 on linux. We successfully managed to deploy mappings and tables into a specification file, and then deploy from that file into the target database (RAC). But when we try to deploy a process flow package we run into an error

  • My iphone5 is stuck in recovery mode and keep getting error message 4014

    Iphone5 stuck in recovery mode. Keep getting " could not be restored" message and error code 4014 Someone please help

  • How to make a common RUN/STOP Button

    Hi, Does anyone has an example to make common START/STOP Button in main VI. Thanks, Kishor [email protected]

  • Dial Up Log On

    I am new to Mac's and I can't seem to find a way to set up a manual log on to the Internet. When I start up my User ID, dial up starts and logs us on. Also, my family can't tell if they are logged on and may be using up Internet $ charges when workin

  • InDesign CS5.5, DPS: Preview error

    I watched an AIGA webinar on "Reinventing the Magazine for the Digital Era", which contained an introduction by Colin Fleming to the DPS offerings, based in InDesign 5.5. I tried to follow along with his examples to begin learning... I downloaded the