Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: UNC in param to Kitchen

  1. #1
    Join Date
    Nov 2017
    Posts
    11

    Default UNC in param to Kitchen

    Hi,

    I'm trying to setup a Kitchen command to run my job. The params I'm passing are paths, and I want to pass them using UNC.

    When I pass the param using UNC:

    kitchen.bat "/file:"C:\Users\foxburn\Documents\Reports\PDI\ReportAutomation.kjb" "/param:file_share=\\hmic.local\Resources\Reports\Dev1\GLBalancing" "/param:report_list_location=\\hmic.local\Resources\Reports\Dev1\GLBalancing\Files\Input"

    I get the following error:
    Name:  error.jpg
Views: 44
Size:  11.8 KB

    Is there some “trick” to using UNC in this context? Or am I just doing it wrong?

    Thanks,

    Burnie

  2. #2
    Join Date
    Apr 2008
    Posts
    4,696

    Default

    I've found UNC to not be reliable in PDI.
    Where ever possible, I replace it with a Map, PDI, Unmap sequence.

    You could try (No promises that it will work!)

    kitchen.bat "/file:"C:\Users\foxburn\Documents\Reports\PDI\ReportAutomation.kjb" "/param:file_share=file://hmic.local/Resources/Reports/Dev1/GLBalancing/" "/param:report_list_location=file://hmic.local/Resources/Reports/Dev1/GLBalancing/Files/Input"

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.