About the Customized Ruleset and Rules

Dear all,
I am testing a 3 sites replication. If i use the add_schema_rules to create the capture, propagation and apply process with the auto-generated rulesets and rules, everything is OK. But now, i want to customize the propagation to achieve some of my goals. I use the DBMS_RULE_ADM.create_rule_set to create a rule set of my own, then use the DBMS_RULE_ADM.create_rule to create some rules like the following:
DBMS_RULE_ADM.CREATE_RULE(
rule_name => 'strmadmin.all_tab1_dml',
condition => ' :dml.get_object_owner() = ''my'' AND ' ||
' :dml.get_object_name() = ''tab1'' AND ' ||
' :dml.is_null_tag() = ''Y'' AND ' ||
' :dml.get_source_database_name() = ''db1.world'' ' );
DBMS_RULE_ADM.CREATE_RULE(
rule_name => 'strmadmin.all_tab1_ddl',
condition => ' (:ddl.get_object_owner() = ''my'' OR ' ||
' :ddl.get_base_table_owner() = ''my'') AND ' ||
' :ddl.get_object_name() = ''tab1'' AND ' ||
' :ddl.is_null_tag() = ''Y'' AND ' ||
' :ddl.get_source_database_name() = ''db1.world'' ');
After creating the rules, i used the DBMS_RULE_ADM.add_rule to add these rules to the created rule_set and then assigned the rule_set to the propagation created by the DBMS_PROPAGATION_ADM.create_propagation.
The capture and apply processes on the source and dest database are all OK. But the propagation process seemed not working. As i selected the view dba_streams_rules, i have seen that the fields streams_type, streams_name, rule_set_owner, rule_set_name, rule_owner, rule_name, rule_set_type were all right, but the others were all NULL.It was so weird.
Can anyone give me some hints?
Appreciated for ur help
BR,
bartholo
MSN:[email protected]

Is the propagation process aborted with errors ?
If so can you let me know the errors.

Similar Messages

  • Question about the custom panel language

    I have a question about the custom panel language...
    The document you provide seems to lack details on some features. Namely the icon and picture widgets. I see from looking at the examples and other vendor's web pages that these features exist, but I don't find any detailed descriptions of them in the documentation. Is there a more complete document describing these and other features...
    http://www.adobe.com/products/xmp/custompanel.html
    Alternatively, can someone fill me in on the syntax and options for at least the icon and picture widget. For instance, how do you load external icons or pictures...
    Tom

    Gunar,
    It could be interesting to have something like
    icon(url: 'http://www.adobe.com/Images/logo.gif', width: 20, height: 20);
    or better
    picture(url: 'http://www.adobe.com/Images/logo.gif', width: 20, height: 20);
    for the pictures and
    include(url: 'http://www.adobe.com/xml/custompanel/camera1.txt');
    for include the cusmtom panel's dynamic portions
    Juan Pablo

  • Report for abserving changes made to the customer master and moniter

    Report for abserving changes made to the customer master and moniter and detail
    Please send with t. code.

    Hi Dhari,
    Well the requirement seems very simple but its not as simple as it looks.
    i have an idea not sure whether it gonna work or not. you need to build a history cube as if i understand your requirement then for any selected period you wanna see the change in wage type or pay rate for each employee if any.
    1. pick up an cube that builds on emp transaction data.
    2. add the 0empoyee Md, wage type and pay rate from MD to the cube and fill the cube
    3.so now every day or in scheduled time interval the MD will load and the corresponding the TD will be loaded to the cube.
    4. create a info object say indicator and add it to the cube
    5.while loading the data to the cube everyday in tranformation check if for same employee there is a change or not in the wage type and pay rate. If so set the indicator to 1.
    4.now build one more cube for holding the changed records from this cube and call it say zhrchange
    5. now pull the date, year and related emplyee information for the emplyee to the zhrchange for those with indicator 1.
    6. before the next load happen, rememrbe to set the indicator to 0 before checking the conditoin in the transformation routine , so that only if the conditoin satisfy then only it will be 1 else it will be 0.
    now the cube zhrchange has all the changed records with time stamp and you can base your query on that to get the changed values in specific time period
    hope this helps.

  • How to create the custom method and make it available to clients:

    Hello, Can any one help me with this problem ASAP??
    I am trying to work on an example of "Customizing the Query and Creating an Associated Custom Method"
    from http://helponline.oracle.com/jdeveloper/help/topics/jdeveloper/developing_mvc_applications/adf_pviewcustommethod.html?tp=true#method. To do that, the first task is to create the custom method and make it available to clients.
    Following instructions in the helponline documentation, I completed the three steps: (1) "Specify a custom query for the View Object definition for EmployeesView", (2) "Add the custom method to the application module Java class", and (3) "Make the method available to clients".
    The following is the error message I got to test the application module. Can anyone tell me what the message really means and what I should do. I am wondering if there is any mistakes in the document.
    (oracle.jbo.SQLStmtException) JBO-27122: SQL error during statement preparation. Statement: SELECT Employees.EMPLOYEE_ID, Employees.FIRST_NAME, Employees.LAST_NAME, Employees.EMAIL, Employees.PHONE_NUMBER, Employees.HIRE_DATE, Employees.JOB_ID, Employees.SALARY, Employees.COMMISSION_PCT, Employees.MANAGER_ID, Employees.DEPARTMENT_ID FROM EMPLOYEES Employees WHERE Employees.SALARY > :1 and Employees.DEPARTMENT_ID = :2
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) ORA-01008: not all variables bound

    You need to set values for the parameters in your query before you try to execute the query in the view object.
    So you need to call the setBindVars method before the query.

  • How to find out the customer exit and sap exit variables created provider?

    Hi all,
    How to identify what are all the customer exit and sap exit variables are been created for an info provider. is there any tables which allow us to find out.
    thanxs
    haritha

    Hello haritha,
           SAP Exit and Customer Exit variables are created for  Characteristics and not for individual InfoProviders.
    So whenever the characteristic is used in the InfoProvider, by selection the appropriate variable the exit can be called.
    So the same Exit can be in one or more InfoProviders.
    Hope it helps.
    Thanks,
    Chandran

  • How do I do use the custom code and format for a percentage with 2 decimals in Report Builder 3.0?

    In Report Builder 3.0, I have the following custom code entered:
      Public Function SafeDivide(Numerator as String, Denominator as String) as String
    Try
    If Numerator = “” or Denominator = “” then
    Return “-“
    End if
    If Numerator = “-“ or Denominator = “-“ then
    Return “-“
    End If
    If CDbl(Numerator) =0 or CDbl(Denominator) = 0 then
    Return “-“
    End if
    If IsNothing(Numerator) or IsNothing(Denominator) then
    Return "-"
    End if
    Return Val( ( (CDbl(Numerator) / CDbl(Denominator) )*100 ) )
    Catch
    Return "-"
    End Try
    End Function
    I call the custom code in the cell with the following equation:
      =Code.SafeDivide(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value),sum(Fields!LY_UNITS.Value))
    I have the format for the cell set to 0.00%, but it’s not being followed.
    I want the result to be formatted as a Percentage, but instead I get values like: 
    -78.9473684210
    80
    300
    -100
    I have the format for the cell set to 0.00%, but it’s not being followed.
    How do I do use the custom code and format for a percentage with 2 decimals?

    Hi AngP,
    After testing the issue in my local environment, I can reproduce it. Based on my research, I find this issue is caused by the type of Units_VAR_Percentage cell is string, while the type of CDbl(Parameters!Var_Threshold.Value) is double, so they cannot be
    compared.
    To fix this issue, we can add a hidden column (Textbox91) next to the Units_VAR_Percentage column, and type =(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value)) /sum(Fields!LY_UNITS.Value) as the expression. Then use the expression below to control the
    BackgroundColor:
    =iif(iif(reportitems!Units_VAR_Percentage.Value=CStr(format(reportitems!Textbox91.Value,"0.00%")),reportitems!Textbox91.Value,0)>CDbl(Parameters!Var_Threshold.Value),"Yellow","PaleTurquoise")
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • N one of my 'playlists' in Itunes it comes up to about the 7th song and when finished skips to about the 47th song?, instead of going to

    In one of my 'playlists' in Itunes it comes up to about the 7th song and when finished skips to about the 47th song?, instead of going to #8 What gives?

    There is nothing wrong with the OS update.
    Delete ALL your email accounts.
    Restart Playbook
    Put the accounts back and ensure they are all set with PUSH ON.  Manual (push off) will burn battery.
    Similarly delete your wifi connections and add back when required. 
    Turn off wifi is not connected to wifi. 
    Any "hunting for connection" in email or wifi will burn up battery.

  • I need some advice about the macbook pro and iPhone 5. I took a video on my iPhone and tried to email it it said it was too big to send? So i downloaded it to my macbook pro and tried to mail it to no avail? The macbook tells me the server won't let it th

    I need some advice about the macbook pro and iPhone 5.
    I took a video on my iPhone and tried to email it it said it was too big to send? So i downloaded it to my macbook pro and tried to mail it to no avail? The macbook tells me the server won't let it through other mail goes through any ideas how to resize it or what it might take to send it?

    I agree with LowLister, the best option for you to share the video online is to upload it to your online storage account for example : Box, Dropbox, SkyDrive (All of them provide free storage beginning from 2GB).
    You can upload the files which you want to share in this online storage and then they have sharing options in which you'll will get the link of the file to be sent and send the email. You're good to go!
    Tip : You can store multiple files for backup purposes.

  • Can we unlock an iphone which one locked with an email address and password.I have no idea about the email address and password for the icloud

    can we unlock an iphone which one locked with an icloud email address and password.I have no idea about the email address and password for the icloud.can any one help me about this.

    It sounds like you are talking about an iPhone that has been Activation Locked.  This article explains:
    http://support.apple.com/kb/PH13695
    If so, the iPhone can never be unlocked without the original Apple ID and password.  This is an anti-theft measure.

  • What's happened about the Ovi contacts and the con...

    Hi,
    What's happened about the Ovi contacts and the contacts list ??
    OMG, were deleted all the contacts suddenly !!! is a tragedy!!
    also , Many users have reported me this problem
    I wait for a Nokia Staff Reply 
    Real Name: Marco Amesty - Spanish Nokia Advisor. Follow me @elcoxx
    DO NOT SPAM say thanks pressing the button

    Well, yesterday I spent all day without contacts, and today I woke up with the contacts back!
    i Think it is solved!
    Real Name: Marco Amesty - Spanish Nokia Advisor. Follow me @elcoxx
    DO NOT SPAM say thanks pressing the button

  • Issues regarding Transporting the Custom codes and Text Elements

    I created a custom t-code and had some text elements for my ABAP program in DEV, I transported quality an it worked , but when i transport it production it did not transport the custom code and the text elements.  Can u guys give me steps to take for the custom code and the text to be transported sucessfully??

    Hi,
    Please check whether the Tcode and Text elements are assigned to the particular Transport Request number. If it is an enhancement that Tcode and Text elements might be there in QA before itself and so this is working. You need to add the TCode manually while transporting the request and transport it to QA and PRD.
    Thanks and Regards
    Sowmmya VB

  • Heartbleed virus/vulnerability-I have been hearing about the "heartbleed vulnerability" and told to change all my passwords. Does this apply to Macs? I thought they could not get viruses and this was one of the reasons I got one.

    I have been hearing about the "heartbleed vulnerability" and told to change all my passwords. Does this apply to Macs? I thought they could not get viruses and this was one of the reasons I got one.

    See What is Heartbleed?
    (Fair disclosure: The Safe Mac is my site, and contains a Donate button, so I may receive compensation for providing links to The Safe Mac. Donations are not required.)

  • I have few questions to ask about the Expert Series and Valet Series

    Hello.
    I have few questions to ask about the Expert Series and Valet Series.
    1. I see there aren't any print server/bridge/access point for these two new series. Do I have to use previous ones? Or the new ones are in planned in near future?
    2. Do I "HAVE TO USE CONNECT SOFTWARE"?  Can I just use web interface to do every setting that these routers features?
    3. Does expert series routers support guest network and parental control?
    4. When I look into informations of these router, some router doesn't give information about backward compatible to older standards. Do I have to consider that as they are backward compatible with older standards?
    Ok, that's all for now.
    If I need to ask more questions I will do that in this thread as reply

    With the New Expert or the Valet Series Router, you still can use the Print Server / Bridge and Access Points.
    Well with the Expert and Valet Series router, you have an option to User Cisco Connect Software or you can User Web Interface of the Router. But with the Cisco Connect Software you have an Advantage of creating a Guest Account and using Parental Control , which is not available using the Web Interface.
    These both the routers are backward compatible and they can connect to your G Series Product.

  • I just have questions about the AirPort Express and how it works.

    My household Wi-Fi is not the strongest in  my room and I found out about the AirPort Express and I read the overvie, but I still have some questions on how it works, how its setup and other questions as well.

    The AirPort Express will not wirelessly extend the signal from another router unless that router is also an Apple product.
    Not sure what other questions you might have, but we'll try to answer if you want to ask.

  • Where is that "Comcast Guarantee" and care about the "customer experience"?

    Where is your Comcast Guarantee? Empty words, AGAIN? "We’re constantly pushing the boundaries of innovation and creativity, and that includes the customer experience. Our customers deserve the best experience every time they interact with us, and improving upon that is our number one priority." "We will always be on time within your 2 hour appointment windowor you’ll receive a $20 credit*.As a courtesy, we will call you before we arrive at your home. And if we fail to arrive for a scheduled visit during the appointment window, we will credit you $20*." "We will resolve routine issues in one visit or you’ll receive a $20* credit.After the first visit to your home, if we do not satisfactorily complete installation or can’t resolve a routine issue, we will credit you $20*. Additionally, we won’t charge you for a service visit that results from a Comcast equipment or network problem." "We will treat you and your home with courtesy and respect.Our technicians will display their Comcast identification clearly when they arrive at your home. They will be trained and equipped to complete the job on the first visit. Our Customer Account Executives (CAEs) will be courteous and knowledgeable when you contact us." I think your word to the customer is worthless. You obviously don't believe a customer's time is valuable, but the recording claims "we value your time". More empty words. You sent a tech to my house that took my cable box for no reason, and left me with terrible service, and a fake follow up appointment. He would NEVER have taken a box from a man, but a woman alone in her home he's allowed to walk all over. Now,after hours and hours and hours of phone calls, messages to the forum, and more comcast no-show for another follow up appointment, more phone calls and appointments, I am back to where I was BEFORE Comcast sent out a tech - still with the original problem that cannot be solved, but at least I have a signal and a box. No one is stepping up to honor Comcast's guarantee. No one has offered to credit my account for anything. No one has contacted me about my bill. I did try to contact billing, and they don't know anything about what kind of mayhem this tech caused me and Comcast, and they want to tell me about a credit applied to my account when $2 was taken off my bill last month that I have no knowledge of, as if I was given a gift. I asked for a supervisor, and had a terrible connection with her over Comcast's equipment. She hung up on me, wasting another 30 minutes of my time.  

    Did you register your suite? Did you lose the installer (if downloaded) or the CD's (if purchased)?
    If you didn't register, there's not much that you or they can do. Of course you know that when you download an installer, you should save a backup for these situations.
    That being said, this forum is for a specific product (Adobe Contribute) and isn't visited by too many folks. If you go to the feedback forum, you may actually find someone that can help.
    Feedback forum: http://forums.adobe.com/community/general/adobedotcom_feedback
    Good luck.

Maybe you are looking for

  • HDMI doesn't work, but MDP- DVI- HDMI works

    Hello! I just got my new Mac Mini and tried to connect it to my TV (a Samsung LE22S8) over HDMI, but this doesn't work since the TV reports "unsupported resolution" (it's the TV's native resolution of 1680x1050, where I also checked all frequencies u

  • Error while starting AppsAdapter in  console

    Hi, I am facing the following error while starting AppsAdapter in Weblogic console. Please help me in this regard weblogic.application.ModuleException: weblogic.connector.exception.RAOutboundException: There are 1 nested errors: weblogic.connector.ex

  • Adobe Interactive Form Shows Blank (WD JAVA ZCI)

    Hi Expert, I have the following problem. I developed an Adobe interactive Form embebed in WD java app with success in DEV environment, but i have an issue in QA environment. When i run the Adobe Form logged in portal, the application runs fine, but,

  • Is FAN ONS Publisher working?

    I have a single-instance (non-RAC) primary/physical standby configuration (V10.2.0.4). SID names: dbddg1t and dbddg2t I am following the MAA whitepaper: Client Failover Best Practices...etc.. to setup the FAN ONS Publisher program to notify my JDBC-T

  • Customer Master tab page "Contact Person"

    Dear All In the custome master general Data the * contact person tab page * is not appearing, How to make it appears the tab page contact person, since we need to add the contact person name for that customer. Please give me the soluation, its very u