By using OID how to unzip the folder and load bunch of .csv files

Hi All
bellow is the my scenario.
in my scenarion we have created FTP folder that will load the .zip files(Every Day).
.zip files that will contain bunch of .csv file (flat files) and by using OID need to extract the .zip file and load the all .csv files into target database. source data is .csv files and target data is oracle10g. Dose it will possible by using ODI?? please suggest me...
Thanks in Advance
Zakeer

Hi,
i'm interrested on this way of reading multiple files, i tried to follow those steps but i'm getting an error while running the package:
ODI-1226: Step vReadFile fails after 1 attempt(s).
ODI-1236: Error while refreshing variable VOUCHER_CUSTOMER_DATA_INTEGRATION.vReadFile.
Caused By: java.lang.NumberFormatException: For input string: "#Activity_report_name"
the variable vReadFile can't recognize the other variable Activity_report_name.
the refreshing query for vReadFile is :
select     file     C1_FILE
from      TABLE
/*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=files_namesSNP$CRLOAD_FILE=C:\/files_name.txtSNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=0x0009SNP$CRFILE_SEP_LINE=0x000D0x000ASNP$CRFILE_FIRST_ROW=#Activity_report_nameSNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=fileSNP$CRTYPE_NAME=STRINGSNP$CRORDER=1SNP$CRLENGTH=50SNP$CRPRECISION=50SNP$CRACTION_ON_ERROR=0SNP$CR$$SNPS_END_KEY*/
any suggestion plz
regards

Similar Messages

  • How to read the date and time information of a file by labview

    how to read the date and time information of a file by labview? for example, created time and modified time.
    Solved!
    Go to Solution.

    if you need to know the last modification date of file:-
    "Functions->File I/O->Advanced File Functions->File/Directory Info.vi"
    This vi returns the value of file's last modification date. This is returned as U32 number. To see it in MM/DD/YY format you must create the indicator, right-click on it and select "Format & Precision" item from drop-down menu. Then select "Time and Date" format there.
    Thanks as kudos only

  • How to include the characters " " and " " in a XML properties file.

    hi
    including the following prop entry gives me the error "Element is not closed" error message.
    <entry key="test">can't include chars < and ></entry>
    But i need to include the chars "<" and ">" in my xml properties file.
    please help.
    thanks

    Try &lt; and &gt;
    Dave Patterson

  • How to extract the size and date from a given file

    Hi,
    I want to extract the size and date of a file (it can be either a video, audio or text file) that the user points to the location of. But I am not sure how. Does Java have an api that can do this? If not is there some other way of doing this? Can anyone help? Thanks in advance.

    Have a look at java.io.File, specifically
    public long lastModified()
    This format returned (I find) is nasty, so then use java.util.Date (or java.sql.Date, look the same on the surface to me) to format it.
    Cheers,
    Radish21

  • How to define the Structure and FCC parameters for EDI file format.

    Hi All,
    I have a  EDI file(FTP)-->XI-->IDOC
    the source file content is as follows
    PR H01PHUPS         
    FH   SHP  0.0.5    
    H1   S0022323                            
    W6   7752508853                     D
    PT   1Z58R7070341111111           
    PT   1Z58R7070342222222           
    PT   1Z58R7070353333333          
    N1ST ZZ 142222                            
    N3ST 8827 D OLD
    N4ST MARCY                        
    N1WH ZZ 2070                              
    N3WH 401 QUALITY
    N4WH HARRIS
    DTENT20111206
    DTSHP201112061754
    N9LL BN20700033333333                               
    N9NT
    CD   CP      UPS
    IT026
    P1GD    VN A1111 
    PD   Product ID 1                   
    QTORD000000000000010CA
    QTSHP000000000000010CA
    AM U  000000000000000000M
    AM X  000000000000000000
    LTLT 1112811111                                       
    AM G  000000000000000000
    AM N  000000000000000000
    AM TAX000000000000000000
    AM SVC000000000000000000
    AM COD000000000000000000
    ST   00000000100000000010000000000000000000000000008500LB
    Can any body share me how to declare the structure in DataType.
    The first two characters in each record is constant , so this would be the keyfields right?
    ex:- PR,FH,H1,W6,PT,AM,N1,N3,N4......
    In Comm channel the FCC parameters
    i need to go for fieldFixedLengths?
    Thanks&Regards
    Sai_SHA

    Hi.
    if you need to convert an EDI to XML you need to use an Adapter specific (e.g Seeburger) because PI doesn't support EDI files.
    Also if you use a FCC , this configuration is for  two level Header and Detail.
    Check this.
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
    Regards
    Luis Ortiz

  • Powershell: How to change the header name in a imported CSV file

    HI All,
    I have a csv file in which I want to change the headers names in powershell.
    oldnames are name,id
    newnames I want to give are: company and transit respectively.
    Following is what I wrote in script:
               $a = import-csv .\finalexam\employees.csv -header name,id'
                       foreach ($a in $as[1-$as.count-1])  // I used 1 here because I want it to ignore the  exiting headers.
                      { $_.name -eq company, $_.id -eq transit}
    I think this not entirely correct way to do this. Can someone show me how to fix this.
    Regards
    SQL 75

    If you're not an experienced PowerShell programmer, I recommend editing the file in a text editor and changing the name that way.
    -- Bill Stewart [Bill_Stewart]

  • CodedUI : How to stop the TestMethod from iterating in a csv file?

    Hello All,
    I have a [TestMethod] which use a csv file. Now this csv file have some 20 rows in that. For one [TestMethod] I need to select one row from that csv, I am able to extract that row. No problem so far. 
    Once my [TestMethod] finished execution with this particular row I need to stop that. It should not take the next row from csv and execute the [TestMethod] with new set of values.
    What should I do to stop the execution after that single iteration?
    Thanks a tonne in advance.
    Thanks and Regards, Sajeev.

    Hi Sajeev,
    You may not be surprised to hear that this question (or something similar) comes up a lot.
    There are a number of basic solutions out there using if statements or loops with only one iteration (this one for example:
    https://social.msdn.microsoft.com/Forums/en-US/7571dbe5-495b-4e47-b012-1c09fbb40a4b/coded-ui-data-driven-test-limiting-the-number-of-iterations?forum=vsautotest)
    You can also ad named ranges to your CSV file and refer to these in your data source configuration instead of the sheet (this post has a lot of detail https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/79c9f86a-a223-4ab6-84af-a7c4baed4951/taking-data-from-single-excel-sheet-for-multiple-test-methods?forum=vstest)
    The drawback of the first type of solution is that all of the "empty" executions for the other iterations will still have results recorded, which makes analysis more difficult. The drawbacks of the second solution are that it is more complicated
    to implement and takes as much work as just creating a new sheet with the single row added (which might be the best option).
    Regardless, I recommend giving both solutions a go if you have time, purely from the point of view of having your own opinion of them.
    Hope this helps,

  • I ran my iphone over but need to access my contacts/info/pics. I have a up to date backup of my whole phone in iTunes but need to know how to extract the data and load it to my new desktop since it will be a bit before I can afford a new phone.

    I accidentally ran my iPhone over and can't afford another one for a few weeks. Until then I need to find a way to extract the data from my last backup in itunes. I can either put it on my computer or I've set up a cloud account that I was hoping could open it. So far I haven't had any luck with either. if anyone can help me out. I would love to get my pictures/videos, messages and contacts off there. The rest I don't care so much about. If someone could let me know if this is possible I would apprciate it!

    Thanks. I messed up with my husbands iphone because I was told the wrong thing. Now everytime I sync his phone it makes it look just like the other phone I had. Do you know how I can fix taht for his phone? Any settings I can turn off that will prevent all of my apps/contacts, etc from auto populating his phone?

  • How read the PDF and XML files after Unzipping the folder

    Hi Gurus,
    I have a zipped folder and i this two types of files .XML and .PDF files.
    I am able to unzip the folder and reading the .XML files, unable to read the PDF files.
    I want to send this PDF file to the target as it is.
    Please help me.
    Regards
    Sreeni

    Hi,
    Hi ,
    Plse see the below thread
    PI 7.1 : Taking a input PDF file and mapping it to a hexBinary attribute
    It will help you.
    You can write custom adapter modules:
    Java Mappingh;
    SAP Conversion agent:
    http://www.riyaz.net/blog/parsing-pdf-files-using-sap-conversion-agent-part-i/technology/sap/628/
    http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm

  • How to create the folder in presentation server through pop-up(

    Hi Experts,
    Can u give me the solution , how to create the folder in presentation server through pop-up(means dynamically, after executing the program , pop-up has to come to create the folderand path)
    regards
    ram.

    Use the methods -> DIRECTORY_BROWSE & DIRECTORY_CREATE of the class CL_GUI_FRONTEND_SERVICES
    DATA: path TYPE string,
          rc TYPE i,
    dir_name TYPE string value 'HI'.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE
        CHANGING
          SELECTED_FOLDER      = path
      IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    concatenate path '\' dir_name into path.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_CREATE
        EXPORTING
          DIRECTORY                = path
        CHANGING
          RC                       = rc
      IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Edited by: Kartik Tarla on Sep 23, 2009 5:54 PM

  • How to zip the folder in application server?

    how to zip the folder in application server?

    You can use
    open dataset with filter
    link:[http://help.sap.com/abapdocu_70/en/ABAPOPEN_DATASET_OS_ADDITION.htm#!ABAP_ADDITION_2@2@]

  • How to delete the folder from easy DMS

    Hi..
    How to delete the Folder once it is created in easy DMS? As i have all the access
    Also how to restrict user from deleting the document from DMS? (Delete document option restriction)
    I want all folder to be gets created with internal number range only.i have define the same for Doc type FOL.
    But when i first log-in into easy dms system ask me do i need to create the folder i clicked on yes and while saving it shows an error that only internal number range is possible.But actually number EDIPUBLICROOTFOLDER  is selected by default and unedited format

    Hi,
    How to delete the Folder once it is created in easy DMS? As i have all the access
    First delete all the DIR's inside the folder using delete button. Later you can delete the Folder.
    Also how to restrict user from deleting the document from DMS? (Delete document option restriction)
    You can control this using authorization objects in DMS.
    Hope this helps.
    Regards,
    Deepak Kori

  • How to expand the folder via applescript?

    Dear apple experts,
    How to expand the folder via applescript?
    Manually we are using command + option + right arrow, but how we handle this in applescript?
    Thanks in advance,
    Velladurai.G

    Hello
    Finder's container's "expanded" and "completely expanded" properties have long been marked "NOT AVAILABLE YET" under OSX:
    Finder.sdef > Containers and Folders suite
    container n [inh. item] : An item that contains other items
        elements
            contains items, containers, folders, files, alias files, application files, document files, internet location files, clippings, packages.
        properties
            entire contents (specifier, r/o) : the entire contents of the container, including the contents of its children
            expandable (boolean, r/o) : (NOT AVAILABLE YET) Is the container capable of being expanded as an outline?
            expanded (boolean) : (NOT AVAILABLE YET) Is the container opened as an outline? (can only be set for containers viewed as lists)
            completely expanded (boolean) : (NOT AVAILABLE YET) Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists)
            container window (specifier, r/o) : the container window for this folder
    A way to expand a given folder is to use keystroke command of System Events to invoke the keyboard shortcut in Finder. Something like the following script.
      kLeftArrowCharCode            = 28,
      kRightArrowCharCode           = 29,
      kUpArrowCharCode              = 30,
      kDownArrowCharCode            = 31,
    --set f to (path to downloads folder from user domain) -- target folder e.g.
    set f to (choose folder)
    tell application "Finder"
        reveal f
        tell Finder window 1
            set cv to current view
            if cv = column view then return -- do nothing
            if cv = icon view then set current view to list view
        end tell
        my _keystroke(it, character id 29, {option down, command down}, 0.2)
    end tell
    on _keystroke(_app, _key, _modifiers, _delay)
            reference _app : application reference
            string _key : character(s) to be keystroked [1]
            list _modifiers : list of modifier key to be pressed; enumerations are
                    command down
                    option down
                    shift down
                    control down
            number _delay : post-delay amount [sec]
            [1] Character must be present on the current keyboard layout. Otherwise, it is replaced by 'a'.
        tell _app to activate
        tell application "System Events"
            tell (process 1 whose bundle identifier = (_app's id))
                keystroke _key using _modifiers
            end tell
        end tell
        if _delay > 0 then delay _delay
    end _keystroke
    Regards,
    H

  • How to change the name and description of a wim using DISM

    With Imagex we could update the name and description of the wim with on easy command:
    imagex /info img_file [img_number or
    img_name] [new_name] [new_desc]
    e.g.
    imagex /info Win7Combined.WIM 1 "Win7(x86)" "Windows 7 x86"
    Since the ImageX tool is deprecated in Windows 8 and has been replaced with DISM, can someone explain how to update the name and description with one easy command using DISM like we could with Imagex?

    It looks like this person had the same issue. Have you seen this
    link
    It talks about exporting an Index into a new WIM. Which, in a way, would be renaming it. It's really recreating it and you have to give it a name. But it seems to work.
    Dustin Estes - MCP | www.dustinestes.com

  • How to change the folder name in the web report.

    hi experts,
    can anybody give me the solution, how to change the folder name in the web report. any help is appreciated.
    waiting for ur favourable response.
    thanks
    suri

    Hi Tony,
    Yes, the business requires, only to change in the webreport only not in bex and roles. any suggestions will be helpful to me.
    thanks
    surendra

Maybe you are looking for

  • My firefox webpage now opens up as a whole page and I am not able to see any any menu bars

    All of a sudden my firefox webpage now opens in the whole window and I am not able to see any menu bars in the top or the "start" icon in the bottom of the screen

  • XI java mapping using SAX

    Hi, im using java mapping for complex IDOC structure. If I run program localy, it works great, but when XI runs mapping, I have problems with xml file, some elements are not there ?! I don't know why it happens.....i said that i'm using complex logic

  • CSS not displaying correctly

    Hello, I have uploaded a few pages of this website: www.happybabes.com.au and www.happybabes.com.au/PocketNappies.php Some of the CSS looks OK eg: the header looks alright. The footer is alright, except that all of my links are missing their styling.

  • XPath expression with multiple namespaces?

    Hello all. I have been scouring the forums and Google and can't seem to find anything similar to my problem. I have the following XML with three namespaces. Two are defined in the root element and the third is defined in the the IdSession element. To

  • Business Partner Relationship Issue

    Hello, I am trying to create BP relationship using EMIGALL. the problem i am having is that even though I am passing a valid date, after emigall is completed successfully and i check for relationship, i alwys see that the date is changed to 01.01.000