Getting information about transformations and jobs (file-based)

The transformations and jobs are files with .ktr and .kjb extensions, but are, in fact, well-formed XML documents. You can open these files with a text editor to see their structures. You could take advantage of this feature to process some information within these files. Let's look at an example: assume that you want to lookup the Modified Java Script Value steps. You want to know where and how many of these steps are there because you want to replace them with a User defined Java Class step, which provides better performance.

Getting ready

In order to use this recipe, you need a directory with a set of transformations, some of them including the Modified Java Script Value steps. The ...

Get Pentaho Data Integration Cookbook Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.