Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Unzip job invocation

  1. #1
    Join Date
    Dec 2007
    Posts
    5

    Default Unzip job invocation

    Hello,
    I am looking for the most efficient way to unzip a group of files with Unzip Job,
    It seems that it takes only one filename as parameter.
    How should I use it to process many files (e.g. using wildcards).
    Best regards
    Nara

  2. #2

    Default

    Hi Nara,

    At this time, the only way is to use 2 jobS:

    Start --> Job A --> Job B

    In job B : check "Copy previous result to arg?" and "Execute for every input row?"

    Job A:
    _____

    Start --> Trans A

    Trans A = Getfilesname --> send rows to result

    Job B:
    _____

    Start --> Trans B --> Unzip

    with Trans B = Get rows from result --> create variable var

    In Unzip files job entry, use variable var in Zip file name


    You can also post a CRQ (Good idea).

    Rgds

    Samatar

  3. #3
    Join Date
    Dec 2007
    Posts
    5

    Default

    Thanks, Samatar.
    This way works.

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.