To retrieve data after process abended

Hi everyone,
Is there any method of replicating the DDL,DML 's fired after the processes like replicat abended.
Currently i am using : alter replicat rep1 begin now
It seems to work to make processes running again but the i lost the data that was replicated after the process abended.
plz help......
thanks
Saurav

Hi,
1.
My Suggestion is NOT to use BEGIN NOW option with Replicat. This will make your target tables go out of sync and miss some of the DML/DDL as you are altering replciat to process from current time stamp instead of recovery.
GGSCI>alter replicat rep1 begin now
Instead you should always start at seqno 0 and RBA 0 if you are starting fresh or starting Relicat for first time
GGSCI>alter replicat <replicat_name>, Extseqno 0, Extrba 0
GGSCI>start replicat <replicat_name>
OR
if the Replicat has abended earlier and you would like to restart it, you should simply restart it as it will have all the checkpoint information with it and it will automatically start processing data from the recovery checkpoint(trail file).
GGSCI>start replicat <replicat_name>
OR
If you intend to start processing fom a specific trail file then you should use below command
Example:
$cd trail
$ls -ltr
lt000123
lt000124
lt000125
If you are sure that the Replciat processed trail file 123 and you would like to start from trail file seq 124 then try
GGSCI>alter replicat <replicat_name>, Extseqno 124, Extrba 0
GGSCI>start replicat <replicat_name>
OR
If you want to start processing from specific record or start of transaction with in a trail file then you could use LOGDUMP utility to find the RBA and use the same to alter the Replicat.
GGSCI>alter replicat <replicat_name>, Extseqno 124, Extrba 8999934
GGSCI>start replicat <replicat_name>
2.
As you have already lost some of the data and your target DB is already out of sync, I would suggest below method to resync it.
full database export using expdp(Oracle Source to Oracle Target)
1) Enable Minimal Supplemental Logging in Oracle on source
SQLPLUS > alter database add supplemental log data ;
2) Enable Supplemental Logging at Table Level on source
GGSCI> dblogin userid xxxxx password xxxxxx
GGSCI> add trandata <schema>.<tablename>
3) Add Extract, Add Exttrail, Add Pump, Add Rmttrail on source
4) Start Extract, Start Pump on source
5) Create a database directory:
SQLPLUS> create directory dumpdir as '<some directory>' ;
6) Get the current SCN on the source database:
SQLPLUS> select current_scn from v$database ;
28318029
7) Run the export using the flashback SCN you obtained in the previous step. The following example shows running the expdp utility at a Degree Of Parallelism (DOP) of 4. If you have sufficient system resources (CPU,memory and IO) then running at a higher DOP will decrease the amount of time it takes to take the export (up to 4x for a DOP of 4). Note that expdp uses Oracle Database parallel execution settings (e.g.parallel_max_servers) which have to be set appropriately in order to take advantage of parallelism. Other processes running in parallel may be competing for those resources. See the Oracle Documentation for more details.
a.expdp directory=dumpdir full=y parallel=4 dumpfile=ora102_%u.dmp flashback_scn=28318029
Username: sys as sysdba
Password:
Note: The export log needs to be checked for errors.
8) Start an import using impdp to the target database when step 7 is complete.
9) Add and Start Replicat:
GGSCI> add replicat <rep_name>, exttrail ./dirdat/<xx>
GGSCI> start replicat <rep_name>, aftercsn <value returned from step 6>
Hope this information helps.
Thanks & Regards
SK

Similar Messages

  • Unable to retrieve/send data after processing a dimension

    Hi All,
    we have a problem with dimensions.
    After adding a member in a dimension we no longer can create an EVDRE report or retrieve/send data successfully.
    If we create a report with the member added in the dimension, the following error message appears in Excel: "EVDRE encountered an error retrieving data from the Web Server".
    This happen if we use a parent member with BAS. If we use the parent member with SELF, the error message doesnu2019t appear.
    We have refreshed dimension members, optimized the application, made a full process of the dimension but nothing.
    The solution is the backup and restore of the appset.
    Have anyone idea about the cause of the error?
    Environment
    Single Server - Windows 2008 64bit
    BPC Version: 7.5 MS SP4
    SQL Server: 2008 SP2
    Best regards,
    Simone

    Hi,
    This could be due to many reasons, but in any case, the process of your cube has not been successfully achieved, after your dimension processing and the structure could be corrupted.
    This could be due to the reason explained in SAP note 1468161, for example.
    Hope it will help.
    Kind Regards,
    Patrick

  • Errors found retrieving data after SAP Patching

    Hi Team,
    I received the error "errors found retrieving data" when I try to click
    the ‘Refresh’ button to display data for my reports. Refer to the
    attached screen.
    I’m receiving it from trying to refresh data in ‘Reports’ and ‘Input
    schedule’ templates from the BPC Excel Client. This was happen after we
    done the SAP Patching earlier it was working fine.
    Appreciate your help in advance
    Thank you
    Regards
    Raghu

    Hi,
    Try to process all dimensions.
    If not try to find more details from EPM-->More-->Log
    Hope it helps..
    regards,
    Raju

  • Data Pumb Process Abended

    Hi , I'm trying to Replicat data from source (OLTP) to target (OLAP) . I have succeeded in initial load. But there is an error when i configure Extract process , Data Pumb process, replicat process . Guide me how to fix
    #Configure Extrace Process
    GGSCI (dbserver1) 3> EDIT PARAMS EOLTP01
         EXTRACT EOLTP01
         USERID gg_admin, PASSWORD demo123
         EXTTRAIL ./dirdat/sa
         TRANLOGOPTIONS ASMUSER SYS@ASM, ASMPASSWORD demo123
         TABLE SRC.DEPT;
         TABLE SRC.EMP;
    GGSCI (dbserver1) 1> add extract EOLTP01, tranlog, begin now, threads 2
    GGSCI (dbserver1) 2> add exttrail ./dirdat/sa, extract EOLTP01,megabytes 50
    #Configure Data Pumb Process
    GGSCI (dbserver1) 4> EDIT PARAMS EPMP01
         EXTRACT EPMP01
         PASSTHRU
         RMTHOST dbserver2, MGRPORT 7809
         RMTTRAIL ./dirdat/ta
         TABLE SRC.DEPT;
         TABLE SRC.EMP;
    GGSCI (dbserver1) 3> add extract EPMP01, exttrailsource ./dirdat/sa, begin now, threads 2
    GGSCI (dbserver1) 3> ADD RMTTRAIL ./dirdat/ta, EXTRACT EPMP01, MEGABYTES 50
    #Start Extrace Process & Data Pumb Process
    GGSCI (dbserver1) 4> start extract EOLTP01
    Sending START request to MANAGER ...
    EXTRACT EOLTP01 starting
    GGSCI (dbserver1) 5> start EXTRACT EPMP01
    Sending START request to MANAGER ...
    EXTRACT EPMP01 starting
    #Configure Replicat Process on Target
    GGSCI (dbserver2) 1> EDIT PARAMS ROLAP01
         REPLICAT ROLAP01
         SETENV (ORACLE_SID=OLAP)
         USERID ggs_admin, PASSWORD ggs_admin
         DISCARDFILE ./dirrpt/rolap01.dsc, PURGE
         MAP SRC.DEPT, TARGET TGT.DEPT;
         MAP SRC.EMP, TARGET TGT.EMP;
    GGSCI (dbserver2) 1> add replicat ROLAP01, exttrail ./dirdat/ta
    GGSCI (dbserver2) 2> start replicat ROLAP01
    Sending START request to MANAGER ...
    REPLICAT ROLAP01 starting
    After that I insert some rows to source table
    But in the source :
    GGSCI (rx2600-2) 8> info all
    Program Status Group Lag at Chkpt Time Since Chkpt
    MANAGER RUNNING
    EXTRACT RUNNING EOLTP01 00:00:00 00:00:07
    EXTRACT ABENDED EPMP01 00:35:31 00:02:16
    when i view report EPMP01
    Source Context :
    SourceModule : [er.api]
    SourceID : [scratch/aime1/adestore/views/aime1_staoi06/oggcore/OpenSys/src/app/er/api.c]
    SourceFunction : [XT_read]
    SourceLine : [4054]
    2012-09-05 15:39:12 ERROR OGG-01091 Unable to open file "M-qM-o#DM-WM-!@065536" (error 2, No such file or directory)
    Thanks alot

    ThoNguyen wrote:
    when i view report EPMP01
    2012-09-05 15:39:12 ERROR OGG-01091 Unable to open file "M-qM-o#DM-WM-!@065536" (error 2, No such file or directory)That's an interesting trail file name. It could be that there are special char's somehow in your prm file, try:
    $ cat -vEt dirprm/EPMP01.prm
    .......and look for special char's in the trail filename.
    What is the source OS where the pump is running? (Perhaps you should display the entire pump report file -- it has all this info in it, including original parameters.) What is the target OS where the remote trails are created? Are the character sets different?

  • Query doesn't retrieve data after modify multiprovider

    Hi all,
    I created a backup cube and i put it under my MP, now my query doesn't retrieve the relative archived data.
    I don't have any customer exit, and i see the infoprovider in the query filter on infobject 0infoprovider.
    i see the data under transaction listcube under the MP, and in new query on the new infoprovider.
    please help me!

    problem solved, i forgot to match all index!
    tnx

  • Retrieving data after itunes sync

    when i plugged in my 4s to sync with my itunes account, all my photos and contacts were deleted and no i had backed up yet. anyway to retrieve from sim card? or any other way to retrieve?

    No. The iPhone does not store any data on the SIM card. If you did not back it up and you plugged it in and chose set up as a new phone, or restore from backup, then your data is gone.
    If you set up iCloud and performed a backup to iCloud before you did this, then the data should be there. You will need to erase the phone and restore it from your iCloud backup.

  • Retrieve Data

    Can i Retrieve Data after END_OF_SELECTION

    Hi Vijaya,
    END_OF_SELECTION is the last event. You cannot process data after this event.
    This event is triggered after the START-OF-SELECTION is completed.
    This statement tells the server that all the database reading is completed and no more data reading is going to take place. END-OF-SELECTION is generally used for the summary/results of reports. In an executable program without logical data base, there is no need to implement the event block END-OF-SELECTION.
    After a program is executed by the user, the database is locked when it encounters a START-OF-SELECTION statement and the lock is released when an END-OF-SELECTION statement is encountered (to maintain the consistency). Data selection is done between START-OF-SELECTION and END-OF-SELECTION. Now if we donu2019t write the END-OF-SELECTION statement, the database will remain locked till the programs get terminated. Hence, the performance will be reduced. So it is always good practice to write END-OF-SELECTION statement after finishing the data selection from database.
    Hope this helps you.
    Regards,
    Chandra Sekhar

  • After processing sender file is not deleting

    Hi All,
    I have configured the File-JDBC-File sync mode. the scenario is working fine upto last 2 days. but the problem is once the file picks and process its not deleting or archiving the file. but scenaio is working fine when i check in sxmb_moni but the error in sender file adaptor.
    Could not delete file 'abc.dat' after processing: java.net.SocketException: Broken pipe.
    in FTP server i have delete rights the other test scenario are working fine with out any error.
    Please help me to reslove this issue.
    Thanks,
    Venkat

    yes the processing mode is delete for sender communication chennal.
    I have created the other test scenario to test the processing mode is delete its working for other communication chennal. and my scenario also worked upto last 2 days. i have done delta cache and also created the new communication chennal even no luck.
    00:06:47 Success The message status set to DLNG.
    22.04.2009 00:22:42 Success The application sent the message synchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
    22.04.2009 00:22:42 Success The message was successfully transmitted to endpoint http://SAPRtest.test.com:8047/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System.
    22.04.2009 00:22:42 Success The message status set to DLVD.
    22.04.2009 00:23:12 Error Attempt to delete file "abc.dat" after processing failed. Retry
    Please help me to reslove this.
    Thanks,
    Venkat.

  • Replacement check after processing escheatment

    Hi-
    On my ISU project, we are using an outside tool to perform the escheatment process and steps on unclaimed customer credit refund checks. The checks have to be voided after 180 days then moved to a specified GL account. One way to achieve the reclassification of the credit is to specify a GL account in the Escheatment configuration. After the checks are voided and escheated, we need the ability to issue a replacement check if the customer comes forward before the dormancy period is reached. The system allws the creation of a replacemen check but no GL entry occurs when the replacement check is created. I would have expected the configured escheatment GL account to be debited at a minimim.
    I
    s there anything I am missing?.
    Any help will be appreciated.
    Regards,
    M

    yes the processing mode is delete for sender communication chennal.
    I have created the other test scenario to test the processing mode is delete its working for other communication chennal. and my scenario also worked upto last 2 days. i have done delta cache and also created the new communication chennal even no luck.
    00:06:47 Success The message status set to DLNG.
    22.04.2009 00:22:42 Success The application sent the message synchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
    22.04.2009 00:22:42 Success The message was successfully transmitted to endpoint http://SAPRtest.test.com:8047/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System.
    22.04.2009 00:22:42 Success The message status set to DLVD.
    22.04.2009 00:23:12 Error Attempt to delete file "abc.dat" after processing failed. Retry
    Please help me to reslove this.
    Thanks,
    Venkat.

  • The ADO NET Source was unable to process the data. ORA-64203: Destination buffer too small to hold CLOB data after character set conversion.

     We developed a SSIS Package to pull the data From Oracle source to Sql Server 2012. Here we used ADO.Net source to pull the records from Source but getting the below error after pulling some 40K records.
      [ADO NET Source [2]] Error: The ADO NET Source was unable to process the data. ORA-64203: Destination buffer too small to hold CLOB data after character set conversion.
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. 
     The PrimeOutput method on ADO NET Source returned error code 0xC02090F5. 
     The component returned a failure code when the pipeline engine called PrimeOutput(). 
    The meaning of the failure code is defined by the component, 
    but the error is fatal and the pipeline stopped executing. 
     There may be error messages posted before this with more 
    information about the failure.
    Anything that we can do to fix this?

    Hi,
      Tried both....
      * Having schema type as Nvarchar(max). - Getting the same error.
      * Instead of ADO.Net Source used OLEDB Source with driver as " Oracle Provide for OLE DB" Getting error as below.
           [OLE DB Source [478]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
           [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on OLE DB Source returned error code 0xC0202009.  The component returned a failure
    code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the
    failure.
    Additional Info:
       * Here the Source task is getting failed not the conversion or destination task.
    Thanks,
    Loganathan A.

  • I have lost all my notes data after restore. Anyone know how to retrieve notes after restore?

    I have lost all my notes data after restore. Anyone know how to retrieve notes after restore?
    I havent' took any backup of my notes in icloud. The moment I enter the password after restore my notes will be empty. The only option to get notes back is that after restore skip entering icloud password. But any time I enter icloud password anywhere again my notes will be empty. I have huge data saved in my notes. Apple need to look into this issues very seriously. This is the 5th time I restoring my iphone today just to get my note back.

    I have the issue with losing all my notes and I don't even know why.  I can't remember changing any email account info.  What happened to them?
    Ipad 3rd io7
    Please Help!
    Thank you,
    S.

  • Process and Code for writing an RFC to retrieve data from IT0006 and IT0655

    Hi,
    Can some body tell me the process and code for creating an RFC to retrieve data from IT0006 and IT0655.
    Its very urgent........
    Waiting for an early reply.....
    Many thanks

    Hello Krishna,
          The process for creating an entry in infotype is as follows.
    1.First you get the personal number lock for upating.You can use function 
        module ' BAPI_EMPLOYEE_ENQUEUE ' or ENQUEUE_EMPREL.
    2.Pass the records to function module ' HR_INFOTYPE_OPERATION' with
       OPERATION - 'INS'.
    3.Unlock the Employee by using function moule 'BAPI_EMPLOYEET_DEQUEUE'.
    Regards,
    Manoj.

  • Process and Code for writing an RFC to retrieve data from IT

    Hi,
    Can some body tell me the process and code for creating an RFC to retrieve data from IT0006 and IT0655.
    Its very urgent........
    Waiting for an early reply.....
    Many thanks

    Inside your RFC you can directly use select on PA0006 & PA0655
    or use FM: HR_READ_INFOTYPE
    if you wan for multiple pernrs then cal the FM inside a loop or you can use the select query for multiple pernrs
    reward points if helpful

  • HT4623 Is there ANYWAY to retrieve data lost after updating to iOS 6? Backup failed.

    I need to know if Apple can retrieve lost data after restoring mi IPhone 4. Backup failed.

    I have it but didnt back up the iPhone 3GS when i updated the iPhone 4G it didnt erase anything off of that so i didnt think it would on the 3GS

  • Submit MC.9 does not retrieve data in background processing.

    Hi,
    Im submitting transaction MC.9 in one of my programs. The submit statement seems to retrieve data when the program is run in the foreground, but when the program is scheduled to run in the background the submit statement does not retrieve data.
    kindly advise,
    regards.
    Message was edited by:
            sheldon barretto

    Hi Tushar,
    Thanks for ur reply.
    I tried wat you asked to, but no spool was generated for the job. In SM37 it says that the Job (RMCB0300) is completed, but theres no spool list entry.
    Does it mean i cant run MC.9 in background.
    regards,
    Message was edited by:
            sheldon barretto

Maybe you are looking for

  • Fcp 7.0.3 won't open

    Using fcp 7.0.3. When I open it quits stating a problem with Boris continuum Shaders plug-in. Any suggestions?

  • Hi, my MacBook keyboard letters are not responding but the numbers are

    Hello, the keyboard letters on my MacBook are not responding but the numbers are. Any help much appreciated

  • How to run a report in SAP

    hi sap gurus can anybody tell me about how to run a report in sap (ABAP). what is the TCode for that one.while i am trying to post asset master it is asking to start a report first and then post. kindly reply me soon thanx in advance

  • Dynamically need to change the report value reference names

    Hi Forum, Greetings to all !!! I have to create one report(document summary report) and the parameters are Document type(Special Information name through lov) and start date and end date. Based on these parameters it will fetch only that document det

  • Error when doing checkin of content item programatically

    Hi, I am using CHECKIN_NEW and CHECKIN_SEL services for creating or updating a content item programatically. Called these services via executeServiceSimple("CHECKIN_NEW") or executeServiceSimple("CHECKIN_SEL") api calls from my service, based on whet