How to replicate the dbremove operations?

Hi,
My application have two site in a group, and use replication. Each site has a map to remember the dbs that are opend.
In the master site, we create and open the db, the replicate it to the client. The db in the client is opend passively when a read request coming in. There is a need that sometimes we remove db in the master site, this is normally done by first closing the db and then using dbremove to remove it. So, my question is that, how do we replicate this dbremove operation? How can we close the db handle in the client when a dbremove happens in a master site? Is there a way to inform the client now is the time to close the db handle, you know the db handle is in client's own memory space.
Regards,
Steve

Steve,
As you know, dbremove requires that the db handles be closed before removal, which is what
you are doing on the master side. The same applies to the client side. Just as a multi-threaded
application would have to make sure all threads that might hold their own db handle would close
them via a condition variable or some other mechanism, a replicated application is going to need
to communicate the intent-to-remove to its client-side. The client would need to close any
open handles as well as prevent any new opens from starting at that time.
Your master-side application is responsible for notifying the client-side application that it needs to close its handles.
You can implement this in different ways such as application level messages.
Sue LoVerso
Oracle

Similar Messages

  • How to change the 'Default operating mode' of a mapping on the repository and not from the client

    Hi everybody,
    I am using OWB 11.2.0.3 and under the mapping's configuration property, I have the necessity to change the Run time parameter "Default operating mode" to SET_BASED in almost all my mappings.
    Because I have 745 mappings in which the Default operating mode is different from SET_BASED, instead to open 745 times the 'Configure' and update manually the value, is there a way to update safely these values (with an oracle predefined script) directly on the repository ?
    I know that exists a view called CMPSTRINGPROPERTYVALUE_V based on a table called CMPSCOPrpClasses, but changing this table it's very complicated for me because contains only keys and then I don't know in which way is connected with all the other structures....
    If somebody knows a method more efficient to do these updates on the repository and not from OWB client I will appreciated it!
    Thanks in advance
    Alessandro

    Urgent... help!!! Thanks
    in short, my server log says transaction access mode is "read only", so my calling home.create() always triggers a transaction rollback. How to change the access mode to "read write"?
    Is possible to work out through one of the descriptor files? Or ini settings of the underlying pointbase database? Or any other way around?

  • OIM: How to get the last operation and data from a child form action

    Dear OIM guru,
    I have a regular Process form, a child form and a process definition. When there is an insert/delete into child form a trigger is raised and the process task gets called. The process task does whatever it needs to do on the target system. This is all fine. However, after the task completes, lets say successfully, I want to send out an email to the user saying, for example, group 1 has been added to you or just got deleted.
    I am not able to figure out how to get that last operation and child form data. I am sure you came across this and if so please let me know how to do this.
    Thanks

    So, Can I add a similar process task with the same exact condition one more time? I thought I couldn't use the same condition again. For example, when a group is deleted can I use the process data->child data->group Id with old value check box checked on another process task?

  • How to change the IOS operating system

    how do you change the IOS operating system from 2 to a more modern in my ipod touch?

    It is very simple, see here: http://www.apple.com/ios/.
    Updating is easy.
    Just connect your device to your Mac or PC and follow the onscreen instructions in iTunes.

  • How to fetch the components operation and workcenter. pp report

    Hi experts,
                 this report is for pp module ,routing details,in our program
    only give the ouput of the header materials operation and workcenter
    but not get into components.
    before we clariy if the materilas is e or x -
    check the plpo operation and crhd workcter
    or else
    if the material is f -
    get the vendor details---- i ll not using this onle
    before  we need to adopt it only e or x only
    TABLES : MAST,MARC,CRHD,PLPO.
    TYPES : BEGIN OF IT_FINAL,
             POSNR LIKE STPOX-POSNR,
             IDNRK LIKE STPOX-IDNRK,
             OJTXP LIKE STPOX-OJTXP,
             MENGE LIKE STPOX-MENGE,
             MEINS LIKE STPOX-MEINS,
             VORNR LIKE PLPO-VORNR,
             ARBID LIKE PLPO-ARBID,
             OBJTY LIKE PLPO-OBJTY,
             LTXA1 LIKE PLPO-LTXA1,
             VGE01 LIKE PLPO-VGE01,
             VGW01 LIKE PLPO-VGW01,
             VGW02 LIKE PLPO-VGW02,
             ARBPL LIKE CRHD-ARBPL,
            LIFNR LIKE EINA-LIFNR,
            INFNR LIKE EINA-INFNR,
             END OF IT_FINAL.
    DATA : BEGIN OF CRHD_IDEL OCCURS 1000,
           OBJID LIKE CRHD-OBJID,
           ARBPL LIKE CRHD-ARBPL,
           END OF CRHD_IDEL.
      DATA: BEGIN OF ISTPO OCCURS 1000.
            INCLUDE STRUCTURE STPOX.
    DATA: END OF ISTPO.
    DATA: BEGIN OF MATCAT OCCURS 1000.
            INCLUDE STRUCTURE CSCMAT.
    DATA: END OF MATCAT.
    DATA : BEGIN OF ITAB OCCURS 0,
               MATNR LIKE MAST-MATNR,
               WERKS LIKE MAST-WERKS,
               END OF ITAB.
    SELECT-OPTIONS : P_MATNR FOR MAST-MATNR.
    PARAMETERS     : P_WERKS TYPE MAST-WERKS.
    DATA : IT_FINAL_IDEL TYPE STANDARD TABLE OF IT_FINAL
               WITH HEADER LINE INITIAL SIZE 100 WITH DEFAULT KEY.
    DATA : IT_CRHD_IDEL LIKE CRHD OCCURS 100 WITH HEADER LINE.
    DATA: IT_STB LIKE ISTPO OCCURS 0 WITH HEADER LINE.
    DATA : IT_MAPL_IDEL LIKE MAPL OCCURS 100 WITH HEADER LINE.
    DATA  :IT_ITAB_IDEL LIKE MARC OCCURS 100 WITH HEADER LINE.
    DATA : IT_PLPO_IDEL LIKE PLPO OCCURS 100 WITH HEADER LINE.
    SELECT MATNR WERKS FROM MAST INTO TABLE ITAB
                       WHERE MATNR  IN P_MATNR AND WERKS = P_WERKS.
    START-OF-SELECTION.
      CLEAR ISTPO. REFRESH ISTPO.
      LOOP AT ITAB.
      CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
          EXPORTING
            CAPID                 = 'PP01'
            MEHRS                 = 'X'
            MMAPS                 = ' '
            MDMPS                 =  ' '
         BREMS                  = 'X'
         DISMM                 = ' '
         LIFNR                 = ' '
         WEBAZ                 = ' '
            DATUV                 = SY-DATUM
            MTNRV                 = ITAB-MATNR
            WERKS                 = P_WERKS
            EMENG                 = '1'
            STKKZ                 = ' '
            FBSTP                 = ' '
            FTREL                 = ' '
          IMPORTING
            TOPMAT                = W_TOPMAT
           DSTST                 = DSTST
          TABLES
            STB                   = ISTPO
            MATCAT                = MATCAT
          EXCEPTIONS
            ALT_NOT_FOUND         = 1
            CALL_INVALID          = 2
            MATERIAL_NOT_FOUND    = 3
            MISSING_AUTHORIZATION = 4
            NO_BOM_FOUND          = 5
            NO_PLANT_DATA         = 6
            NO_SUITABLE_BOM_FOUND = 7
            OTHERS                = 8.
      WRITE: / W_TOPMAT-MATNR UNDER TEXT-H00 COLOR COL_HEADING,
               W_TOPMAT-MAKTX UNDER TEXT-H01 COLOR COL_HEADING.
        SELECT MATNR WERKS OBJID BESKZ FROM MARC INTO CORRESPONDING FIELDS OF TABLE IT_ITAB_IDEL
                    WHERE   MATNR = ITAB-MATNR AND BESKZ = 'X' OR BESKZ = 'E' OR BESKZ = 'F'.
        SELECT MATNR WERKS PLNTY PLNNR LIFNR FROM MAPL INTO CORRESPONDING FIELDS OF TABLE IT_MAPL_IDEL
                                                   WHERE MATNR = ITAB-MATNR AND
                                                         WERKS = 'IN01' .
      SELECT PLNTY PLNNR VORNR  ARBID OBJTY LTXA1 VGE01 VGW01 VGW02 PLIFZ FROM PLPO INTO CORRESPONDING FIELDS OF TABLE IT_PLPO_IDEL
                                                        FOR ALL ENTRIES IN IT_MAPL_IDEL
                                                        WHERE PLNTY = IT_MAPL_IDEL-PLNTY AND
                                                              PLNNR = IT_MAPL_IDEL-PLNNR AND
                                                              WERKS = 'IN01' AND ARBID <> 0.
    LOOP AT ISTPO.
      IT_FINAL_IDEL-POSNR  = ISTPO-POSNR.
      IT_FINAL_IDEL-IDNRK  = ISTPO-IDNRK.
      IT_FINAL_IDEL-OJTXP  = ISTPO-OJTXP.
      IT_FINAL_IDEL-MENGE  = ISTPO-MENGE.
      IT_FINAL_IDEL-MEINS  = ISTPO-MEINS.
    LOOP AT IT_PLPO_IDEL.
    IT_FINAL_IDEL-VORNR = IT_PLPO_IDEL-VORNR.
        IT_FINAL_IDEL-ARBID = IT_PLPO_IDEL-ARBID.
        IT_FINAL_IDEL-OBJTY = IT_PLPO_IDEL-OBJTY.
        IT_FINAL_IDEL-LTXA1 = IT_PLPO_IDEL-LTXA1.
        IT_FINAL_IDEL-VGE01 = IT_PLPO_IDEL-VGE01.
        IT_FINAL_IDEL-VGW01 = IT_PLPO_IDEL-VGW01.
        IT_FINAL_IDEL-VGW02 = IT_PLPO_IDEL-VGW02.
      ENDLOOP.
        READ TABLE IT_CRHD_IDEL WITH KEY OBJID = IT_PLPO_IDEL-ARBID.
        IT_FINAL_IDEL-ARBPL = IT_CRHD_IDEL-ARBPL.
        APPEND IT_FINAL_IDEL.
        CLEAR : IT_FINAL_IDEL,IT_PLPO_IDEL,IT_CRHD_IDEL,ISTPO.
    ENDLOOP.
    WRITE :/6 W_TOPMAT-MATNR, 25 W_TOPMAT-MAKTX.
       LOOP AT IT_FINAL_IDEL.
       WRITE :/ IT_FINAL_IDEL-POSNR,
                IT_FINAL_IDEL-IDNRK,
                IT_FINAL_IDEL-OJTXP,
                IT_FINAL_IDEL-MENGE,
                IT_FINAL_IDEL-MEINS,
                IT_FINAL_IDEL-VORNR,
                IT_FINAL_IDEL-ARBID,
                IT_FINAL_IDEL-OBJTY,
                IT_FINAL_IDEL-LTXA1,
                IT_FINAL_IDEL-VGE01,
                IT_FINAL_IDEL-VGW01,
                IT_FINAL_IDEL-VGW02,
                IT_FINAL_IDEL-ARBPL.
       ENDLOOP.
    REFRESH IT_FINAL_IDEL.
    SKIP.
    ENDLOOP.
    regards
    ds

    u have the plant and component from STPOX....using this goto MARC table and check BESKZ field...

  • How to replicate the same bookmarks on a new/recurring report?

    Hi, I am using Acrobat Pro 9.
    I need to generate a new report every month with the same number of pages and bookmark destinations. Is there a way to "copy" or replicate the same bookmarks I have created in this month's report to any new subsequent ones?
    Thanks in advance!
    GC

    Try using 'Replace Pages'.
    Be well...

  • PCI-6254 DIO Read - Need to know how to trigger the Read operation??

    Hi,
    Can anyone help me with DIO Read operation using PCI-6254 (DAQmx)??
    here'e the breakdown of the issue i'm having:
    i'm doing a DIO Read using DAQmx drivers, and am using "one channel for each line" on the Port 0.
    i'm using another line for DIO Write at the same time...infact the DIO write sends the bit pattern
    and inturn triggers an external device, and am trying to capture the response of ext. device on
    other line thro' DIO READ...
    now, i do see the bit pattern on the Oscope, but am not reading the bit pattern using DAQmx Read?
    (i'm reading all ZEROS)
    Currently, i'm not using DAQmx Trigger? i tried using it, but was getting an error...
    i guess i need to trigger the read when the line goes high/low (for ex)
    can anyone help me with this?
    Regards,
    rkpat

    Hi rkphat,
    DIO operations on an M Series device cannot be configured for triggers. The source of the DIO sample clock must be set up for the trigger and the DIO operation should just be configured to receive that clock. You must provide an external clock or a clock generated by another subsystem, such as an analog input sample clock or a counter pulse train output, to clock digital operations. For example, if you were going to use the analog input sample clock to clock your digital measurements, you would configure your AI subsystem to receive a start trigger and to use an internal clock. Once the trigger arrives, the AI Sample clock is generated and passed to the DIO subsystem. Or if you wanted to use a counter to generate the clock, you would set the counter up for pulse train generation with a digital start trigger.
    If you post your code we can find out why the Digital Read is not returning the correct data.
    Cheers,
    Lesley Y.

  • How to fix: the share operation master file has failed quicktime error: -50

    So Whenever i export my HD 1080p file in FCPX 10.0.8 i get this error "the share operation master file has failed quicktime error: -50"
    Please help!!!!
    It happens about 12% of the way in. My movie is only 10 minutes long.

    Download it. Quit FCPX. select FCPX in this tool and and click on trash. Restart FCPX and try again to export. Empty trash. It will do no harm but you have to set your settings in preferences in FCPX after that. Every application has preferences files and they can become corrupt. FCPX will build new fresh preferences after you open it.

  • How to replicate the sum by function in RPD.

    Hi All,
    Below is the function being used in report.
    CASE WHEN sum ("product sales information". "Sales amount" by "master calendar". "Years description") is NULL THEN 0 WHEN sum ("product sales information". "Sales amount" by "master calendar". "Date of description ") <= 0 THEN 0 ELSE CASE WHEN sum (" product sales information "." sales amount "by" product master "." product name "," master calendar "." years description ") is NULL THEN 0 ELSE 100 * sum ("product sales information". "sales amount" by "product master". "product name", "master calendar". "years description") / sum ("product sales information". "sales amount "by" master calendar "." years description ") END END
    I am trying to create aggregate measure in RPD and use that in report. The above function works fine when I use that in report but when I tried to create a measure in RPD its giving syntax error.
    Can anyone please help me to create the measure in RPD? Is there any change of syntax for sum by function if we use in RPD?
    Thanks
    Krishna

    HI Srini
    Thanks for your reply. Is there any other way I can replicate this in RPD. Customer is using this function in many places in a dashboard so due to this performance is very slow.
    I am trying to move these functions to RPD.
    Thanks
    Krishna

  • How do replicate the contact person to ERP partner fuction from CRM

    All experts,
         I already replicated contact person from CRM to ERP,but the contact person just appeared in tab contact person in ERP customer general data.
         Actually,when i created contact person relationship in CRM,i could assgin contact person to a salse area,so  I want to replicate contact person to tab partner fuction in customer sales area data in ERP. pls give me a  light. thks
    Raymond J

    Hi Raymond,
    I believe the contact person in question is assigned only as a partner function in R/3. Therefore you will only see the usage of that BP as a partner function, but not the relationship specific data.
    You will need to create a contact person relationship for the BP.
    So the relationship specific data will not be visible for a contact person in R/3 which is only assigned as a Partner Function in R/3.
    Can you please check this on your system?
    I hope this helps.
    Best regards,
    Ita

  • How to replicate the EJB state between a clusters

    We had developed shopping card EJB and deployed to a oracle AS clusters, and we want the EJB replicated its state such that the client is transparent to clusters failover. However, we try many times also failure.
    Any brothers and sisters know how to do it????

    You can check the chapter - "EJB Clustering" http://ftp.unex.es/oradoc/form_y_report_10g/web.904/b10324/toc.htm
    from Oracle Application Server Containers for J2EE Enterprise JavaBeans Developer's Guide

  • How to find the inspection Operation wise status ?

    Hi
    There are two operation in result recording
    two different persons are entering the result in different operation....
    there is no sequence in entering the results...
    any one can enter at any time....
    but user requirement ...is
    they want to know whether they entered the results or not without going into result recording screen...
    Suppose if results entered they want to know which operation is completed  (Because system status showing INSP , if any one operation is completed)
    Is there any work around...(Like User status........?)
    R Karthikeyan

    Hi,
    Do result recording  in transaction QE51N, here if you expand the  operation you can see Red,green or gray  indicators. Red indicates recorsing completed but some rejection, green indicates completed and accepted and gray indicates not valuated.
    Please check.
    Best Regards,
    Shekhar

  • How to replicate the old address communication data into new address commun

    Hi All,
    In SAP R/3   4.7
    T.code: BP or FPP1
    Business partner have address with telephone, fax and email details, now I want to add another (new) address with same telephone number, fax and email with out copy and paste.
    When I click u2018createu2019 on address overview screen, the existed telephone number, fax and email fields data should be popup or appear in same filed in the new address screen.
    May i know standard sap user exit, BADI or BAPI.
    Thanks
    Venkat.

    Open the newly created address book. Click on one contact to select it. Hit control+a to select them all. Drag and drop them on the personal Address Book folder to move them there.

  • How to invoke the FTP rename operation?

    Does anybody know whether it is possible and how to invoke the 'rename' operation from the FTP Adapter (using ESB)?
    Thanks in advance,
    Jeroen van Schaijk

    Hi,
    Please use the below code for your Web Service Call
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cus="urn:crmondemand/ws/odesabs/customrecordtype/" xmlns:data="urn:/crmondemand/xml/customrecordtype/data">
    <SOAP-ENV:Header>
              <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext">
                   <wsse:UsernameToken>
                        <wsse:Username> USERNAME </wsse:Username>
                        <wsse:Password> PASSWORD </wsse:Password>
                   </wsse:UsernameToken>
              </wsse:Security>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <cus:CustomRecordTypeUpsert_Input>
    <data:CustomRecordType>
    <!--You may enter the following 6 items in any order-->
    <data:Name>myname</data:Name>
    <!--Optional:-->
    <data:SingularName>myname</data:SingularName>
    <!--Optional:-->
    <data:PluralName>myname</data:PluralName>
    <!--Optional:-->
    <data:ShortName>myname</data:ShortName>
    <!--Optional:-->
    <data:IconName>myname</data:IconName>
    <data:ListOfCustomRecordTypeTranslations>
    <!--1 or more repetitions:-->
    <data:CustomRecordTypeTranslation>
    <!--You may enter the following 4 items in any order-->
    <data:LanguageCode>?</data:LanguageCode>
    <data:SingularName>?</data:SingularName>
    <data:PluralName>?</data:PluralName>
    <data:ShortName>?</data:ShortName>
    </data:CustomRecordTypeTranslation>
    </data:ListOfCustomRecordTypeTranslations>
    </data:CustomRecordType>
    </cus:CustomRecordTypeUpsert_Input>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Hope that helps!
    Thanks & Regards
    Sablok Kumar

  • How to use multiple WSDL operations in One BPEL process Recieve Activity ?

    Is there anyway to attach multiple WSDL operations with a Single BPEL process ? How ?

    Thanks Melvin for your quick respond.
    When I create a BPEL process, It asks me to give the XSD as an Input. When I import the XSD it asks me to select an operation not more than one. Let suppose I select addRequest and finish the wizard.
    Now what I can see, It create Recieve activity with an Input msg of Add operation. Well what I understand from your statement is that, I remove the recieve activity and put the Pick activity.
    Now my question is How to mention the other operations like update and delete ? And how to test them ?? The link provided by you is just tell me what Pick activity can do for me, But its not telling me how to use it ?? and how the give the operation to it. Where should I need to change in the BPEL ???

Maybe you are looking for

  • 6770m and OpenGL

    Ok, so I am still having issues with my GPU and games using OpenGL. I have already applied the correct  BIOS fix for my particular model of dv6 machine. I am positive that I am running in Fixed mode, as my Catalyst Control Center options are now show

  • Moving playlists from Mac to iPhone 5

    In the newest version of iTunes, how do I put the playlists from my Mac onto my iPhone 5.  It's probably staring me right in the face, but so far I have't figured it out.

  • Joining head- and item- records during data-staging

    Hi experts, I've got the following scenario: I get data from 2 datasources, one (myds_h) provides documents-heads and the other one provides document-items (myds_i). Unfortunately the myds_i-DataSource does not contain the head-fields (but foreign-ke

  • Is it possible to trigger a transaction from an email sent to SAP mail box?

    Hi All, I have found a strange requirement where a transaction has to be triggered by double clicking on a line in the email sent to SAP Mail box...!!! The requirement is, a batch input program has to be executed and an email with error details has t

  • Boot "Lion" of a usb then use it as i would use "Snow leopard"

    Hey there, this may sound horribly stupid and amature, so sorry in advance Im running "Snow leopard" right now and i love it, i dont want to upgrade ( it just works for me ) BUT! i need to use certain software thats only available to "Lion" So, is it