How to make a corrupted block?

Hi all,
Is there any method to make a block corrupted in Oracle (for Windows)?
My target is to test detecting and repairing corrupted blocks tools in Oracle.
Thanks in advance,
Ahmed B.

Its not a great practice to do and oracle doesn't recommend such act. However, Oracle Support they have some internal utility for such, I dont know whether it is available to public or not. Search at metalink.
Jaffar
I just reaclled, there is a utility called 'bbed' which comes with oracle.
However in UNIX you can use the dd command to corrupt a few blocks.Something like
dd ibs=db_block_Size skip=n count=n if=/dev/null of=full_path_name_of_file_to_corrupt
You can use the freeware hexedit to simulate block corruption in Windows.
My sincere request is that dont do this with your production db. Use it very caciously.
Message was edited by:
The Human Fly

Similar Messages

  • How to make an interactive block ALV

    Hi,
       I am new to the field of ABAP and have recently started working on ALV's. My problem is that i do not know how to make an interactive block ALV. I have implemented this functionality with the simple ALV but I am not getting the same for block ALV. Anyone who has worked on the same or has any idea please help me.
    Regards.
    Alok Bhardwaj

    Hi jester526,
    You'll need Acrobat to create links in a PDF file. Please see https://acrobatusers.com/tutorials/creating-and-editing-links for instructions.
    Best,
    Sara

  • How to make separately editable blocks in one widget?

    How to make separately editable blocks (Width, Height, BGColor,...) in one widget?

    There's an example widget for a 5x5 table which allows you set the color of different areas differently.
    Download the sample files at the bottom of the MUCOW documentation page:
    MuCow Documentation
    The sample named 'Table5x5.mucow' sets different parts of the widgets to different colors.

  • How to make an assignment block with valuenode editable?

    Hello All,
    I have read the blog [How to display a z-table in an assignment block|http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock]. This all went fine. Now I have a question if it is possible to make this table editable and if so, how?
    The problem is, it is valuenode for a custom z-table, without a GUID as key. (just partner number) So making a Simple Object of my z-table doesn't work, because the default class works with GUID as key. But I also can't seem to find if it is possible to make a valuenode editable.
    I also read these blogs, but they didn't do the trick for me either:
    [CRM Web UI Technical - Creating Table View In Web UI|http://wiki.sdn.sap.com/wiki/display/sandbox/CRMWebUITechnical-CreatingTableViewInWebUI]
    [Create a Z BOL Object Part 1|http://wiki.sdn.sap.com/wiki/display/sandbox/CRMWebUITechnical-CreatingTableViewInWebUI]
    I am silently hoping that there is an easy way of making my current assignment block editable by implementing a simple Save method or something similar. I do not prefer to have to recreate my view and stuff.
    Anyone an idea?
    Regards,
    Martijn.

    Hi Martijn,
    Try this code..
    If the main entity(assuming one order entity) is editable, set the view to editable.
    DATA:      lr_entity       TYPE REF TO cl_crm_bol_entity.
      lr_entity ?= me->typed_context->btadminh->collection_wrapper->get_current( ).
      CHECK lr_entity IS BOUND.
      if lr_entity->lock( ) = abap_true.
        *me->view_group_context->set_view_editable( me ).*
      endif.
    Check this therad for setting the view context.
    Edit the order
    Hope this helps..
    Cheers,
    Sumit Mittal

  • How to make an assignment block in an overview page read only

    Hi Experts,
    We have the following requirement:
    In Campaign overview page we need to make the Partner and Product assignment block read only.
    Can this be achieved through coding or through configuration?
    Please give detail steps for the appropriate approach.
    Thanks in advance.
    Regards,
    Sayan

    Hi Leon,
    Is there any authorization group which can be customized to take care of this situation?
    For Product Assignment block in DO_PREPARE_OUTPUT method of class CL_CPGOE_AB_OVELPRODUCTS_IMPL (Component : CPGOE_ABLOCKS :: View : OVELProducts) it is checking some authority. Any pointers where those authorities are maintained will be helpful.
    Creating a new configuration is not helping as the views are 'Table View'.
    We are looking for an approach which will avoid coding or involve minimum coding.
    Regards,
    Sayan

  • How to make selection-screen block as unvisible?

    hi,
    in report program there are two selection screen blocks like this.
    SELECTION-SCREEN BEGIN OF BLOCK b1.
         parameters: rb1 as radiobutton group r1 user-command ucomm,
                  rb2 as radiobutton group r1,
                  rb3 as radiobutton group r1,
                  rb4 as radiobutton group r1,
         SELECTION-SCREEN BEGIN OF BLOCK b2.
              parameters: ip1 type string.
              select-options: date for pernr-begda.
         SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN END OD BLOCK b1.
    Now when i clicked on rb4 the selecetion screen block b2 has to be visible.
    And rest of things i.e for rb1, rb2, rb3 it should not visible. it should be disabled.
    Regards,
    Shankar.

    hi,
    i am doing like this.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text.
      SELECTION-SCREEN SKIP 1.
      SELECT-OPTIONS: pernr FOR person-pernr.
      SELECTION-SCREEN SKIP 1.
      PARAMETERS: tempname LIKE rlgrap-filename.
      SELECTION-SCREEN SKIP 1.
      PARAMETERS: rb_p1 TYPE c RADIOBUTTON GROUP r1 USER-COMMAND rbg,
                  rb_p2 TYPE c RADIOBUTTON GROUP r1,
                  rb_p3 TYPE c RADIOBUTTON GROUP r1,
                  rb_p4 TYPE c RADIOBUTTON GROUP r1.
      SELECTION-SCREEN SKIP 1.
        SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text1.
            PARAMETERS: country(25) TYPE c MODIF ID ccc.
            SELECT-OPTIONS:Fromdate FOR person-begda NO-EXTENSION MODIF ID ccc.
        SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN OUTPUT.
    IF rb_p4 = ' ' .
      LOOP AT SCREEN.
          IF SCREEN-NAME = 'COUNTRY'
          OR SCREEN-NAME = 'FROMDATE-LOW'
          OR SCREEN-NAME = 'FROMDATE-HIGH'
          OR SCREEN-GROUP1 = 'CCC'.
              screen-input = 0. "Disable
          ENDIF.
          MODIFY SCREEN.
      ENDLOOP.
    ENDIF.
    IF rb_p4 = 'X' .
      LOOP AT SCREEN.
          IF SCREEN-NAME = 'COUNTRY'
          OR SCREEN-NAME = 'FROMDATE-LOW'
          OR SCREEN-NAME = 'FROMDATE-HIGH'
          OR SCREEN-GROUP1 = 'CCC'.
              screen-input = 1. "Disable
          ENDIF.
          MODIFY SCREEN.
      ENDLOOP.
    ENDIF.
    Now it's making as disabled the fields which are in block B2.
    Acutually my requirement is when i ever user selects RB_P4 then only that screen has to appear. and for rest of 3 RB it should not visible. it should be invisible.
    for this wat to do....
    Regards,
    Shankar.

  • How to make a region "block" instead of "inline"

    Sorry if this is a facile question, but I'm new to Apex and its UIs, and I haven't been able to find a way around this problem.
    So, I have a hidden region that is shown when a button is hit. Both the hiding of the region when the page is loaded and the showing of the region when the button is pressed are done through dynamic actions. However, when the hidden region (a form consisting of a single text-area) is shown it is to the right of the first region (a report). this is what would be considered inline display in HTML. I want it to be under the region before it (or block display, in HTML-speak). Do I have to edit the page's HTML and use divs, or is there a way to do this using the various options in the Apex UIs?
    Edited by: 930020 on Apr 24, 2012 6:49 PM
    Edited by: 930020 on Apr 24, 2012 6:49 PM

    You can achieve this through the use of CSS styles in the Region Attributes/ HTML Table cell Attributes .
    E.g. to set the display:block for the region put the below line in the Region Attributes field of the Region
    style="display:block;"However, at times some of the property settings do not work as expected because they interfere/conflict with the CSS Class definitions associated with the items. That is when FF with Firebug or IE with Dev Tools comes in handy.
    Regards,

  • How to make JACK stop blocking /dev/dsp?

    I'm currently using JACK (with -d alsa) for my sound mixing needs. However, some of my applications use OSS exclusively. Is it possible to make JACK unblock /dev/dsp so those apps can use it when JACK is running?
    (Note that I don't need mixing of OSS applications - I just want sound to work for them.)

    oss2jack isn't really what I'm looking for (plus it's a pain in the neck) - I'd just like a way of having OSS apps run without killing JACK, no mixing necessary.
    Is it possible I might be able to get aoss to work with the JACK alsa-plugin? I've tried that, but I get no sound. Maybe I need to add something to my asoundrc?
    pcm.!default {
    type plug
    slave { pcm "jack" }
    pcm.jack {
    type jack
    playback_ports {
    0 alsa_pcm:playback_1
    1 alsa_pcm:playback_2
    capture_ports {
    0 alsa_pcm:capture_1
    1 alsa_pcm:capture_2

  • How to make a single record datablock?

    Hi all,
    I got a data-entry form (9i) that will input a record one at a time and commit before entering another record.
    I try to set the block as single-record to yes but it gives error, and after checking with help, I understand that it can not work with database data block.
    Is there any idea on how to make the data block to show only one record? The problem is that after entering some data on the record, sometime the data-entry clerk may push the arrow-key that make form shows the next record items, which will be empty, and this will confuse the clerk!
    Thank you for your help.

    Add Triggers KEY-UP(DOWN, NXTREC, PRVREC...) to the following effect:
    NULL;
    or
    NEXT (PREVIOUS) _ITEM;                                                                                                                                                                                                                            

  • How to Make MRBR to show the Customised Payment Block Indicator (MIRO) ?

    Hi
    Currently, from what I know of, MRBR only showing Log Payment Block as follows:
    A     Automatically blocked due to existence of blocking reasons
    S     Stochastically blocked
    M     Manual payment block set in header - no blocking reasons
    W     Automatically blocked due to entry via Web Invoice
    However during the manual MIRO creation, I put in customised Payment Block G (Block due to XX) in the Payment Tab of MIRO. This G does not get shown up in MRBR.
    How to make it possible in MRBR as I have configured a few customised Payment Block such as G (Block due to XX) and H (Block due to YY).
    I would like MRBR to show up the exact Payment Block indicators as those in the MIRO.
    Please help.
    Thanks

    Hi Nick.
    I just found out that Payment Block Indicator shown in MIRO will appear in MRBR. The reason that it was not shown in MRBR because during MIRO creation, it was set BLANK and then user went to FB02 to change it with other customised Payment Block Value, thus when we run MRBR, it was showing blank under Payment Block column. Thus, we had to resort to LOG Payment Block which gave rise to this thread.
    Having understand the importance of how FB02 changing  payment block will affect MRBR, we have decided not to let user change the payment block in FB02.
    SAP note: 394370 has explained everything:
    "A document generated with MIRO was blocked for payment. You cancel the payment block from the vendor line item in the FI follow-up document. Transaction MRBR then displays the invoice document nevertheless. Why?
    The invoice document itself cannot be changed by changes to the follow-up documents; this is not programmed. Transaction MRBR therefore continues to display the document as blocked. If this document is released from an MM point of view, the FI follow-up document remains released. Thus the damage caused is restricted to unnecessary work by the user. SAP recommends that you only use the release transactions for releasing invoices."
    Thanks a lot!

  • How to make relationship block mandatory?

    Hi,
    Please let me know how to make relationship block mandatory to create a business partner?
    Vinay

    Hi Vinay,
    Did you try to set the flag mandatory in the configuration of the relationship view for a field (e.g. relationship).
    Just go to the view in the component workbench, select your configuration, mark a field and go to Show Field Properties.
    Hope this helps.
    Regards, Thea

  • How to make reports based on Data block work on web?

    I am using form 6i and oracle 9ias
    I have successfully call the common reports from the form on the web using run_report_object, then web.show_documnet(..);
    But when it come to the reports based on the data block from the form, it doesn't work. it always fetch all the records from the table which the data block is based
    Anyone can tell me how to make that work?
    thanks

    I have successfully do this when I am running forms and >reports in localhostTell me how did you achieve this?
    Did you have both Reports and Forms running under same oracle home?
    and off course was it a clinet server architecture?
    What version for Form and Reports did you use?
    Which executables did you use and what was your call from forms? When you call from Forms, which Reports executable use to run the report?
    The data integration can only be achive if both the product were running under same Oracle home and were in client server architecture. I do not think data integration is possible in web architecture.
    Thanks
    Rohit (Orcale Reports Team)

  • How to identify corrupted block in Particular tablespace?

    Hi,
    i am getting lot of block corruption error from particular tablesapce datafile. i couldn't able to use DBVerify utility .bcz datafiles not created using .dbf format.
    how to idetify corrupted blocks?

    Detecting and Repairing Data Block Corruption
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/repair.htm(9i)
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/repair.htm(10g)
    Find more information “Handling Oracle Block Corruptions in Oracle7/8/8i/9i/10g” Metalink Note: 28814.1.
    http://dbataj.blogspot.com/2008/04/oracle-database-block-corruption.html
    http://sysdba.wordpress.com/2006/04/05/how-to-check-for-and-repair-block-corruption-with-rman-in-oracle-9i-and-oracle-10g/

  • How can we make Delivery for Blocked Dealers

    Hi,
    We want to make Delivery for Blocked Dealers, but not want print the Invoice. Means we want till Delivery for Blocked Dealers.
    How it can be done??
    Regards..
    Edited by: @ABAP@ on Sep 29, 2009 1:15 PM

    When i go in XD05, and insert Customer and Company code...and click Sales Area, there i saw one thing that Distr. Channel is like CD, DD, SS, ST but in Division, there is 00 value in all rows...showing like this..
    Distr. Channel.......Division
    CD...........................00
    DD...........................00
    SS...........................00
    ST...........................00
    After that when i want to create the sales order through VA01, there insert Order Type OR and enter. Insert Sold-to-party and Ship-to-party same and hit enter. Here, it asked sales area for customer...BUT HERE IN DIVISION 00 NOT SHOWING. Here showing like...
    Distr. Channel.......Division
    DD.........................CP
    DD.........................IA
    DD.........................MS
    DD.........................SP
    SS.........................CP
    SS.........................IA
    SS.........................MS
    SS.........................SP
    Please see, here is not 00 under Division. I think problem is there...
    Please suggest...

  • TS3276 i have a macbook pro and need to send a password protected document to a pc based computer and it shows up at the other end as corrupted and they can't open it- any suggestions on how to make it work?

    i have a macbook pro and need to send a password protected document to a pc based computer and it shows up at the other end as corrupted and they can't open it- any suggestions on how to make it work?

    It was tricky sorting out the actual questions in your post. I think the other poster has one question in hand, here's the other:
    Post by Turingtest2: HowTo: Grouping Tracks Into Albums - http://discussions.apple.com/message.jspa?messageID=9910895

Maybe you are looking for