Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: How to know that error occurs during the transformation in batch mode with pan ?

  1. #1
    Join Date
    Sep 2005
    Posts
    1,403

    Default How to know that error occurs during the transformation in batch mode with pan ?

    Is there a way to know (for exemple 0: ok, other: errros ) when using pan on windows. The fact is I need to automat the fact on knowing that the transformation ended succefully on not.
    Thanks in advance for the response.

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default RE: How to know that error occurs during the transformation in batch mode with pan ?

    OK, The way I worked up until now was to check for the occurance of ERROR in the log.
    However, I can imagine that you might want to have the return code under *nix systems.
    Therefor, I just commited a small change to Pan, returning the following codes:

    9: Options printed only
    8: Plugins and steps could not loaded
    7: Transformation could not be loaded
    2: Unexpected error (Pan crash)
    1: Error during transformation
    0: OK

    Grab the latest kettle.jar from the "Development packages" directory.
    Place this one in your lib/ directory.

    All the best,

    Matt

  3. #3
    Join Date
    Nov 1999
    Posts
    9,729

    Default RE: How to know that error occurs during the transformation in batch mode with pan ?

    The same goes for Kitchen.

  4. #4
    Join Date
    Sep 2005
    Posts
    1,403

    Default RE: How to know that error occurs during the transformation in batch mode with pan ?

    Thanks a lot!
    I will try later.
    ppa

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.