How to check at replicat process a target conditional before add

How to check on replicat , check on target table conditional before add data.
Example :
REPLICAT
  SOURCEDEFS /u01/app/oracle/ggs_2/dirdef/TABLE_SOURCE
MAP  sourcet.table,target.table
QUERY "SELECT A.COL3 FROM TABLE_SOURCE A, TABLE_DEST B where B.COL1=B.COL2"),
COLMAP ( A.COL3, B,COL3);

Thanks for you answers
I mean someone like this :
TARGET:  TABLE_C
TABLE_A replicat direct to TABLE_C
TABLE_B will replicat only if TABLE_A was replicated and have this values previus add with replicated TABLE_A
how to check if TABLE_A was previously replicated?  is possible on Golden gate ?
create or replace procedure oracle2.lookup_ACCOUNT(acc_code in varchar,acc_cta out number)
as
begin
select count(*) into acc_cta from oracle2.TABLE_B where COLC_1 =acc_code AND COLC_2 =acc_code
end;
REPLICAT rload1
USERID oracle2,PASSWORD extuser2
SOURCEDEFS ./dirdef/defTABLE_A.def <  [TABLE_A + TABLE_B]
DISCARDFILE ./dirrpt/rload1.dsc, PURGE
MAP ORACLE.TABLE_A,TARGET ORACLE2.TABLE_C,&
COLMAP(COLC_1=COLA_1,COLC_2=COLA_2,);
MAP ORACLE.TABLE_B,TARGET ORACLE2.TABLE_C,&
SQLEXEC (ID lookup,SPNAME oracle2.lookup_ACCOUNT , PARAMS (acc_code=TABLEA.COLA_1)),&
FILTER (@GETVAL((lookup.acc_cta) > 0)),&
COLMAP(COLC_3=COLB_1,COLC_4=COLB_2,);
Thanks

Similar Messages

  • How to check the scheduled process chain in SM37

    Hi Experts,
    Can anyone tell me how do I check whether my process chain has been scheduled or not.
    I checked in sm37 all the jobs that are under released status. Im getting about 10 jobs.
    I dont know which one is belogs to my process chain as they do not have the process chain names.
    Can anyone please let me know how do I confirm whether one of the released jobs below to my process chain.
    Thanks in advance.

    Hi,
    To find this out, in sm37, select the job and click on step button in toolbar. You would find the program name RSPROCESS.
    Click on this job and then go to menu bar and select goto-> variant.
    In the variant, you can see the process chain that has been used for this job.

  • How to check the missing process

    Hi,
    That I have FILE adapter to parsing the file. and after process, the file will be moved to archive folder.
    now we found if there are many files be process @same time, the file did move to archive folder. but BPEL didn't trigger the instance. so looks like the process didn't completed.
    I did check the server log - domains.log cannot find any error.
    Could someone advise me how to check this?

    Hi,
    While configuring file adapter for read, increase the Minimum File Age.
    Also you can Manually recover your files, of which instances were not created, from BPEL Console.
    Login to console->BPEL process tab->Perform Manual recovery.
    Cheers,
    Abhi...

  • How to check the parent process chain of a meta chain

    Hello Friends,
    Recently I joined a new project, which is of environment BW 3.0. I am trying to find the dependent process chain's parent, but could'nt able to find them. I went through all the process chains manually to check whther the dependent process chain is mentioned in them, but could'nt find any......
    Can any of you help me to know how to find the parent process chain of a meta chain ?
    I really appreciate your time, will be awarding points to any answers.......
    Thanks,

    Hello Radhan,
    thanks for your quick reply. I searched the table based on your advice, but i could'nt get the parent process chain's name. Can you throw some more ideas please..........
    Thanks,

  • How to set up Replicat Process with GoldenGate on Exadata & DBFS?

    Hi all,
    I confuse with usage of DBFS on Exadata when trying to config Replicat Process via this Oracle document:
    [Oracle Best Practices For High Availability|http://www.oracle.com/technetwork/database/features/availability/maa-wp-gg-oracledbm-128760.pdf]
    I have a system with these description:
    EXADATA: 2 node ExaDB01 & ExaDB02. This system mount a DBFS /mnt/dbfs/ggs for store GoldenGate subdirectory (trail and checkpoint file only)
    FUJITSU: 2 node FujDB01 & FujitDB02.
    I need to config GoldenGate with DataPump to sync data between these two systems.
    On ExaDB01, i created an Extract Process to extract trail file to EXTTRAIL location /mnt/dbfs/ggs/dirdat/aa.
    Now, I need to config datapump on ExaDB01 and Replicat Process on FujDB01. At this point, i confuse with DBFS configuration for EXTTRAIL & RMTTRAIL:
    1) At ExaDB01:
    GGSCI (exadb01) 1> ADD EXTRACT exadump, EXTTRAILSOURCE /mnt/dbfs/ggs/dirdat/aa
    GGSCI (exadb01) 1> ADD RMTTRAIL /mnt/dbfs/goldengate/dirdat/aa EXTRACT exadump, MEGABYTES 500
    2) At FujDB01: Replicat Process
    GGSCI (fujdb01) 1> ADD REPLICAT rexadb, EXTTRAIL /mnt/dbfs/goldengate/dirdat/aa
    So in this case:
    Q1) ExaDB01 and FujDB01 have the same mount point /mnt/dbfs/ggs?
    Q2) With ExaDB01: The "local trail" and "remote trail" in this case are stored in the same directory /mnt/dbfs/ggs/dirdat?
    Q3) If "local trail" and "remote trail" are stored in the same directory. So why we need to config DataPump to push "local trail" to "remote trail" location?
    Please light me up!
    Tks & Brgd
    Edited by: Dung Nguyen on Sep 7, 2011 11:10 AM
    Edited by: Dung Nguyen on Sep 7, 2011 11:12 AM

    GoldenGate forum is over here:
    GoldenGate
    (thread has moved from Replication to GoldenGate)
    Extract
    EXTTRAILl aa is created
    Data Pump (secondary extract)
    Reads and sends your exttrail to a remote server, which can also be the same server, so in that case, you need to rename the file (the trail ID, two character prefix).
    The linkage is you add the data pump extract, and then add the rmttrail
    ADD EXTRACT <dp name>, EXTTRAILSOURCE wherever/aa, BEGIN <time>
    ADD RMTTRAIL <wherever on your server/bb, EXTRACT <same dp name>
    Note that the trail ID has switched from aa to bb. If going to a remote server, you can use the same ID. If going to the same server, put it in a different path, or have the trail read by replicat named something else via the ID.
    If you wanted to use the same dirdat directory, then your original extract is created with aa, and your trails read by replicat can read bb - after the pump has "sent" the aa files over as bb.
    You don't need a data pump, but as a best practice, always use one. Using a data pump eliminates replication failure due to network outage. If not using one, then what happens when extract has nowhere to send a trail to on a remote server (because it cannot reach/communicate with the remote server)?
    If using the same server without a data pump, then your primary extract "sends" or creates the trail in the rmttrail location, where replicat then reads from. In that case, you only have the one trail ID.
    If one on server, you can also create a second instance of GoldenGate (in its own home), so it will have a slightly different path, and in that case, you do not have to switch the trail ID because the path difference will take care of separating the files.
    Edited by: stevencallan on Sep 7, 2011 1:13 PM

  • How to check plan while processing the data in the front end

    I have a batch processing which is executed through front end(forms).during processing,based on the input i am calling a stored procedure.i would like to check the execution plan for this procedure when executed through front end.
    kindly help me on this.

    have a look on below links:
    When your query takes too long ...
    DBMS_PROFILER
    http://www.databasejournal.com/features/oracle/article.php/2197231
    http://www.oracle-base.com/articles/9i/DBMS_PROFILER.php

  • How does Check Names in the Target Audience picker work?

    Can anyone tell me how the Check Names button in the Target Audience picker works? We are having problem with a specific audience in one of our web applications. I don’t think the problem is the actual audience though:
    The Target Audience is a global target audience named ”XYZ”. It is compiled and contains member. When an article is tagged with this audience all works fine as long as we use the Audience Picker dialog. But, when using the Check Name button the audience
    is not saved. This happens when I edit properties on the article (not customized UI) and also when I edit the article in a customized UI. No ULS messages.
    I have read that the Target Audience Picker searches for matches in AD Distribution groups, SharePoint groups and Global Audiences. When we write “XYZ” in the audience field and presses the Check Names button one suggestion is displayed, named “XYZ”. When
    I write “XYZ N” and press the Check Names button several suggestions are displayed: 4 “XYZ” and a couple of other suggestions “XYZ xx…” etc. We have no SharePoint groups starting with “XYZ”, we have no AD Distribution Groups starting with “XYZ”, and we have
    only one Global Audience starting with “XYZ”. Where are all the “XYZ” suggestions coming from? Can anyone help, please?
    We are using SharePoint 2010.
    Best regards Heidi Lillebuen

    Hi Heidi,
    The target audience picker is similar to people picker, it searches the content of User Profile Service to find the matching users or groups.
    I did a test based on your description. In my testing, everything worked well.
    Please check whether there are some users whose display names are like ‘XYZ ***’.
    Please create a new global audience using a different name, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • How to determine the process alias using condition technique in Transportation & Shipment Scheudling?

    Dear All,
    I am trying to use the functionality Transportation and Shipment Scheduling in GATP.
    I would like to know that how the sytem determines the process alias using condition technique in Transportation & Shipment Scheudling?
    As the Transportation & Shipment Scheduling functionality can be extended further by using the configurable process to overcome the complex scenario. But it needs that process alias should not be determined by using the condition technique.
    Moreover, is it possible to use both functionality simultaneously in the system. i.e. Transportation and Shipment Scheduling using condition technique and Transportation and Shipment Scheduling using configurable process?
    Thanks & Regards
    Piyush Ranpura

    Hi Piyush,
    I have added a small overview in the SCN WIKI which shows you the two ways for the process alias determination and also here as attachment:
    http://wiki.sdn.sap.com/wiki/display/SCM/Time+and+Scheduling+Functions
    Yes, depending on your customizing you can use both scheduling methods in parallel. e.g. you activate CPS just for a specific ITEM category or product and/or customer and/or....what ever you want.
    best regards,
    Michael

  • How to Checked The Object Not Locked by Others in Transport

    Hi all,
    I have problem in transporting workbook to production, the question is:
    a. How to Solve Object that is locked by other transport requests
    b. How to Check Object Not Locked by Others Request before doing transport.
    Thanks in advance
    supriatna

    Hi Supriatna,
    In the same screen where you have been 'Search for Objects in Requests/Tasks' place your cursor in one of the empty fields (the second column, eg. PROG) and look up for XLWB. You have increase the number of displayed entries in the look up screen to atleast 1000 to find the R3TR XLWB entry (Excel workbook entry).
    Hope this helps.
    Thanks

  • How to get the changes during ABENDED replicat process

    Hi,
    I am working on Oracle GG bi-directional DML replication. I m stuck in one place.
    My target replicat process was ABENDED due to Error :- ORA-01403: no data found. I restarted my replicat process again by runing the below command
    GGSCI (db1) 30> alter replicat rep2 begin now
    GGSCI (db1) 30> start replicat rep2
    After restart the replicat process I can't see the changes on target server which I had applyed on source server during target replicat was ABENED.
    My doubt is.
    1. Is my command is correct for start the ABENDEND replicat process?
    2.How to get the changes on target server which applyed on source during ABNDED of targer replication?
    3.How to avoid the ABENDED replicat process on production server?
    4.how to track the ABENDED process in production server?
    Please HELP:(
    Edited by: NaveenK on Aug 29, 2012 3:32 AM

    NaveenK wrote:
    Hi,
    I am working on Oracle GG bi-directional DML replication. I m stuck in one place.
    My target replicat process was ABENDED due to Error :- ORA-01403: no data found. I restarted my replicat process again by runing the below command
    GGSCI (db1) 30> alter replicat rep2 begin now
    GGSCI (db1) 30> start replicat rep2
    After restart the replicat process I can't see the changes on target server which I had applyed on source server during target replicat was ABENED.
    My doubt is.
    1. Is my command is correct for start the ABENDEND replicat process?
    2.How to get the changes on target server which applyed on source during ABNDED of targer replication?
    3.How to avoid the ABENDED replicat process on production server?
    4.how to track the ABENDED process in production server?
    Please HELP:(
    Edited by: NaveenK on Aug 29, 2012 3:32 AMHi Naveen. SQL Error 1403 means row not found. Your data is out of sync and you should fix this.
    By doing begin now when this happens, you are skipping all the transactions that were "in-line" since the process ABENDED.
    You have more than one way to deal with these things, first of all you should synchronize your data! This should get rid of the 1403 errors.
    Then you can write rules using REPERROR to tell the replicat how to behave in case of errors should come up.
    Using logdump, you can read the exact row which failed and find out the next RBA to skip that specific one if required. You should also configure a DISCARDFILE to get details about errors when they happen.
    Greetings,
    N K

  • How to check hanged process in solaris

    Hi every one ...
    I have a 10 processes running in my server .. suddenly on process got hanged ..
    How can i check the hanged process...is there any specific command or ehat does the notation it shows in prstat command
    Thanks in Advance

    First, if the process is not showing 0% CPU utilization in prstat, it's not hung, although it may be stuck in an infinite loop. That's actually a significant difference, as an infinite loop is a logic error, whereas getting stuck could be a failure of some type.
    To see if it's really hung, you can use the "truss" or "pstack" commands:
    truss -p PID &or
    pstack PID &where PID is the process ID of the process you want to check. Note the ampersand to background the process. That's because if the process is indeed stuck in an unkillable wait for a kernel lock, your truss or pstack process will also be stuck and unkillable.
    The pstack call should just run and return. It will show the current call stack for all threads in the process. Run it several times and see if it changes. The truss call will run as long as the target process is running, and it will show all system calls made by the process. If it doesn't output anything at all the process is running in user space and should still be getting CPU time, or it's stuck.

  • How to check number of rows processed in a package

    i have a pakage wid at least 11 procedures which runs on running a report now user run the report and he told me that records are not fully processed records are less so how to check how many records are processed so i can conform the data
    its urgent plzz any suggestion
    thanks a lot

    And here's some hints for you posting on the forum...
    a) do not post in UPPER CASE unless you are highlighting a word or two. Typing everything in UPPER CASE, is considered shouting and is not polite.
    b) do not say that your requirement is "urgent". Everyone here is a volunteer with their own jobs to do and your requirement is not "urgent" to them. Suggesting they drop everything to help you is poor netiquete and, again, quite rude. It also presumes that your issue is somehow more important than other people who have posted asking for assistance. Sure, everyone else would like their question answering as soon as possible, but they aren't so rude as to demand urgent attention, so neither should you.
    c) Always tell us your database version. The answers you are given may vary depending on the capabilities of the database version you are using and if you don't specify a version, people will have to assume you are using the latest supported versions and the answers may not work for you if you have a less capable version, even if those answers are technically correct.
    d) Always try and give an example of what you mean. Provide sample tables (create table statements) and sample data (insert statements), with example code or queries that you've tried (where relevant), showing what you expect to get as output and explaining any logic that is to get from the source to the output.
    e) Post any code or data inside {noformat}{noformat} tags so that it retains formatting on the forum.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to check event.target type in "if" statement

    Hi, i have "roll over" event listener and i would like to that works only with MovieClips (without textfields etc.). I would like to write something like that:
    if(event.target == MovieClip){ do something }
    else { do something else}
    This doesn`t work properly.
    How to check type of event.target in "if" statement?
    Thanks for any help.


    if(getQualifiedClassName(event.target) == "flash.display::MovieClip"){ do something }
    else { do something else}
     .

  • How to check the progress of a BPM process I started ?

    Hi,
    I used to build workflow with Guided Procedure, and there is a GP Runtime Workcenter where a user can find the processes he/she started, or being as an admin/overseer/owner. For GP, it is much more powerful than UWL.
    Now I'm testing BPM with the following secnario, but I don't know how the user starting a process to monitor the progress with UWL ? (I do not think NWA is a good tool for BPM user, correct me if I'm wrong )
    My scenario is : User fill in a leave-request data form built with Web Dynpro iView (not part of BPM task), and click submit, the iView start a BPM process. This process will go through the approvers. The user need to check the progress.....how can he/she find the process in UWL ? (He/She has no working items)
    I really want to know the best practice to present the process prgress to a user who is relative to the process instances (as initiator, admin, or participant)
    Thanks

    Hi,
    You can do it several ways.
    1> a) After starting the process, go to NWA [http://<hostname>:<port>/nwa]
         b) Go to 'Operations' -> Processes and Tasks' -> 'Manage Process'.
         c) Choose the Process instance you started and click on the 'Process flow'.
    This will show you a page with the process digram with a grenn 'token' beside the active step.
    2> The other way ( dificult to achieve, easier to use)
         a> During  process design, for every human activity UI, write down the process steps on task UI.
         b> Highlight the step  for every human task.
         c> When the user opens the tak UI from UWL, then can see the process step at which they are stuck.
      This method wont work if the process is stuck at any 'automated activity' or sub-process.
    Hope these help.
    Edited by: Subhra Jyoti Saha on Jul 6, 2010 7:04 AM

  • How to check SQL activity in OWB Process flow

    Hi,
    In OWB process flow,I need to check SQL activity. How to check that? I am using OWB 11g R2.
    Regards,
    Rashmik

    Gowtham,
    Well the following hint is provided by oracle warehouse builder help.........
    The time-out setting for the workflow engine determines how long the File Exist activity waits for a file. If the file does not arrive before the time-out setting expires, the File Exists activity terminates with errors.
    well someone with deep workflow knowledge can answer this one...
    If you get the answer please share with us.....
    Regards,
    Suraj.

Maybe you are looking for