How to Push all Trails to Replicat

Hello All,
I'm testing a DR scenario and I would like to know how I can tell REPLICAT to run all the trails it has and then just stop automatically or send a message/give information that it has processed the last trails.
Thanks in advance
Jan S.

jstem1177 wrote:
I'm testing a DR scenario and I would like to know how I can tell REPLICAT to run all the trails it has and then just stop automatically or send a message/give information that it has processed the last trails.Replicat inherently always waits for more data. So it never really "finishes"... There might be another way (e.g., with event markers is one thought that comes to mind)... But you could periodically check for EOF, and then report back that the trail data is completely processed:
<blockquote>
bash$ while (true); do sleep 3; printf 'lag pump\n' | ./ggsci | grep '^At EOF' && echo "Finished!" && break; done
</blockquote>

Similar Messages

  • How can I stop Hotmail from pushing all my old emails to my I-phone?

    How can I stop Hotmail from pushing all my old emails to my I-phone?
    I have just got an I-Phone and linked it with my Hotmail account but it keeps pushing through 50 emails to my inbox so its always showing 50 messages. How can I get only my new email sent to my phone?
    Cheers,
    Rich

    Since this is an Outlook question, you should ask over on the Microsoft Office for Mac forums.

  • I want to give my old iPhone 4 to my grandson to use like an iPod Touch. Wifi only. How do I deactivate my info..so he can buy his own apps. and not have the cloud pushing all of my data to the old phone?

    I want to give my old iPhone 4 to my grandson to use like an iPod Touch. Wifi only. How do I deactivate my info..so he can buy his own apps. and not have the cloud pushing all of my data to my old phone?
    Just turning off Cloud will not prevent him from turning it back on.
    Rignt now, if he uses the App store, iTunes thinks it's talking to me.

    First, turn off iMessage, FaceTime & delete the iCloud account, while your sim is still in the phone. Then: Settings>General>Reset>Erase All Content & Settings. Give it to your grandson & he gat then set it up as he wants.
    Important your turn iMessage & FaceTime off to disassociate the phone from your Apple ID. Apple "claims" to have fixed this with iOS 6.0, but until I can absolutely confirm such, I still recommend you turn all of that stuff off first.

  • My laptops QWERTY row of keys does not work for long periods at random intervals and only after pushing all the buttons on the row does it eventually turn back on and then will still cut out every now and again, anyone know how to solve this?

    My laptops QWERTY row of keys does not work for long periods at random intervals and only after pushing all the buttons on the row does it eventually turn back on and then will still cut out every now and again, anyone know how to solve this? If not is there any way to actually get a genuis appointment lol to get one of them to have a look at the hardware on the keyboard?

    Apple Support (formerly ExpressLane):
    https://getsupport.apple.com/GetproductgroupList.do
    https://getsupport.apple.com/GetSASO?SG=SG001&locale=en_US

  • How to use expression script to trip off all trailing non-numeric character

    Hi,
    I used JDev11.1.1.2.
    Now a field value like “7.5.3.10BQF”, “7.8.2.XFP”, and another dynamic LOV depends on this value to filter, so we want to trip off all trailing non-numeric characters (including whitespace and periods), for example to “7.5.3.10BQF”, we will filter LOV using "%7.5.3.10%",for "7.8.2.XFP", we will filter LOV using "%7.8.2%".
    But I don't know how to write groovy expression to implement this function.
    Any advice will be great help.
    thanks,
    zeroxin

    Hi,
    The third syntax you used is correct i.e.
    DW_CRF.PKG_LPS_CRF_LOAD_TRANS.sp_load_target(''LOAD_CRF'', ''LOAD_LOAN_TRAN'', CURRENT_TIMESTAMP, NULL);
    Alternatively you can use
    DW_CRF.PKG_LPS_CRF_LOAD_TRANS.sp_load_target(''LOAD_CRF'', ''LOAD_LOAN_TRAN'', CURRENT_TIMESTAMP, '''');
    all the other calls give syntax errors that are expected. The third call is giving an application error which you will need to look into (maybe starting at "DW_CRF.PKG_LPS_CRF_LOAD_TRANS", line 958). One thing that may help clarify things is if you were to switch to naming your parameters e.g. target_name=>''LOAD_CRF'' since that helps clarify exactly what parameter is called with which value.
    Hope this helps,
    Ravi.

  • How to get all rows that are returned in inner sub query of select statemen

    If a sub query in select statement returns more than one row than how to get all those returned rows in the final
    output of the query .It will be all right if all column's value repeat and that multiple output of inner query comes
    in another column .
    How to get that ?

    As Frank said, you likely want a join, and likely an outer join to replicate the select in the projection. Something like:
    SELECT id,stat, section, USER_ID concerned_person
    FROM table_all,
      left join table2
        on room_id = sectoion and
           sur_role = 'r001'
    WHERE section IN (SELECT code
                      FROM t_area
                      WHERE dept= 'p002')An alternative, depending on where and how you are using the statement would be something like:
    SQL> WITH t AS (
      2    select 1 id from dual union all
      3    select 2 id from dual),
      4  t1 as (
      5    select 1 id, 'One' descr from dual union all
      6    select 1, 'Un' from dual union all
      7    select 1, 'Une' from dual)
      8  SELECT t.id, CURSOR(SELECT t1.id, t1.descr from t1
      9                      WHERE t1.id = t.id)
    10  FROM t;
                      ID CURSOR(SELECTT1.ID,T
                       1 CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
                      ID DESCR
                       1 One
                       1 Un
                       1 Une
                       2 CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    no rows selectedJohn

  • How to get all values in an object?

    Hi there,
    I have some object with values in it. Then i pushed all these
    values in an Array.
    But how can i go through all the values in the array?
    I tried this:
    for each (var something:* in allTypes) {
    trace(something);
    and
    for (var key:String in allTypes) {
    trace(allTypes[key]);
    But i don't get to see the file extensions.
    I want to write some code that if a file extention does not
    match any of the extensions
    in the array then do something.
    Can someone help me out please?
    var imageTypes:FileFilter = new FileFilter("Images (*.jpg,
    *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
    var textTypes:FileFilter = new FileFilter("Text Files (*.txt,
    *.rtf)", "*.txt; *.rtf");
    var vidTypes:FileFilter = new FileFilter("Video Files
    (*.flv)","*.flv");
    var allTypes:Array = new Array(imageTypes, textTypes,
    vidTypes);

    Hello Mrunal Mhaskar  ,
    What i understand you can do one thing  go in debug mode
    Try this code : -
    LOOP AT s_matnr_ex.
      IF s_matnr_ex-low IS NOT INITIAL.
        i_matnr-matnr = s_matnr_ex-low.
        i_matnr-option = s_matnr_ex-option.
        APPEND i_matnr.
        CLEAR : i_matnr.
      ENDIF.
    ENDLOOP.
    LOOP AT s_matnr_ex.
      IF s_matnr_ex-high IS NOT INITIAL.
        i_matnr-matnr = s_matnr_ex-high.
        i_matnr-option = s_matnr_ex-option.
        APPEND i_matnr.
        CLEAR : i_matnr.
      ENDIF.
    ENDLOOP.
    In the i_matnr table high and low values are there.
    Regards,
    Vandana.

  • Ipad - how to push Exchange calendar events to iCloud account? MobileIron is used to get Exchange data -- is there an app to push the ipad version of the events to iCloud?

    ipad - how to push Exchange calendar events to iCloud account? MobileIron is used to get Exchange data -- is there an app to push the ipad version of the events to iCloud?
    There are two separate calendars on ipad (ios 7.1) one for icloud, one fo exchange. I have tried a couple of calendar apps and while they do a good job of showing the events in the app - they don't push (synch) back to iCloud. Any thoughts on an app that will take my ipad calendars and synch them to a single icloud calendar/account?
    Thanks

    Hi
    You asked about a recommendation for an app to paste a group of addresses into the To, Cc or Bcc fields of an email?
    Our "MailShot Pro" app is the only one we know of on the App Store that creates special "group contacts" in your address book which contain all your groups email addresses, but can be used just like regular contacts from most of your favourite apps. We now have nearly 50000 people using it, and growing steadily every day.
    Here is a link if you would like to know more “MailShot Pro” (itunes link).
    A free version is also available if you'd like to try it out with a small nmber of contacts.
    If you need any customer support just contact us at the website, we're always happy to help.
    Peter
    www.solubleapps.com
    Disclosure: I am the developer of this app and may benefit from its sale- (but so might you)

  • Please reply:how to avoid extra trailing spaces while using cursor sharing

    i am using cursor sharing with FORCE or SIMILAR.
    what is the solution to avoid extra trailing spaces without any java code change.
    do we have any option in oracle to avoid extra trailing spaces during the query processing ?
    I am using Oracle 10g
    CURSOR SHARING is a feature in which multiple sql statements
    which are same will have a shared cursor (in the library cache) for an oracle session,
    i.e, the first three steps of the sql processing (hard parse, soft parse, optimization)
    will be done only the first time that kind of statement is executed.
    There are two ways in which similar SQL statements with different condition values can be made to "SHARE" cursor during execution:
    1. Writing SQLs with Bind Variables: SQLs having no hard coded literals in them
    For e.g., the query below
    SELECT node.emp_name AS configid
    FROM emp node
    WHERE emp_no = :1
    AND dept_no =
    DECODE (SUBSTR (:2, 1, 3),
    :3, :4,
    (SELECT MAX (dept_no)
    FROM emp
    WHERE emp_no = :5 AND dept_no <= :6)
    AND node.dept_type = :7
    ORDER BY node.emp_name
    Here all the variables are dynamically bound during the execution. The ":X" represents BIND Variable and the actual values are bound to the SQL only at the 4th step of the execution of the SQL.
    In applications: The queries written with "?" as bind variables will be converted into ":X" and are sqls with Bind Variables.
    2. The CURSOR_SHARING parameter: Only Useful for SQL statements containing literals:
    For eg., the query below:
    SELECT node.emp_name AS configid
    FROM emp node
    WHERE emp_no = 'H200'
    AND dept_no =
    DECODE (SUBSTR (:1, 1, 3),
    'PLN', :2,
    (SELECT MAX (dept_no)
    FROM emp
    WHERE emp_no = :3 AND dept_no <= :4)
    AND node.dept_type = :5
    ORDER BY node.emp_name
    In the query above, there are two hard coded literals H200 , PLN. In this case when the same SQL executed with different values like (H2003 , PLN), oracle will create a new cursor for this statement and all the first three steps ( hard & soft parse and optimization plan) needs to be done again.
    This can be avoided by changing the CURSOR_SHARING parameter which can be set to any of three values:
    1. EXACT: Causes the mechanism not be used, i.e. no cursor sharing for statements with different literals. This is the default value.
    2. FORCE: Causes unconditional sharing of SQL statements that only differ in literals.
    3. SIMILAR: Causes cursor sharing to take place when this is known not to have any impact on optimization.
    So, FORCE and SIMILAR values of the parameter will be helping in cursor sharing and improve the performance of the SQLs having literals.
    But here the problem arises if we use the FORCE and SIMILAR other than EXACT.
    alter session set cursor_sharing ='EXACT'
    select 1 from dual;
    '1'
    1
    alter session set curson_sharing='FORCE'
    select 2 from dual;
    '2'
    2
    alter session set curson_sharing='SIMILAR'
    select 3 from dual;
    '3'
    3
    So, this will give extra trailing spaces in when we retrieve from java method and any
    further java processing based on the hardcoded literal values will fail. this needs lot of
    effort in remodifying the existing millions of lines of code.
    My question is i have to use cursor sharing with FORCE or SIMILAR and can't we do the trimming
    from the oracle query processing level ?
    please help me on this ?
    Message was edited by:
    Leeladhar
    Message was edited by:
    Leeladhar

    Please reply to this thread
    How to avoid extr trailing spaces using Cursor sharing opton FORCE, SIMILAR

  • How to push remainder Children up after remove 1

    Hi everyone,
    i have an ary contain a numbers of information as below
    var ary:Array = new Array();
    var temp:Array;
    var box_mc:Box; // this is a movieclip which contain dynamic text box inside.
    // assume inside the array have 9 itemName
    on the stage i got an empty empty movieclip and i add child from the array on it....
    getList();
    function getList():void {
    temp = new Array();
    for (var i:Number = 0; i < ary.length; i++) {
    box_mc = new Box;
    hix = DISTANCE; // just some way to calculate the distance how it appears everytime so i just call it distance. it works fine.
    box_mc.x = 0;
    box_mc.y = hix;
    // i make this display as 1 column with rows depends on array
    box_mc.itemName_txt.text = ary[i];
    wrapper_mc.addChild(box_mc); // the wrapper contain all the box_mc
    //there is a remove button inside the box_mc
    box_mc.removebutton.addEventListener(MouseEvent.CLICK, removeClicked);
    temp.push(box_mc);
    function removeClicked(evt:MouseEvent):void {
    for (var i:Number = 0; i < temp.length; i++) {
            if (temp[i] == evt.target.parent) {
                ary.splice(i, 1);
                temp.splice(i, 1);
    Problem:
    I could delete the item everytime i clicked on the remove button but it appears a gap/space between it. I want to push all remaining box_mc at the bottom up after i remove 1. It only push up when i come back to this page after i navigate to some other page. Does anyone know how to implement this ? thanks.
    P.S. i tried using enterframe and i failed, probally the way i did was wrong or watever.

    For the relocation approach, once you find the i-th object that you are removing and remove it, then you could call another function and pass it the value of i and have that function change the y locations of the remaining items in the array.... use something similar to whatever code you used to plant the object (using "hix") to begin with.
    function removeClicked(evt:MouseEvent):void {
    for (var i:Number = 0; i < temp.length; i++) {
            if (temp[i] == evt.target.parent) {
                ary.splice(i, 1);
                temp.splice(i, 1);
                    shiftMCs(i);
    shiftMCs(mcIndex:Number):void {
         for (var i:Number = mcIndex; i < temp.length; i++) {
                   ary[i].y = ????.... your challenge to solve

  • How to push deltas immediately into bw

    Dear Friends,
    Due to an upgradation to R3 , we have a requirement to push all the deltas immediately into BW and delete all the setup tables and data in smq1/lbwe, rsa7 etc .once the upgradation is done r3 should be intact with BW and exactly in the shape in which it was. All I need is how to manually push the data from all the deltas into bw immediately , I have few process chains running in bw (released), are they going to get affected , if yes how can I resolve the problem. I have posted this in one more thread but no one could give me a step by step or a detailed note on this
    thanks,
    Prasad

    To clear deltas and trfc queues from R/3 into BW, you will have to execute delta infopackage manually for each datasource you see in RSA7. Also to make delta queues complete 0, you will have to run each infopackage twice. So that repeat of last delta is also cleared.
    You will start this activity once Basis take system down from users so that no new transactions in R/3 will  be posted. And once you do this clearing step, then basis will apply upgrade support pack.
    Your process chain will be fine and nothing will happen to them.
    Abhijit
    Edited by: ABHIJIT TEMBHEKAR on Nov 16, 2008 6:04 PM

  • How to push Texts along with attributes to MDM

    Hi All! There are lot of information how to push data to MDM via OHD. But all of that is regarding Attributes(and it works fine). Anybody knows how to push Texts data along with attributes?

    Hi,
    Refer https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b01e4269-f744-2b10-929b-fa7b49aac540
    Hope it helps.
    Thanks,
    Minaz

  • How to move all files but X to Y

    It doesn't really matter if it's in the terminal or if it's a applescript but I need to know how to:
    Move all files in a dictionary but a few named.

    Could you pleas explain more?
    If you do not understand the shell while loop, it is possible that using shell commands is a bit more dangerous than you might want to try.
    The explanation:
    ls -a | grep -v "X" | while read file
    do
        mv "$file" "Y/"
    done
    ls -a will list all the files in the current working directory (including the invisible files that start with a leading period.  Thinking about this, maybe you do not want to include -a.  You could cd /path/to/the/desired/directory as a way to set your current working directory as the directory you wish to move things from
    cd "/path/of/the/from/directory"
    ls | grep -v "X" | while read file
    do
        mv "$file" "Y/"
    done
    The ls command's output is piped (the vertical bar | ) into the grep command (general regular expression parser).  The -v option tells grep to throw away any lines (filenames) that match the regular expression "X".  So if the regular expression X matches all the files you do not want to move, the filenames send to the next pipe will be the files you wish to move.
    The while loop will read the filenames grep has selected and invoke the mv (move) command for each file selected by grep and move them to the destination directory Y
    The bigest risk is that you will execute this in the wrong directory and move the files that you need somewhere else.  OR WORSE, if "Y" is NOT a directory, and you DO NOT put a trailing / the mv could move easy file to the destination file, deleting the previous file for each file moved, so effectively deleting every file in the directory except the last one.
    This is why I said if you do not understand what is going on with the shell commands, you could do damage to your system.
    ls could have the /path/of/the/from/directory instead of using the cd command.  The grep command could be replaced with egrep that allows using alternate matching strings:
    ls /path/of/the/from/directory | egrep -v "abc.txt|def.jpg|xyz.mp3|etc..." | while read file
    do
        mv "$file" "/path/to/the/destination/directory/"  # notice the trailing slash for safety
    done
    Good luck.  I hope you do not destroy your system

  • I have an ipad 2 an iphone 4 and run a windows pc i want to push all my current emails and folders if possible to both devices using icloud or any other option available

    i have an ipad 2 an iphone 4 and run a windows pc i want to push all my current emails and folders if possible to both devices using icloud or any other option available

    Will you be the person paying for apps on both accounts?
    Are you the only person that will use both of the iPads?
    Is there a chance students will be using the work iPad and if so, do you want personal data stored on it?
    If you're the only one using it I'd keep the same account just to have the flexibility of having access to everything on all devices. If your students will be using it or if the school is paying for the school apps I'd keep separate accounts. It all depends on how often you will use school apps from home, and home apps at school. Just some things to consider...

  • How is PUSH *supposed* to work?

    I have just moved from a v1 iPhone to a 3G. I have had the 3G for 3 days.
    I'm trying to understand how the PUSH function works. The User Manual is not very clear.
    I'm using Mobile.Me
    I am not getting an alert when my phone is 'asleep'. Is this normal? (I would have thought the point of PUSH was that you are alerted when there is email .... )
    I can send myself a test, which is picked up pretty much instantly by my desktop Macs, but even if I leave the iPhone untouched for say 20 minutes, then wake it up, there is still no message. If I then go into the Mail app. (on the iPhone) it will then connect, download and alert me.
    This doesn't seem like the correct behaviour.
    Any explanations of how it is supposed to work would be most welcome.
    Grant Symon

    RomingGnome, Deggie, Thanks.
    I think what happened was that I had deleted my non-standard MM account on the iPhone, but then of course, when I did the first sync, it was replaced from the MM servers.
    I have now left this account on the iPhone, but turned it off, and made a new MM, standard account, which I then synced, did a test and it worked immediately, with alert, whilst the phone was asleep. Very very cool and just what I wanted.
    I shall now have to experiment to see if I can get the non-standard MM account to work too. All this because Apple won't let us use a non MM 'return address'. How dumb is that? Still ... one has to hope that with Apple trying to push the iphone towards enterprise, they might notice that [email protected] is not really the return address most business users are going to want.
    Thanks again,
    Grant

Maybe you are looking for