Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Problem in transformation

  1. #1
    Join Date
    Apr 2008
    Posts
    20

    Default Problem in transformation

    Hi all,

    I have a small challenge with a transformation I want to set up... I am recieving a file containing to filenames. For each row, I need to copy the files into a folder, then call an external program to produce a pdf file. Then remove the source files again before the new row is processed.

    It is easy to get to the point where the two files are ready for the external process, which is a plain .bat file that needs to be run.

    I can see how I can execute it in the job, but I can not acess the data on row basis from the job?

    I was looking for a way of executing the batch file from within the javascript engine, but no luck yet... any help?/ideas?

  2. #2

    Default

    Use Shell step in your job and check "Execute for every input row?".
    Then the shell/command line step is executed for your two file names.

    Christoph
    21 is only half the truth

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.