Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Newbie needs some help with parameters

  1. #1
    Join Date
    Feb 2015
    Posts
    3

    Default Newbie needs some help with parameters

    Hi guys, Hope this is the right place for this. I've been asked to develop a Kettle using Pentaho Data Transformation that will kick off a script and then pull data out of a table and export it to excel. The process needs to take two parameters (lets say AccountNumber and Date). I know how to pull data to Excel using Table Input query and the Microsoft Excel Writer, but the problem is I need some complicated steps to happen before the Input Query kicks off, which involves some truncating of tables, multiple SQL blocks, and so on. And the parameters have to be passed to that first step.

    I assume I would use the Execute SQL Script step, but I have no idea how to set the variables prior to the run of this step, nor be sure they are used throughout the process as the same ones will be needed when I do the Table Input. I get the launch window where I can set the vaiables there, but don't see how they would be assigned in the SQL Script part.

    Any ideas? Many thanks ahead of time.

  2. #2
    Join Date
    Feb 2015
    Posts
    3

    Default

    Anyone?

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.