Can I stop batch reading, if any error comes in a batch, in File Adapter

Hi All,
I am reading files in batches of 100 lines as there are 1000 records. Can I stop further reading of records from a file, If any error comes in any batch.
e.g. If my file adatpter is readinf 101 lines, if any error comes in this line, then it should stop reading line 102 and so on.
Regards

Hi Vikas,
I am not sure what you mean exaclty by stop reading - would you be fine if the other lines are rejected till end of file, if an error is encountered?
Then you can achieve that by ensuring that your schema does not have nxsd:uniqueMessageSeparator="${eol}" in the schema element.
http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_file.htm#CACEGBFD
I am not entirely sure if that would be a good design decision though.
Regards,
Shanmu.
Edited by: sthiagar on Feb 5, 2010 9:23 PM

Similar Messages

  • HT201250 The initial backup is taking 2 days.  Can I stop and restart without any issues?

    Just got an iomega external hard disk backup and the initial backup is said to take two days.  Can I stop and restart without any issues?

    On a big backup, the initial estimate is often wrong and gets better after a little while. But, yeah, there is a "Stop backing up" command in the Time Machine menu, right?  That is safe as far as I know.
    charlie

  • I can't open my Itunes keep receiving error message- The iTunes Library.itl file cannot be found or created. The default location for this file is in the "i Tunes" folder in the "Music" folder

    I can't open my Itunes keep receiving error message- The iTunes Library.itl file  cannot be found or created. The default location for this file is in the "i Tunes" folder in the "Music" folder. I have even tried removing and reinstalling iTunes and it still does work because I continue to receive this error message. Please Help!

    Anyone can help to advice how to solve this issue ?

  • How can I stop  Adobe Reader from opening after start up?

    I just installed version 9. I remember a question that appeared during installation that was something like "do you want Adobe Reader to open after start up?" I said checked yes because I assumed this meant I wanted it in my StartUp menu. After everything loads and my desktop comes up, the Adobe Reader file opens up showing all the program's files and just sits there. I have to close it each time after start up.
    I looked through Preferences, but can't find a way of stopping the program's file window from opening after start up. How can I stop this? Thanks for your help.

    Edit>Preferences
    Under Page Display:
    Where it says "Location of referenced files", if it shows "Floppy Disk A:/" clear the box, or choose an alternate location if you can't clear it.
    Also, under Search:
    Click "Purge Cache Contents"

  • How can i display a message box when error comes in jsp?

    Hi,
    i need to display a message box whenever an error comes in my jsp. Actually my appln is that i am creating a bar chart using one applet by taking data from the database. When a user does not select a number data for y axis, now in the centre of the web page one java error is coming. "not in number format". it is looking very odd.
    so i want to display the error in a message box whenever it comes as above. pls help me how can i do the same...
    Regds,
    Abhi...

    Hi,
    thanx for ur response. so u mean to say that i can
    display the errors in the web page itself instead of
    displaying as a message box?Either way. You can have the JSP send a message to the applet to display a message box. Or you can just have the JSP do it. or you can have the applet detremine if the JSP would produce an error and then display the message it would display.
    >
    actually i am using servlets. jsp pages are used only
    as the front end. all the background works are doing
    in servlet only.It should be the same in any case. Is the applet connecting to the JSP pages or are you having the browser do it?
    >
    pls get back...

  • I'm hoping someone can kindly help with me with an error message that is causing PDF file generation failure when using InDesign CS6 for Windows and Acrobat Distiller 8.0

    <PDFX ISO="15930-1:2001" COMPLIANT="true">
    PDF/X Compliance Report
    1.  Summary
       Warnings: The total found in this document was 0.
       Violations: The total found in this document was 0.
       No problems were found in the document.
       This document passes PDF/X-1a:2001 compliance checks.
    </PDFX>

    @Jack – this is no error message, just a log, that all was running ok.
    See detailed answer here:
    Re: I am getting some errors while distilling the post script file.
    Uwe

  • Error while using module in receiver file adapter??

    Hi,
           I am using user defined module(for converting EBCDIC type of data to ASCII type of data)  in receiver file adapter, while running the module it is giving erors in audit log
    Exception caught by adapter framework: class com.sap.aii.af.mp.module.ModuleLocalHomeImpl0_0 can not be casted to ModuleLocalHome or SModuleLocalHome
    MP: exception caught with cause java.lang.ClassCastException: class com.sap.aii.af.mp.module.ModuleLocalHomeImpl0_0 can not be casted to ModuleLocalHome or SModuleLocalHome
    Please help.
    Thanks.
    Madhusudhan.

    hi ....Stephan
    now we are getting the below exceptions in the message disply tool audit log
    Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.Exception.
    MP: exception caught with message null
    Thanks,
    Madhusudhan.

  • Error during mapping service, RFC-XI-File Adapter

    Hello,
      I have the following problem: I am using RFC to send some data to XI and then to File Adapter, however I get a short dump with "5990 Error during mapping service in XI". Even though mappings works, I tested using the document that comes in XI in Repository without any errors.
           What does this error means and is there any way to get more detailed explanation of my error. Thank you in advance for your help,
                   Dmitriy Mindich

    Synchronous RFC
    1. CALL FUNCTION func DESTINATION dest
                         parameter_list.
    Asynchronous RFC
    2. CALL FUNCTION func STARTING NEW TASK task
                    [DESTINATION {dest|{IN GROUP {group|DEFAULT}}}]
                    parameter_list
                    [{PERFORMING subr}|{CALLING meth} ON END OF TASK].
    Transactional RFC
    3. CALL FUNCTION func IN BACKGROUND TASK
                         [DESTINATION dest]
                         parameter_list
                         [AS SEPARATE UNIT].
    Use help function of your ABAP editor for more details.
    Regards
    Stefan

  • Is there any way to send Attachements with Sender file adapter

    Hi,
      I am Using File to Proxy communication model. Is there any way I can use file attachments with Sender file adapter with communication protocol "FTP". Please on suggest this.
    Regards,
    Daniel.LA

    Hi,
    I think there is no Option with FTP Protocol to send the files as Attachments.
    Try this
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    Regards
    Seshagiri

  • DB Mutex Error with Outbound operation using Normal File adapter in HA env

    Hi All,
    I Have a simple process which picks data from a weblogic jms queue and writes it to a file. Each day this task is carried out once in a day and it writes approx 30k records to the file. the process is made singleton (singleton property on inbound JMS adapter) and used the HA file adapter to write to the file. This setup gave rise to lot of DB Mutex errors. To avoid the DB mutex issue i pointed the file adapter to use the Normal file adapter connection factory instead of the HA File adapter one used earlier. The surprising thing is even this gave rise to DB mutex errors.
    1. Am i missing something here,according to my understanding using a normal file adapter conn factory even in a HA environment should not be creating multiple locks on the file write.
    2. Can i change the standard DS used in the file adapter to a custom DS? will that solve the problem?
    I hope the scenario is clear. Following is the error extract seen at the process and log level
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Write' failed due to: Unable to acquire mutex for interaction. Unable to acquire mutex for interaction. Unable to acquire lock on resource for "DatabaseMutex::acquireNoSave". ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Thanks
    Nikhil

    We are getting the same error in 11.1.1.5 PS4 version also.Can you post the content of your .jca file here?
    Regards,
    Anuj

  • Got compilation error about 'create instance activity' using file adapter

    Hi,
    I am creating a very simple bpel process using file adapter. in my 'Receive' activity, I selected 'create instance' , as the tutorial says.
    I got this compilation error during deploying.
    'Error(31): [Error ORABPEL-10051]: multiple create instance activity [Description]: in line 31 of "D:\OraBPELPM_1\integration\jdev\jdev\mywork\BPELPractices\FileAdapterTest2\FileAdapterTest2.bpel", Conflicting createInstacne="yes". Instance is already created by another activity. [Potential fix]: Remove createInstance="yes" attribute from this activity. '
    Several people had the same problem in my team. I wonder if this is a common issue. how to fix it?
    Thanks,
    Kate

    You must be having another receive/pick activity within the same process that has "createInstance" set to yes.
    Thats why its complaining.

  • How can I stop Adobe Reader from reading (seeking) the floppy drive when opening/closing any PDF?

    Ever since I opened a PDF file from my floppy drive Adobe Reader insists on checking/seeking/reading the floppy drive whenever I open and whenever I close any PDF (not using the floppy).  It is very annoying, as I use many PDFs per day and it creates a delay and noise every time.

    Edit>Preferences
    Under Page Display:
    Where it says "Location of referenced files", if it shows "Floppy Disk A:/" clear the box, or choose an alternate location if you can't clear it.
    Also, under Search:
    Click "Purge Cache Contents"

  • How can I STOP the iphone changing ANY of my appointment times?

    I travel through numerous time zones weekly for work. When I put in any entries they are local because I know where I will be. Then the iPhone sees fit to muck me around by second guessing what I want. Sometimes with disasterous consequences. I know put in times in text as a backup but this still does not avoid all issues.
    Time zone support on or of doesn't matter because I make new entries in various time zones.
    Is there a 'don't change anything I enter' option?
    Help pleaaaaase.

    Hold an icon until they all wiggle, the tap the "x" in the corner
    The app has nothing to do with tracking the iphone on which it is installed.  It only allows you to find your other devices from your iphone.

  • How can I stop Acrobat Reader from popping up every time I close Firefox?

    Every time I close Firefox, after my browser window closes, Acrobat Reader pops up. Is there a way to stop this from happening. I already went into the "Add-Ons" and disabled it, but it continues to occur.

    It doesn't :-) I was desperate, there is nowhere on the Internet giving the information on how to block pop-ups on just IE (not all of Microsoft) But thank you anyway. :-) FYI I installed IE 9 then deleted IE all together.

  • How can I stop a pop up ad each time I open the Debeka file site? I can't read some of the stories - it covers them up

    I keep getting an ad for the Virtural Jerusalem on the Debka File site. How can I get rid of it?
    == This happened ==
    Every time Firefox opened
    == now

    Hello Martin,
    I have used this DLL before and wasn't asked to choose a codec. Maybe if you use all three functions (init, write, close), it works without problems. Here's a example that uses IMAQ hardware to acquire an 8-bit image at 30fps and writes each image to an avi file.
    There are utilities to examine dlls (see what functions are exported and what the dependencies are, but you can't see source code since it is compiles.) Check out QuickView or DependencyWalker.
    Attachments:
    avigrab.zip ‏66 KB

Maybe you are looking for