Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Pentaho Data Integration 8 CE - Third Edition

You're reading from  Learning Pentaho Data Integration 8 CE - Third Edition

Product type Book
Published in Dec 2017
Publisher Packt
ISBN-13 9781788292436
Pages 500 pages
Edition 3rd Edition
Languages

Table of Contents (23) Chapters

Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
1. Getting Started with Pentaho Data Integration 2. Getting Started with Transformations 3. Creating Basic Task Flows 4. Reading and Writing Files 5. Manipulating PDI Data and Metadata 6. Controlling the Flow of Data 7. Cleansing, Validating, and Fixing Data 8. Manipulating Data by Coding 9. Transforming the Dataset 10. Performing Basic Operations with Databases 11. Loading Data Marts with PDI 12. Creating Portable and Reusable Transformations 13. Implementing Metadata Injection 14. Creating Advanced Jobs 15. Launching Transformations and Jobs from the Command Line 16. Best Practices for Designing and Deploying a PDI Project

Supplying named parameters and variables


In Chapter 12, Creating Portable and Reusable Transformations, you learned how to parameterize transformations with Named Parameters. In Chapter 14, Creating Advanced Jobs, you revisited the concept but used the parameters in Jobs.

In Spoon, you specify the named parameters in the Parameters box. The window shows you the name of the defined named parameters for you to fill in the values or leave the defaults. From the Terminal window, you provide the values as part of the Pan or Kitchen command line. The syntax that you have to use is as follows:

/param:<parameter name>=<parameter value>

For example, you have a named parameter called REPORT_FOLDER and you want to give the parameter the value my_reports. The following screenshot shows you how you can provide that value in Spoon:

Providing named parameters in Spoon

This is how you do the same as part of a Pan or Kitchen command:

/param:"REPORT_FOLDER=c:\my_reports"

As you know, named parameters...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}