LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  How to create a file per record.

    Employee
    Posted 06-04-2014 20:23

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Patman

    How do you create a single file per record whereby the filename and content are in the fields?


    Records:

    FILENAME, CONTENT
    aaa.txt, content1
    bbb.txt, content2
    ccc.txt, content3


    Given these records, I would like to create 3 files having their corresponding contents.


  • 2.  RE: How to create a file per record.

    Employee
    Posted 06-06-2014 14:24

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: xathras

    Patman, how many records do you expect in your input to filenames. Just as a warning you'll be using one of the most expensive operations so if you have lots its going to be intensive.


  • 3.  RE: How to create a file per record.

    Employee
    Posted 06-06-2014 21:39

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Patman

    hi xthras, records will be 1 to 5, at most. Is there a way?


  • 4.  RE: How to create a file per record.

    Employee
    Posted 06-27-2014 20:53

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: xathras

    What kind of file do you expect, csv etc? and it literally will be per line of your output?