Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: load properties file with Jscript - little problem

  1. #1

    Question load properties file with Jscript - little problem

    Dear everybody:
    i'm using properties file to call enviroment variable (or global variable, i don't know the correct words).
    This transformation (Properties input steps and Javascript steps) function correctly in Dababase Connection (For example, i have a variable called IP_ADRES_DB=xx.xx.xx.xxx and the database is connected Ok) but if i call some file with wilcard in Regular Expression, the steps don't read the file.

    Is normally this? This happens in Get FIle Name steps. I'm using vataiable in folder and wilcard, and, folder is Ok, wilcard, not ok.


    Can you help me or explain me?

    important is the this steps available the variable.

    I'm using the 4.2 Kettle version.

    Delia

  2. #2

    Default

    any comment will be well, thanks!

  3. #3
    Join Date
    Apr 2008
    Posts
    1,771

    Default

    Hi.
    Do you use a variable to look for a specific set of files?
    Can you give us an example of the files that you want to read and which option you use in your Get File Name step?

    Mick

  4. #4

    Post

    The idea is use variable to configurate IP, email addres, database name - user - pw, wilcard and path to call files, etc... with out open the job or transformation. Then, you can modify the properties file.

    Attach my transformation and properties file.

    Thanks!

    U_Emis_ABCDIN.rarABCDIN_C_KTR_Prop.rar

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.