Remove the Excel file used in an interface

Hello.
I have an excel file that I use in an Interface as a source.

I want to delete this file, when the interface is complete.

I created a package with an OdiFileDelete stage just after the interface that processes the file excel, but she get an error:

Cannot delete the file \\ATENEA\SERVICIOS\PRUEBASCARGA\compras\Por_Cargar\Tarifas_Proveedores.xls
at org.apache.tools.ant.taskdefs.Delete.removeFiles(Delete.java:614)
at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:503)
at com.sunopsis.dwg.tools.FileDelete.actionExecute (FileDelete.java)
at com.sunopsis.dwg.function.SnpsFunctionBase.execute (SnpsFunctionBase.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt (SnpSessTaskSqlS.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i (e.java)
at com.sunopsis.dwg.cmd.h.y (h.java)
at com.sunopsis.dwg.cmd.e.run (e.java)
at java.lang.Thread.run(Thread.java:595)

I imagine that this error is caused by files locked by the process that runs the interface.
How do I unlock this file so it can be deleted?

Are you sure that you have full access to the \\ATENEA\SERVICIOS\PRUEBASCARGA\compras\Por_Cargar resources?
By default, sharing resources gives access to everybody, only for reading.
Try to open \\ATENEA\SERVICIOS\PRUEBASCARGA\compras\Por_Cargar resources in Windows Explorer and then try to create the new file in this directory.
Which agent ODI have you used for the execution of the batch (if your server under Windows - have you configured agent runs as a service)?
What is the platform of the server when you run the agent?

Kind regards
Oleg

Tags: Business Intelligence

Similar Questions

  • How can I remove the Excel file encryption

    I have encryption on two files excell on finance. recently, records are reluctant to open and the contextual code Word displays twice and often does not open. I want to remove the encryption first. any help please.

    MS offers all the tips for the protection of password files removeing for an excel file (or any file besides)

    There are unsupported solutions to be found via a google/bing search

    I have in the past used some successfully

  • How do I dynamicaly create TestStand properties when loading the limits of an Excel file using the property loader?

    Hello

    I need help using the shipper of the property. I have an excel file that contains a bunch of properties, and the properties change quite often. I want to be able to load a picture of the excel file properties by using the shipper of the property and create these properties in Teststand programmatically. It is a sample of the file I want to import: when I tried the charger of the property, I got an error, because the properties did not exist. So, how can I create them as they load?

    LIMITS OF DEPARTURE 
     
      
    Value of the variable
      
    Value of the variable
    LowLimits10 20 30
    PinNumbers0 1 2
      
    Value of the variable
    LIMITS OF THE END 

    Thank you

    Ayman

    Thanks Ric, Ray. Both of your comments, I was able to do that the tool works exactly as I want. The final version of my custom tool is attached.

  • I need to remove the uneeded files: Purenetworks and PCFix. But I get: not deletenmrsrc.dll: access denied make sure the disk is not full or write protected and that the file is not in use.

    Original title: remove unnecessary files

    I need to remove the uneeded files: Purenetworks and PCFix. But I get: not deletenmrsrc.dll: access denied make sure the disk is not full or write protected and that the file is not in use.

    Ditto for PCFIX.exe.

    How can I remove these and clean unnecessary files? Thank you.

    Hello

    1. how exactly you are trying to remove it?
    2 have you connected the administrator account?

    Step 1: Check if the problem persists in the clean boot state.

    From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".

    Reference:

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    1. click on start and then click Run.

    2. type msconfig and click OK.

    The System Configuration Utility dialog box appears.

    3. click on the tab general, click Normal Startup - load all services and device drivers and then click OK.

    4. When prompted, click on restart to restart the computer.

    Step 2: Take possession of these program at the following location folder, and then check the issue. C:\Program Files\ 

    Reference: How is ownership of a file or a folder in Windows XP

  • Export data from the database to excel file using the procedure

    Hello

    I need to export data from database to oracle 10 g for the excel file, I try this code:

    First, I create directory to the user sys and give permition to user that I'm working on it
    create or replace directory PALPROV_REPORTS as 'c:\temp';
    
    grant read, write on directory PALPROV_REPORTS to user12 ;
    then I run this code
    declare
        output utl_file.file_type;
    begin
        output := utl_file.fopen( 'user12' , 'emp1.slk', 'w',32000 );
        utl_file.put_line(output, 'line one: some text');
        utl_file.fclose( output );
    end;
    the problem appears as
    ORA-29280: invalid path ORA-06512: at "SYS." UTL_FILE", line 29 ORA-06512: at"SYS." UTL_FILE", line 448 ORA-06512: at line 4

    Notice that I use the operating system windows as a client and a linux as a server database

    The file will be written to the database server or your GNU / linux and I'm quite sure, there is no folder named "c:\temp" on linux. It will probably be ' / tmp' on a unix server.

    And open the file, you must give the name logic directory 'PALPROV_REPORTS' it instead of the user name "utilisateur12".

  • How to remove FCP7 rendering files, using FCPX or Finder

    Hello

    I am trying to eliminate unnecessary files.  For any project FCPX, I see that there is a process to remove the render files.  But what I do with projects created in FCP7?  These are projects which have had their XML files imported for use in FCPX, or I want to only keep the original media, even if they were previously published.

    Can make deleted files just in the Finder under one or the other scenario or both?

    Thank you

    Marg

    Yyes, simply delete them in the Finder.

  • Download and open the Excel files on iPad Pro

    I have the new iPad Pro.  I have Office 365 is installed.  In my work, I run queries of data on a server and the query result comes to me in Excel.  I want to download the Excel file and open it for editing on my iPad Pro.  What I have actually / to accomplish this task?

    You should be able to do this by using numbers

    https://www.Apple.com/ca/support/iWork-for-icloud/numbers/

  • labView send data wireless node for the excel file

    Hi all

    I used the basic tutorial for the network of wireless sensors OR. http://www.ni.com/tutorial/8890/en/. I finished it with a single node. The next phase of my project is to send the data from the node and the date and time in an excel file every hour. Is there any advice I can get to at least send the date and the data in the excel file? I'm using labView in 2012

    I change, because I put the text instead of excel file

    You cannot connect a scalar to the entry level that is needed. A solution would be to insert a table to build before the writing on the worksheet.

  • Adding a table Excel file using ActiveX

    Hello

    I want to add a figure that has been produced using data from data acquisition to a specific cell in my existing excel file (reversing a graphical indicator in jpg/bmp,... and put it in the excel file). But I can't find the specific method to do so. I have changed one of the examples so I can add a few numbers to a specific cell in excellent file (VI attached). Someone knows how to do this?

    Also, in my test, I'll do this for 15-20 numbers (put 20 numbers in different places in the existing Excel file). I do this one by one? (opening of the application 20 times) or there is a way to just do all at the same time.

    Thank you.

    Now, it looks a lot better.

    I also added the part in which the image is from a waveform graph. For this you must use the Invoke node Export Image waveform graph. I've exported as bmp, save it in a file and then added in Excel. It is a solution. You can try different image format in order to find the one that works best for you. BMP is big enough.

    Another solution would be to use the graphical waveform / invoke node / export the Clipbord Image and spreadsheet use invoke node function / paste. In this way, that you don't have to write the image to the file. Although I find it more difficult to control the position where the image is pasted. In any case, you can give it a try and play with her a little.

    You can build your complete code Export To Excel using this example. Just add a loop (or code) between the opening of the workbook and close it.

    PS: I hope that the waveform graph node is the same also in LV2010. I can verify that Monday.

  • Entries are concatenated in the same column in the excel file

    Hi, I really need help in this emergency. The problem is when I open the spreadsheet file after you run the program below, all the values that I believe are concatenated in the same column. However, there are 2 different analog inputs which I want in 2 different columns. I'm getting the 2 waveforms in the same graph, but when I open the excel file, it seems that the entries are concatenated in the same column. Someone knows how to fix this? Thank you very much.

    Hi Ben 64,.

    Thanks a lot again. I did as you said and I removed the dynamic data and logged files added directly to the results. I'm still checking if the program works as I can branch only when I return to work tomorrow. Tell me if you think it might be able to work this time. Thanks a lot again!

  • create the new file using report generation express vi

    Hello

    In my application, I need to write that certain data in spreadsheet Excel. For whom I created an excel template and I used the express vi report generation Toolkit to record appropriate data in the columns of the place. I need a new file created every day by the name of the day and write the data that he rest of the day. I have problems, create the new file using this express vi. I tried to use the low level vi but not able to make properly.

    Join my code and the excel template.

    Help, please.

    Thank you!

    I suspect that your problem is illegal characters (' / ') in your path, certainly it is the case in your original vi. You need to format your path, something like this (underscore instead of a slash stroke):

  • PC DM files: my hard drive is currently filled by PC DM files in my folder/Public user folder. How can I safely remove the right files in this folder?

    My hard drive is currently filled by PC DM files in my folder/Public user folder.  How can I safely remove the right files in this folder?  Vista Home Premium 64 bit is my os.

    Hi templar_39,

    DM (Message Delivery) file types are not Windows files, they can be generated by a third-party program.

    This particular file type is often associated with audio data and can be hosted on some cell phones to be used as ringtones or multimedia clips. To my knowledge, these files can be generated by your mobile phone.

    Note: you can go ahead and remove these files only if you notice that the files do not contain any important information.

    If this happens without connect you all devices (like mobile PHONES), this may be a virus or malware activity. You can run a virus scan to get rid of them

    Step 1: A scanner online for any threat and try to correct

    http://OneCare.live.com/site/en-us/Center/cleanup.htm

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Remove the uninstallation files after an upgrade

    After an upgrade to Windows XP, I used to remove the uninstall files in the system directory.


    Is it possible to do it on Vista?

    Windows Update Forum:

    It comes with Vista, upgrade install and activate Forum.

    You will get the best help for any update/Service Pack problem or issue in the Windows Update Forum; the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/threads

    See you soon.

    Mick Murphy - Microsoft partner

  • I have to remove the duplicate files, but having problems by selecting more than one file in the player at the time.

    I have to remove the duplicate files, but having problems by selecting more than one file in the player at the time. How can I select multiple files at the same time so I can just delete them. I used to be able to do this in previous versions of Media Player, but this function seems now blocked or unavailable. The problem is this: through previous use of media player, it plays all my multimedia files several times whenever a device support has been added. He would try to save the files on my main drive, but since there is not enough room this would save the files somewhere else. This happened several times, I suppose, because when I upgraded my computer and a media scan was conducted he found duplicates of all my media various times of at least 6-8. I've consolidated since my plates on 3-disc multi to, but have now records duplicated hundreds and thousands of duplicate media files. Previous versions of Media Player would allow me to select all files and then delete them both of the reader, but also from my hard drive. So now I'm stuck with more than 300 GB of duplicate media I have to search line by line through all my hard drives to find each duplicate both, unless I can get media player to do what it can. Any help in this area would be appreciated.

    Hello

    1. did you of recent changes on the computer?

    2. is Windows media player files in double creation during playback of music files?

    To delete duplicate entries, click on another feature tab in the drive (for example the current playback), and then click library.

    If this does not remove duplicates from your library, you can use the Add to library dialog box to search computer to analyze a file on your computer the duplicate entries not valid-pointing. The player will remove invalid entries in your library that point to files that no longer exist in the folder.

    Complete the steps above for files that are stored in the hard disks.

    Method 1: Use the add to Library dialog box search for computers

    (a) start Windows Media Player.

    (b) press F3 on your keyboard to open Add to the library of the find computers dialog box.

    (c) click the Browse button to locate the folder on your computer so that your library contains invalid entries. Specify the location of the folder in the box look in.

    If you are not sure what duplicate in your library entry is not valid, you can add a path column to display in your library. Specify the folder on your computer that corresponds to the path not valid file displayed in your library.

    (d) click on the Search button.

    The player will search for digital media files and playlists in the folder that you specify and remove invalid entries in your library that point to files that no longer exist in the folder. If not valid in double entries point to other folders on your computer, repeat this procedure, specify a different folder every time.

    If only a small number of duplicate entries exist, you can delete those invalid manually by right-clicking on the invalid entry, and then clicking Delete .

    For large double-number of entries in your library (or if all your library is duplicated), it might be better to create a new library and delete the files.

    Method 2:

    After you remove the duplicate entries, run the troubleshooting of Windows Media Library settings to solve this problem.

    Open the troubleshooter in Windows Media Library

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-library-Troubleshooter

    Let us know the results.

    I hope this helps.

  • How to remove the multiple file via plsql programm

    Dear friends

    1. how to remove the multiple file in the particular folder based on the file extension (ex: .xls) through program plsql.

    2. how to create the zip file through PL/Sql program for the given folder.

    Concerning

    M.Padmanabhan

    (1) utl_file.fremove. If you use Google, you might find how to list the files in a directory.

    2). create a file using pl/sql .zip

Maybe you are looking for

  • How to disable remember password pop upward

    When I go to 'Tools', there is no "option" menu. How to disable remember password pop upward. I have "Firefox 11.0 Mozilla Firefox for Ubuntu canonical - 1.0" and "Ubuntu 10.04 LTS - the Lucid Lynx.

  • How to decompress the Atheros WiFi driver package

    Downloaded and launched the 7.7.0.288.0 pilot of the built-in wireless adapter.I saw activity but cannot find where the file extracted from if I do for new pilots. Requested orientation.

  • HP ENVY h8 - 1427 graphics card has

    Hello. I use this graphics card currently on this exact system: http://tinyurl.com/m2mvbq8 The fan on the card spins constantly and loudly and that all cleaning and fixing attempts have failed. Could anyone recommend a replacement of the graphics car

  • How to create a Boolean value when it is activated, it is an iteration and then off the back

    Hi all I could not explain well in the title, but I try to order a device that only requires a single click to move. For manual operation, a switch locked like OK button would do, but I'm trying to automate it. For example, if we have a digital contr

  • How can you stop your malfunctioing album covers?

    Just the day before I had an update I did on my computer.  I noticed after the update from microsoft that I was getting a malfunction in my windows media player 11.  So far, none of my music has dissappeared.  The question that happens is that a part