How to import flat file with date in filename on a regular basis

Hi,
Using OWB 11gR1
I have a file that will be delivered to an FTP each night with the date in the filename having the form YYYYMMDD-FILE.txt (ex: 20100326-FILE.txt) that I want to import to an external table.
Now I've set up the import to the external table but am only able to import files that I specify the name for exactly. I've tried pointing to filenames such as "*-FILE.txt" and "%-FILE.txt" but that only results in errors.
It must be possible to automatically import files with different filenames but the same structure, or isn't it? Could anyone help me solve this it'd be greatly appreciated.
Thank you in advance.

Hi
For dynamic files you can;
1. either do the DDL on the external table to point to the file with the changing name
2Copy the file to a fixed name before using the external table/maps
3. Use the preprocessor to cat/pipe these files for the external table. See the post here http://blogs.oracle.com/warehousebuilder/2009/06/file_staging_using_external_table_preprocessor.html it shows using gunzip but could simply be doing 'cat' on a bunch of files to standard output
Cheers
David

Similar Messages

  • How to convert Flat file(.txt) data to an Idoc format(ORDERS05)

    Hi,
    How to convert Flat file(.txt) data to an Idoc format(ORDERS05). If any FM does the same work please let me know.
    thanks in advance,
    Chand
    Moderator message : Duplicate post locked. Read forum rules before posting.
    Edited by: Vinod Kumar on Jul 26, 2011 11:11 AM

    Hi,
            For more information, please check this link.
    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Have a look at the FM IDOC_XML_FROM_FILE. May be it helps...
    Regards

  • How to create flat file with fixed lenght records

    I need help to export an Oracle table to a flat file with fixed lenght and without columns separator.
    the fixed length is the more important demand.
    My table have 50 columns with varchar, date and number .
    Date and number columns may be empty, null o with values.
    Thanks a lot for any help.
    [email protected]

    Hi,
    You can use this trick:
    SQL>desc t
    Name                                      Null?    Type
    NAME                                               VARCHAR2(20)
    SEX                                                VARCHAR2(1)
    SQL>SELECT LENGTH(LPAD(NAME,20,' ')||LPAD(SEX,1,' ')), LPAD(NAME,20,' ')||LPAD(SEX,1,' ') FROM T;
    LENGTH(LPAD(NAME,20,'')||LPAD(SEX,1,'')) LPAD(NAME,20,'')||LPA
                                          21                    aF
                                          21                    BM
                                          21                    CF
                                          21                    DM
    4 rows selected.
    SQL>SELECT *  FROM t;
    NAME                 S
    a                    F
    B                    M
    C                    F
    D                    M
    4 rows selected.Regards

  • How to handle flat file with variable delimiters in the file sender adapter

    Hi friends,
    I have some flat files in the ftp server and hope to poll them into XI, but before processing in XI, I hope to do some content conversion in the file sender adapter, according to the general solution, I just need to specify the field names, field seperator, end seperator, etc. But the questions is:
    The fileds in the test data may have different amount of delimiters (,), for example:
    ORD01,,,Z4XS,6100001746,,,,,2,1
    OBJ01,,,,,,,,,,4,3     
    Some fileds only have 1 ',' as the delimiter, but some of them have multiple ','.
    How can I handle it in the content conversion?
    Regards,
    Bean

    Hi Bing,
    Plz do refer the following blogs u will get an idea:
    File content conversion Blogs
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    Vinod.

  • How to import flat file as a source in DAC Client

    Dear All,
    I am doing some R&D,I have a problem that how can i import the flat file in DAC client which i am using as a source.
    Can any one please explain in detail step wise.
    Regards
    Tarang Jain

    Hi Tarang,
    How long will it take to run the sample execution plan? Since when i run 'CRM Automotive' EP, it runs for more than 3 hours and still it is running. My system config is 1GB RAM with windows os. I have also opened the DAC server and client in console mode and I m not able to see any errors. I have only got only the task 'Load row into run table ' completed successfully and next 10 are in Running stage from the past 2 hours.
    My DAC client shows continously the below shown message for 1 hr.
    'Sep 30, 2008 3:52:59 PM com.siebel.analytics.etl.client.data.model.ConnectionHan
    dler getConnection
    INFO: Getting connection for: Model structure for W_ETL_RUN_STEP (RUN_STEP) (cur
    rently 0)
    Sep 30, 2008 3:52:59 PM com.siebel.analytics.etl.client.data.model.ResultSetPars
    er logMinutesSeconds
    INFO: Query took 0 minutes, 0 seconds
    Sep 30, 2008 3:52:59 PM com.siebel.analytics.etl.client.data.model.ConnectionHan
    dler cleanUp
    INFO: Returning connection for: Model structure for W_ETL_RUN_STEP (RUN_STEP) (c
    urrently 1)
    Sep 30, 2008 3:52:59 PM com.siebel.analytics.etl.client.data.model.ResultSetPars
    er logMinutesSeconds
    INFO: Populating DACObjects took 0 minutes, 0 seconds
    Sep 30, 2008 3:52:59 PM com.siebel.analytics.etl.client.data.model.DACChildTable
    Model setParentID
    INFO: PARENT ROW ID IS: 95D45F88DBB268B3D19DB71B4E42D3FF
    Sep 30, 2008 3:52:59 PM com.siebel.analytics.etl.client.data.objectcomponents.Mo
    delStruct setQuery
    INFO: SELECT
    RUN_STEP.DEPTH
    ,RUN_STEP.STEP_NAME
    ,RUN_STEP.STATUS
    ,RUN_STEP.START_TS
    ,RUN_STEP.END_TS
    ,RUN_STEP.STATUS_DESC
    ,RUN_STEP.PHY_SRC_NAME
    ,RUN_STEP.PHY_TRGT_NAME
    ,RUN_STEP.PHY_FOLDER_NAME
    ,RUN_STEP.SERVER_NAME
    ,RUN_STEP.PHASE_NAME
    ,RUN_STEP.EXEC_TYPE_NAME
    ,RUN_STEP.SUCESS_ROWS
    ,RUN_STEP.FAILED_ROWS
    ,RUN_STEP.ERROR_CODE
    ,RUN_STEP.DEFN_STEP_WID
    ,RUN_STEP.ROW_WID
    ,RUN_STEP.LAST_UPD
    ,RUN_STEP.APP_WID
    ,RUN_STEP.RUN_WID
    ,RUN_STEP.STEP_WID
    ,RUN_STEP.PHY_SRC_WID
    ,RUN_STEP.PHY_TRGT_WID
    ,RUN_STEP.PHY_FOLDER_WID
    ,A_W_ETL_APP.ROW_WID
    ,A_W_ETL_APP.NAME
    FROM W_ETL_RUN_STEP RUN_STEP
    INNER JOIN W_ETL_APP A_W_ETL_APP ON RUN_STEP.APP_WID=A_W_ETL_APP.ROW_WID
    WHERE
    (RUN_STEP.RUN_WID='95D45F88DBB268B3D19DB71B4E42D3FF')
    ORDER BY
    RUN_STEP.START_TS ASC,
    RUN_STEP.DEPTH ASC'
    Any comments on this?
    I had also copied the CRM Analytics source file into the "D:\Informatica\PowerCenter8.1.1\server\infa_shared\SrcFiles"
    as metioned in Appendices ' Configuring Universal Adapter for CRM Analytics'.
    With Regards,
    Prads

  • How to load flat file containing data(separated by commas) into cube sapbi.

    hi gurus,
    please help me with this question?
    i have some data in the flat file for example, address but with commas for ex:
    h.no:123,colony,area,hyd-59.now i have even other columns in this flat file like customer name,age.....i want to know ,how to load this data into infocube. where in when it comes to address column sap bi takes it as a single column in the generated report.

    Hi Amulya,
    To get reports on all ur records save ur flat file in .CSV format -> to do this open ur flat file, save as "filename.csv".
    -> CSV is nothing but comma seperator value, sap supports two types of formats 1).csv and 2) ASCII format.
    we prefer .csv format.
    check this link for step by step modelling.
    http://www.scribd.com/doc/3804698/SAP-BW-StepBystep-From-Fu-Fu
    http://books.google.co.in/books?id=3wBjrMDWescC&pg=PA184&lpg=PA184&dq=stepbystepdocumentationfor+sap-bw&source=bl&ots=RIp
    T1knFet&sig=_4HOg59Om504Zb9RObF9Ir_oE64&hl=en&sa=X&oi=book_result&resnum=3&ct=result#PPP1,M1
    hope it helps u,
    Thanks,
    Sai Chand.
    Edited by: sai chand on Jan 26, 2009 10:04 PM

  • How to import csv file with multiple tables into sql server

    I have multiple csv files that has one sheet but has 130 headers with each header having different data. 
    I'd like to import each one of these header rows with data into its own file in sql server. 
    I know very basic SSIS and am but am not familiar with the scripting in it though which what I assume I'd have to use. 
    Each header in the csv file is structured as such(also see example pic):
    first header would be this:                             
          ITEM = ORG_V                              
          DATE = 2013-07-22 10:00 ~ 2013-07-22 10:15      
    column names
    data
    second header would be this:
    ITEM = TER_V
          DATE = 2013-07-22 10:00 ~ 2013-07-22 10:15
    column names
    data
    The headers can be at any random row number as well as the data size in each excel file differs but they all start with "ITEM ="
    and then in the next row "DATE ="
    I could also convert these to excel files if it makes this process easier. 

    Why don't you put a filter on D3, filter out the blanks, copy/paste to a new CSV file, save it, and import it.
    There's no way you're going to get SQL to do that kind of thing for you.  The language is for set based operations, not for complex data manipulation tasks.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Importing CSV file with Data Merge Fails

    Specs
    See pasted text from CSV at http://pastebin.com/mymhugpN
    I am using InDesign CS6 (8.0.1)
    I created the CSV by downloading it from a Google Spreadsheet as a CSV. I confirm with the Terminal that the character encoding is utf-8 usnig the file command.
    Problem detailed
    I am trying to import a CSV file (utf-8) with Data Merge via the Select Data Source... command with Show Import Options checked. When viewing the Data Source Import Options dialog, I set the following options—Delimiter:Comma, Encoding:Unicode, Platform:Macintosh. I leave Preserve Spaces in Data Source unchecked. It fails to import any variables and produces no error message. I have tried other CSV files as well (created TextEdit, Espresso, etc.) and it seems that InDesign will not import any files if Unicode is specified as the encoding, no matter which other options are specified.
    Can anyone else confirm this?
    Importing as ACSII works, but obviously does not display my content correctly.

    Mike is having some trouble posting in this thread (and I am too), but he sent me a PM with what he wanted to say:
    OK. I think I might have a positive answer for you.
    I was getting lost in the upper ASCII characters you showed. In your test file I never could see any--a case of not seeing the trees for the forest.
    Your quote marks are getting dropped in your test file. Now, this may or may not affect other factors but it does in some further testing. I believe ID has an issue with dropping quote marks even in a plain ASCII file if the marks are at the beginning of a sentence and the file is tab delimited. Call it a bug.
    Because of all the commas and quote marks in your simple file, I think you should be exporting from Google Docs' spreadsheet as a tab-delimited file. This exported file has to be opened in a text editor capable of saving it out as a UTF-16 BE (Big Endian) type of file.
    Also, I think you are going to have to use proper quote marks throughout, or change them in the exported tab-delimited file. Best to have a correct source, though.
    Here is your sample ZIPped up. I think it works properly. But then again, I think I might be bleary-eyed by now.
    http://www.wenzloffandsons.com/temp/merge_psalms_utf-16.zip
    Take care, Mike

  • How to read a file with data in Hierarchical Structure using XSD Schema

    Hi
    We have requirement in which we have to read a FIXED LENGTH file with FILE ADAPTER. File contains the data in hierarchical structure. Hierarchy in the file is identified by the first 3 characters of every line which could be any of these : 000,001,002,003 and 004. Rest files are followed after these. So structure is like:
    000 -- Header of File. Will come only once in file. Length of this line is 43 characters
    -- 001 -- Sub Header. Child for 000. Can repeat in file. Length of this line is 51 characters
    --- 002 -- Detail record. Child for 001. Can repeat multiple times in given 001. Length of this line is 43 characters 1353
    -- 003 -- Sub Footer record at same level of 001. Will always come once with 001 record. Child for 000. Length of this line is 48 characters
    004 -- Footer of file.At same level of 000. Will come only once in file. Length of this line is 48 characters
    Requirement is to create an XSD which should validate this Hierarchical Structure also i.e data should come in this hierarchy only else raise an error while parsing the file.
    Now while configuring the FILE ADAPTER to read this file we are using Native Schema UI to create the XSD to parse this structure using an example data file. But we are not able to create a valid XSD for this file which should validate the Hierarchy also on the file.
    Pls provide any pointers or solution for this.
    Link to download the file, file structure details and XSD that we have created:
    https://docs.google.com/file/d/0B9mCtbxc3m-oUmZuSWRlUTBIcUE/edit?usp=sharing
    Thanks
    Amit Rattan
    Edited by: user11207269 on May 28, 2013 10:16 PM
    Edited by: user11207269 on May 28, 2013 10:31 PM
    Edited by: user11207269 on May 28, 2013 10:33 PM

    Heloo.. Can anyone help me on this. I need to do Hierarchial read / validation while reading the file using File Adapter using Native XSD schema.

  • How to import whole database (with data) from remote server?

    I am using oracle sql developer 2.1. Our main database server is in USA, we use this from Bangladesh. We also a local copy here time to time updataed.
    Is there any way copy or migrate the whole database with data from usa server to our local serve using sql developer 2.1?
    we use windows server 2003 service pack 2 in local server.

    I replied to you in Import Data wizard not found and stand by my suggestions.
    Regards,
    K.

  • Save listbox items to file with date in filename

    Im trying to setup a small program to where when you save listbox items, it saves to a file with a specific name. All works fine, no problems.  What I need to do is hen you click save, it saves the file with the specific name BUT with the date &
    time added to the filename. 
    Example: filename-date-time.txt
    Currently, Im only able to save as  filename.txt
    So when you save the list again, it just overwrites the file already there.
    Here is what I have:
    IO.Directory.CreateDirectory("C:\foldername")
    Dim w As New IO.StreamWriter("C:\foldername\filename.txt")
    Dim i As Integer
    For i = 0 To ListBox1.Items.Count - 1
    w.WriteLine(ListBox1.Items.Item(i))
    Next
    w.Close()
    MsgBox("List has been saved to C:\foldername\filename.txt", MsgBoxStyle.OkOnly)
    What do I need to add to this line: Dim w As New IO.StreamWriter("C:\foldername\filename.txt")   So that it can save it with the date & time?

    Dim w As New IO.StreamWriter("C:\foldername\filename " & Now.ToString(" MM/dd/yyyy hh:mm:ssf") & ".txt")
    Custom Date and Time Format Strings
    Format specifier
    Description
    Examples
    "d"
    The day of the month, from 1 through 31.
    More information:
    The "d" Custom Format Specifier.
    2009-06-01T13:45:30 -> 1
    2009-06-15T13:45:30 -> 15
    "dd"
    The day of the month, from 01 through 31.
    More information:
    The "dd" Custom Format Specifier.
    2009-06-01T13:45:30 -> 01
    2009-06-15T13:45:30 -> 15
    "ddd"
    The abbreviated name of the day of the week.
    More information:
    The "ddd" Custom Format Specifier.
    2009-06-15T13:45:30 -> Mon (en-US)
    2009-06-15T13:45:30 -> Пн (ru-RU)
    2009-06-15T13:45:30 -> lun. (fr-FR)
    "dddd"
    The full name of the day of the week.
    More information:
    The "dddd" Custom Format Specifier.
    2009-06-15T13:45:30 -> Monday (en-US)
    2009-06-15T13:45:30 -> понедельник (ru-RU)
    2009-06-15T13:45:30 -> lundi (fr-FR)
    "f"
    The tenths of a second in a date and time value.
    More information:
    The "f" Custom Format Specifier.
    2009-06-15T13:45:30.6170000 -> 6
    2009-06-15T13:45:30.05 -> 0
    "ff"
    The hundredths of a second in a date and time value.
    More information:
    The "ff" Custom Format Specifier.
    2009-06-15T13:45:30.6170000 -> 61
    2009-06-15T13:45:30.0500000 -> 00
    "fff"
    The milliseconds in a date and time value.
    More information:
    The "fff" Custom Format Specifier.
    6/15/2009 13:45:30.617 -> 617
    6/15/2009 13:45:30.0005 -> 000
    "ffff"
    The ten thousandths of a second in a date and time value.
    More information:
    The "ffff" Custom Format Specifier.
    2009-06-15T13:45:30.6175000 -> 6175
    2009-06-15T13:45:30.0000500  -> 0000
    "fffff"
    The hundred thousandths of a second in a date and time value.
    More information:
    The "fffff" Custom Format Specifier.
    2009-06-15T13:45:30.6175400 -> 61754
    6/15/2009 13:45:30.000005 -> 00000
    "ffffff"
    The millionths of a second in a date and time value.
    More information:
    The "ffffff" Custom Format Specifier.
    2009-06-15T13:45:30.6175420 -> 617542
    2009-06-15T13:45:30.0000005 -> 000000
    "fffffff"
    The ten millionths of a second in a date and time value.
    More information:
    The "fffffff" Custom Format Specifier.
    2009-06-15T13:45:30.6175425 -> 6175425
    2009-06-15T13:45:30.0001150 -> 0001150
    "F"
    If non-zero, the tenths of a second in a date and time value.
    More information:
    The "F" Custom Format Specifier.
    2009-06-15T13:45:30.6170000 -> 6
    2009-06-15T13:45:30.0500000 -> (no output)
    "FF"
    If non-zero, the hundredths of a second in a date and time value.
    More information:
    The "FF" Custom Format Specifier.
    2009-06-15T13:45:30.6170000 -> 61
    2009-06-15T13:45:30.0050000 -> (no output)
    "FFF"
    If non-zero, the milliseconds in a date and time value.
    More information:
    The "FFF" Custom Format Specifier.
    2009-06-15T13:45:30.6170000 -> 617
    2009-06-15T13:45:30.0005000 -> (no output)
    "FFFF"
    If non-zero, the ten thousandths of a second in a date and time value.
    More information:
    The "FFFF" Custom Format Specifier.
    2009-06-15T13:45:30.5275000 -> 5275
    2009-06-15T13:45:30.0000500 -> (no output)
    "FFFFF"
    If non-zero, the hundred thousandths of a second in a date and time value.
    More information:
    The "FFFFF" Custom Format Specifier.
    2009-06-15T13:45:30.6175400 -> 61754
    2009-06-15T13:45:30.0000050 -> (no output)
    "FFFFFF"
    If non-zero, the millionths of a second in a date and time value.
    More information:
    The "FFFFFF" Custom Format Specifier.
    2009-06-15T13:45:30.6175420 -> 617542
    2009-06-15T13:45:30.0000005 -> (no output)
    "FFFFFFF"
    If non-zero, the ten millionths of a second in a date and time value.
    More information:
    The "FFFFFFF" Custom Format Specifier.
    2009-06-15T13:45:30.6175425 -> 6175425
    2009-06-15T13:45:30.0001150 -> 000115
    "g", "gg"
    The period or era.
    More information:
    The "g" or "gg" Custom Format Specifier.
    2009-06-15T13:45:30.6170000 -> A.D.
    "h"
    The hour, using a 12-hour clock from 1 to 12.
    More information:
    The "h" Custom Format Specifier.
    2009-06-15T01:45:30 -> 1
    2009-06-15T13:45:30 -> 1
    "hh"
    The hour, using a 12-hour clock from 01 to 12.
    More information:
    The "hh" Custom Format Specifier.
    2009-06-15T01:45:30 -> 01
    2009-06-15T13:45:30 -> 01
    "H"
    The hour, using a 24-hour clock from 0 to 23.
    More information:
    The "H" Custom Format Specifier.
    2009-06-15T01:45:30 -> 1
    2009-06-15T13:45:30 -> 13
    "HH"
    The hour, using a 24-hour clock from 00 to 23.
    More information:
    The "HH" Custom Format Specifier.
    2009-06-15T01:45:30 -> 01
    2009-06-15T13:45:30 -> 13
    "K"
    Time zone information.
    More information:
    The "K" Custom Format Specifier.
    With DateTime values:
    2009-06-15T13:45:30, Kind Unspecified ->
    2009-06-15T13:45:30, Kind Utc -> Z
    2009-06-15T13:45:30, Kind Local -> -07:00 (depends on local computer settings)
    With DateTimeOffset values:
    2009-06-15T01:45:30-07:00 --> -07:00
    2009-06-15T08:45:30+00:00 --> +00:00
    "m"
    The minute, from 0 through 59.
    More information:
    The "m" Custom Format Specifier.
    2009-06-15T01:09:30 -> 9
    2009-06-15T13:29:30 -> 29
    "mm"
    The minute, from 00 through 59.
    More information:
    The "mm" Custom Format Specifier.
    2009-06-15T01:09:30 -> 09
    2009-06-15T01:45:30 -> 45
    "M"
    The month, from 1 through 12.
    More information:
    The "M" Custom Format Specifier.
    2009-06-15T13:45:30 -> 6
    "MM"
    The month, from 01 through 12.
    More information:
    The "MM" Custom Format Specifier.
    2009-06-15T13:45:30 -> 06
    "MMM"
    The abbreviated name of the month.
    More information:
    The "MMM" Custom Format Specifier.
    2009-06-15T13:45:30 -> Jun (en-US)
    2009-06-15T13:45:30 -> juin (fr-FR)
    2009-06-15T13:45:30 -> Jun (zu-ZA)
    "MMMM"
    The full name of the month.
    More information:
    The "MMMM" Custom Format Specifier.
    2009-06-15T13:45:30 -> June (en-US)
    2009-06-15T13:45:30 -> juni (da-DK)
    2009-06-15T13:45:30 -> uJuni (zu-ZA)
    "s"
    The second, from 0 through 59.
    More information:
    The "s" Custom Format Specifier.
    2009-06-15T13:45:09 -> 9
    "ss"
    The second, from 00 through 59.
    More information:
    The "ss" Custom Format Specifier.
    2009-06-15T13:45:09 -> 09
    "t"
    The first character of the AM/PM designator.
    More information:
    The "t" Custom Format Specifier.
    2009-06-15T13:45:30 -> P (en-US)
    2009-06-15T13:45:30 -> 午 (ja-JP)
    2009-06-15T13:45:30 ->  (fr-FR)
    "tt"
    The AM/PM designator.
    More information:
    The "tt" Custom Format Specifier.
    2009-06-15T13:45:30 -> PM (en-US)
    2009-06-15T13:45:30 -> 午後 (ja-JP)
    2009-06-15T13:45:30 ->  (fr-FR)
    "y"
    The year, from 0 to 99.
    More information:
    The "y" Custom Format Specifier.
    0001-01-01T00:00:00 -> 1
    0900-01-01T00:00:00 -> 0
    1900-01-01T00:00:00 -> 0
    2009-06-15T13:45:30 -> 9
    2019-06-15T13:45:30 -> 19
    "yy"
    The year, from 00 to 99.
    More information:
    The "yy" Custom Format Specifier.
    0001-01-01T00:00:00 -> 01
    0900-01-01T00:00:00 -> 00
    1900-01-01T00:00:00 -> 00
    2019-06-15T13:45:30 -> 19
    "yyy"
    The year, with a minimum of three digits.
    More information:
    The "yyy" Custom Format Specifier.
    0001-01-01T00:00:00 -> 001
    0900-01-01T00:00:00 -> 900
    1900-01-01T00:00:00 -> 1900
    2009-06-15T13:45:30 -> 2009
    "yyyy"
    The year as a four-digit number.
    More information:
    The "yyyy" Custom Format Specifier.
    0001-01-01T00:00:00 -> 0001
    0900-01-01T00:00:00 -> 0900
    1900-01-01T00:00:00 -> 1900
    2009-06-15T13:45:30 -> 2009
    "yyyyy"
    The year as a five-digit number.
    More information:
    The "yyyyy" Custom Format Specifier.
    0001-01-01T00:00:00 -> 00001
    2009-06-15T13:45:30 -> 02009
    "z"
    Hours offset from UTC, with no leading zeros.
    More information:
    The "z" Custom Format Specifier.
    2009-06-15T13:45:30-07:00 -> -7
    "zz"
    Hours offset from UTC, with a leading zero for a single-digit value.
    More information:
    The "zz" Custom Format Specifier.
    2009-06-15T13:45:30-07:00 -> -07
    "zzz"
    Hours and minutes offset from UTC.
    More information:
    The "zzz" Custom Format Specifier.
    2009-06-15T13:45:30-07:00 -> -07:00
    The time separator.
    More information:
    The ":" Custom Format Specifier.
    2009-06-15T13:45:30 -> : (en-US)
    2009-06-15T13:45:30 -> . (it-IT)
    2009-06-15T13:45:30 -> : (ja-JP)
    The date separator.
    More Information:
    The "/" Custom Format Specifier.
    2009-06-15T13:45:30 -> / (en-US)
    2009-06-15T13:45:30 -> - (ar-DZ)
    2009-06-15T13:45:30 -> . (tr-TR)
    "string"
    'string'
    Literal string delimiter.
    2009-06-15T13:45:30 ("arr:" h:m t) -> arr: 1:45 P
    2009-06-15T13:45:30 ('arr:' h:m t) -> arr: 1:45 P
    Defines the following character as a custom format specifier.
    More information: Using Single Custom Format Specifiers.
    2009-06-15T13:45:30 (%h) -> 1
    The escape character.
    2009-06-15T13:45:30 (h \h) -> 1 h
    Any other character
    The character is copied to the result string unchanged.
    More information:
    Using the Escape Character.
    2009-06-15T01:45:30 (arr hh:mm t) -> arr 01:45 A
    La vida loca
    gives error when trying save.
    The given path's format is not supported.

  • How to import CR2 files with XMP files?

    I'm using LR 1.4.1 on a Vista platform (with service pack 1). Last week my OS got corrupted and I had to reinstall everything.
    So I'm trying to get my catalog back into LR but am having a lot of trouble. When I try to open LR using the latest backup of the catalog, it only opens certain files. All others show up as a grey preview.
    Frustrated at this not working, I decided to just import the CR2 files from my external HD. Problem with this is that it's not bringing in ANY of the develop settings. So all of my edits are gone. This is going to cost me hours and hours and days of time to redo.
    I have several clients waiting on orders, galleries, etc and I'm at my wit's end on how to fix all this! Can anyone help me?
    Thanks,
    Annie

    > All others show up as a grey preview
    Do you mean grey boxes as thumbnails or are images grey in loupe or develop module? If it's grey thumbnails, then it's because there are no preview files generated. Generating standard previews (or 1:1 previes) should fix it. If Develop module shows images as grey then I have no idea.

  • How to Import Website File with Live Links?

    I recently switched to a brand new MacBook Pro laptop and couldn't be happier. The last thing I need to migrate from Windows is my website, and I've run into a hitch.
    I originally did the website in MS Word, and saved as doc type HTML, and used FTP to upload it. Not super-techie, but I'm not a web designer, and it worked to handle the basic text website.
    For importing to iWeb, I've simply copied and pasted directly from the website, and that's worked okay, because most of the hyperlinks on the pages are to other pages on the site.
    The problem page is the podcast page. For each podcast, there's a text block of live links to the topics/people/places discussed in that episode. When I copy and paste it into iWeb, the links are no longer live.
    I can't spend the hours and hours it would take to recreate the hundreds of links, even if I wanted to.
    The page is http://www.tarot-to-go.net/podcasts.html
    Is there a way to import the live links?
    MacBook Pro   Mac OS X (10.4.8)  

    Hm, I'm not getting the same results when I copy and paste it into a text box into iWeb - I get blocks of text, but none of the links are live. Is there a setting somewhere I'm missing?
    Here's the updated URL of the page:
    http://www.tarot-to-go.net/podcasts1.html

  • How to convert flat file type from DAT to ASC

    hello all
    i am trying to download a flat file and trying  to upload it in another program.
    for this i am using gui_upload and gui_download function modules.
    if i download the file as ASC and upload with ASC there is no problem.
    if i download the file as DAT and upload with DAT its giving an exception invalid file type
    if i download the file as DAT and upload with  ASC  its giving an exception bad data format.
    but in real senario my customer is sending a flat file with DAT type and i am unable to upload it.
    how to solve this problem?

    Hi,
    when uploading DAT pass file type as 'ASC' and give HAS_FIELD_SEPARATOR  = 'X'.
    For other types see the code below.
    CASE P_RECTYP.
       WHEN 'DAT'.
         MOVE 'X' TO L_FLDSEP.
         MOVE 'ASC' TO L_TYPE.
       WHEN 'ASC'.
          MOVE ' ' TO L_FLDSEP.
          MOVE P_RECTYP TO L_TYPE.
       WHEN 'BIN'.
           CLEAR L_TYPE.
         MOVE P_RECTYP TO L_TYPE.
         MOVE ' ' TO L_FLDSEP.
       WHEN OTHERS.
        MOVE 'X'  TO L_FLDSEP.
        MOVE 'ASC' TO L_TYPE.
    ENDCASE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
       FILENAME                      = LV_FILENAME
       FILETYPE                      = l_type
       HAS_FIELD_SEPARATOR           = l_fldsep
    Regards,
    Vasanth

  • How to parse a flat file with C#

    I need to parse a flat file with data that looks like
    01,1235,555
    02,2135,558
    16,156,15614
    16,000,000
    You get the idea. Anyway, I'd like to just used a derived column and move on except I need to put a line number on each row as it comes by so the end looks like,
    1,01,1235,555
    2,02,2135,558
    3,16,156,15614
    4,16,000,000
    I'm trying to do with a script transformation but I can't seem to get the hang of the syntax. I've tried looking at various examples but everybody seems to prefer VB and I'd like to keep all of my packages C#. I've set up my input and my output columns I just
    need to figure out how to write the code that says something like:
    row_number = 1
    line_number = row_number
    record_type = input.split.get the second data element
    data_point_1 = input.split.get the third data element
    row_number = row_number ++

    /* Microsoft SQL Server Integration Services Script Component
    * Write scripts using Microsoft Visual C# 2008.
    * ScriptMain is the entry point class of the script.*/
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
    using Microsoft.SqlServer.Dts.Runtime.Wrapper;
    [Microsoft.SqlServer.Dts.Pipeline.SSISScriptComponentEntryPointAttribute]
    public class ScriptMain : UserComponent
    private int rowCounter = 0;
    // Method that will be started before the rows start to pass
    public override void PreExecute()
    base.PreExecute();
    // Lock variable for read
    VariableDispenser variableDispenser = (VariableDispenser)this.VariableDispenser;
    variableDispenser.LockForRead("User::MaxID");
    IDTSVariables100 vars;
    variableDispenser.GetVariables(out vars);
    // Fill the internal variable with the value of the SSIS variable
    rowCounter = (int)vars["User::MaxID"].Value;
    // Unlock variable
    vars.Unlock();
    // Method that will be started for each record in you dataflow
    public override void Input0_ProcessInputRow(Input0Buffer Row)
    // Seed counter
    rowCounter++;
    // Fill the new column
    Row.MaxID = rowCounter;
    Here is a script to get an incremental ID. On the ReadWriteVariables of the script add the "User::MaxID" variables to get the last number. On the Inputs and Outputs tab, create an output column  here in the code it's MaxID numeric data types.

Maybe you are looking for

  • How do I contact support? Have email receipt for magazine subscription renewal on iPad - can't activate!!

    I received a receipt from iTunes for two items: a subscription to the series 48 Hours, and a renewal of my subscription to the magazine Reader's Digest. 48 Hours works fine. Reader's Digest I can't get into. I press the gear in the upper right corner

  • Unable to Install Framemaker 10 on Windows 7

    I am trying to install Framemaker 10 (x64) on a Windows 7 computer. I have already uninstalled my previous Framemaker 7 version. Even after that i could notice the following error messages in the log file. Collected advanced path check information fo

  • In-ear headphones

    Having a problem with the right side of the in-ear headphones going dead -- no audio -- at some times, and then and other times both sides work fine. Anyone else experiencing or addressing this?

  • Provisioning team number

    Hi, I have tried to have a phone line installed but there was a problem with the phone pole that needs BT to sort, I got through to the provisioning team on Monday and they said they would call me back yesterday with some info but they didn't. What's

  • How to embed a font air Android App????

    Hi, im new to this forum so please forgive me if i question in the wrong section. I am Beginner and am working on an air android game in flash cs6.. i need embed fonts please help me sort out htis problem..