Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Header and footer

  1. #1

    Default Header and footer

    Hi, I'd like to take data from a file, to transform it and to write it in an other file. Is it possible to have the same header and footer in my new file that I have in the first file?
    Thx.
    Anaïs.

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Probably not in an easy way, depends on what you exactly mean.

    Kettle is a kind of hub-and-spoke tool... everything on input side is transformed to rows, other steps transform data and the output transforms rows to database rows, files, ...

    So if you "skip" the header and footer in the input step (which you probably do), you will never get them at the output side in an easy way.

    Ways around it:
    - cut your header and footer off the file, make the data with Kettle and run e.g. a shell job entry to concatenate them together to 1 output file.
    - ... other dirty tricks.

    Regards,
    Sven

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.