Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Variable in Filename

  1. #1
    Join Date
    Apr 2007
    Posts
    21

    Default Variable in Filename

    I extract from filenames from a directory the follwing data:

    11012008
    10012008
    09012008
    08012008

    I send this data with copy rows to result in a job to a next transformation. The next transformation (attached problem.ktr) ist set to "execute for every input row" and "Clear list before executing". This works. I will now use this date value in the new filename. I have a set variables in transformation problem.ktr and this works if I look on my log.
    But it will write only 1 or 2 files and uses 1 value of this 4. It seems that the set variable is not used or ...

    I use Kettle 3.0.1.

    Can somebody give me a hint what I do wrong or give me a differnt solution?

    Many regards
    Volker
    Attached Files Attached Files

  2. #2

    Default

    What we are trying to do could not be properly that way.
    The first time you took your transformation is executed correctly and the values it into variables meeting but these variables are not available at this first performance yet what the name of your file would look like: "file_get_ $ () DAT. TXT ".
    The second time entering the execution session variable is updated but not yet available as the filename has the date of the race earlier.

    We first have to put up variables meeting before creating your files.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.