Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: Shell Script

  1. #1
    Join Date
    Sep 2007
    Posts
    24

    Unhappy Shell Script

    hello all
    i use shell script in a Job to move a file from a directory to another.
    when i run the Job it runs succesfuly, but it didn't move the file.
    i checked the script it's 100% true.

    the procedure is like the following:
    the Job starts, then it checks for the file, then if the file exists it gos to the next step which is the sheel script.

    can anybody please give me a solution ?

    thankx to all.

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

    Default

    Hi Mustafa,

    Can you tell us a bit more, perhaps attach the job you're working on?
    A screen shot and/or a detailed log is always welcome too.

    All the best,

    Matt

  3. #3
    Join Date
    Sep 2007
    Posts
    24

    Smile

    hello Matt and thank u so much for ur concern.
    attached is my Job that u asked me for.
    i hope to hear from u soon.
    thank u so much and have a nice day.
    Attached Files Attached Files

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

    Default

    Hi Mustafa,

    This is the file you check:

    Code:
    ${Internal.Job.Filename.Directory}${file.separator}${emp2.xls}
    Make sure that variable "emp2.xls" is set correctly. (perhaps it's a typo?)
    If you want to see what goes on behind the screens, set the logging level to detailed.

    Hope this help!

    Have a nice day too,

    Matt

    P.S. What version are you using?

  5. #5
    Join Date
    Sep 2007
    Posts
    24

    Arrow it's not a typo!!

    hello again Matt,
    well, i checked the set variable step and i don't think it's a typo.
    anyway i'm attaching the file for u to check if u would like to.
    i don't know how to thank for ur help.
    have a nice day.

    Mustafa
    Attached Files Attached Files

  6. #6
    Join Date
    Sep 2007
    Posts
    24

    Default 2.5.1

    i forgot to tell that i'm using version 2.5.1

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

    Default

    I'm running out of time, I'll check later tonight.

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.