internal.job.filename.directory and internal.transformation.filename.directory in Pentaho

We will discuss about two built-in variables of Pentaho which most of the developers are not aware of or they don’t use these variables so often in their coding. These variables are Internal.Job.Filename.Directory and Internal.Transformation.Filename.Directory.

Designed one Job which has further sub-jobs. See the SS for the same.

Here, you can see there is parent-job which has sub jobs (start-job.kjb and job 2). The parent job is present at location C:\AS2\ as seen in below image.

Now, right click on start-job and go to Edit, as it is clearly seen in below image that internal.job.filename.directory is pointing to the same directory where parent-job is located.

So, if you have sub jobs inside the parent job  in your ETL code  and  you want to keep the location of sub jobs same as that of parent job , then you should use these variables. Same way, in case of transformations as well. As we can design transformations inside  the parent transformation and hence utilize the variable Internal.Transformation.Filename.Directory.


Hotels [CPS] IN
Now , if we execute the parent-job using these variables, it runs successfully. See the image for the same.

 

I have checked in the code for above example in the git. Below is the URL.

https://github.com/Karan-Arora-13/technicalstuff

 

Related posts

13 Thoughts to “internal.job.filename.directory and internal.transformation.filename.directory in Pentaho”

  1. Its going to be finish of mine day, but before finish I am reading this great paragraph to improve my knowledge.
    cam girl amateur

  2. I have study much on the topic of free of charge blogging sites, but I have no clear idea on the topic of that, can any one advise me which one is most excellent in favor of free blogging and site-building?
    http://www.nashi-progulki.ru/bitrix/redirect.php?event1=&event2=&event3=&goto=http%3A%2F%2Frexuiz.top%2F

    http://orshop.top/
    http://onews.life/
    http://toy-shop.top/

    https://twitter.com/choise_hard

  3. Everyone loves it when folks get together and share ideas.

    Great site, keep it up!

  4. I don’t even know how I ended up here, but I thought this post was
    great. I don’t know who you are but definitely you are going to
    a famous blogger if you are not already 😉 Cheers!

  5. I am now not certain where you are getting your info,
    but good topic. I needs to spend a while studying more or
    understanding more. Thanks for great information I used to be looking for this info for my mission.

  6. An impressive share! I’ve just forwarded this onto a friend who was conducting a little research
    on this. And he in fact ordered me lunch due to the fact that I found it for him…

    lol. So let me reword this…. Thank YOU for the meal!!
    But yeah, thanks for spending the time to talk about this topic here on your internet site.

  7. What’s Going down i’m new to this, I stumbled upon this I’ve
    found It positively useful and it has aided me out loads.
    I am hoping to give a contribution & assist different customers
    like its helped me. Good job.

  8. Pretty component to content. I simply stumbled upon your site and in accession capital
    to say that I get in fact loved account your blog posts.
    Any way I will be subscribing to your augment or even I success you get entry to consistently quickly.

  9. No matter if some one searches for his necessary thing, therefore he/she desires to
    be available that in detail, so that thing is maintained over here.

Comments are closed.