<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Generate multiple jobs from Jobscript in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Generate-multiple-jobs-from-Jobscript/m-p/2347241#M114518</link>
    <description>I have found out that the commandline interface will allow us to generate jobs from jobscripts (subscription version only).
&lt;BR /&gt;
&lt;BR /&gt;Only question remaining is : How do we generate jobs is a specified sub directory of a talend project?</description>
    <pubDate>Mon, 18 Sep 2017 14:14:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-18T14:14:48Z</dc:date>
    <item>
      <title>Generate multiple jobs from Jobscript</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-multiple-jobs-from-Jobscript/m-p/2347240#M114517</link>
      <description>&lt;P&gt;I'm currently generating a number of jobs in jobscript, and would like to automatically convert them to Talend Jobs.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I know that you can right-click the jobscript and generate a job, but is there any way to automate this, including Directory paths within the project tree?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 13:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-multiple-jobs-from-Jobscript/m-p/2347240#M114517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-18T13:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Generate multiple jobs from Jobscript</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-multiple-jobs-from-Jobscript/m-p/2347241#M114518</link>
      <description>I have found out that the commandline interface will allow us to generate jobs from jobscripts (subscription version only).
&lt;BR /&gt;
&lt;BR /&gt;Only question remaining is : How do we generate jobs is a specified sub directory of a talend project?</description>
      <pubDate>Mon, 18 Sep 2017 14:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-multiple-jobs-from-Jobscript/m-p/2347241#M114518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-18T14:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Generate multiple jobs from Jobscript</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-multiple-jobs-from-Jobscript/m-p/2347242#M114519</link>
      <description>&lt;P&gt;I'm not sure this is possible (I have only generated like this as an experiment before). However, you could try adding the path as part of your file name. So, for example....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;createJob yourpath\within\the\commandline\workspace\JobName -sf path\YourJobscript.jobscript&lt;/PRE&gt;
&lt;P&gt;If there is a way to do it, I'm guessing the above would be it. I'd be interested to know if that works. You *may* have to create the path if it doesn't exist.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 17:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-multiple-jobs-from-Jobscript/m-p/2347242#M114519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-18T17:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Generate multiple jobs from Jobscript</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-multiple-jobs-from-Jobscript/m-p/2347243#M114520</link>
      <description>&lt;P&gt;Hi rhall_2_0,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for your suggestion, After pre-creating a directory in the project, I've tried a couple of scenarios to include the directory in the createJob path but have not been successful.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Using 1 backslash it seems to work at first sight, but the backslash is just handled as the escape character and ignored. This results in a job created in your project root as : &amp;lt;Directory name&amp;gt;&amp;lt;Jobname&amp;gt; (in my example : TestDirtestjob)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Using 2 backslashes (escaping) results in an error against the regex pattern which is checked by the command&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Command : 
talend&amp;gt; createJob TestDir\\testjob -sf /TestManual_0.1.item
Result : 
Label TestDir\testjob does not match pattern ^[a-zA-Z]+[a-zA-Z0-9\_]*$

Command : 
createJob TestDir\testjob -sf /TestManual_0.1.item
Result : 
COMPLETED at Tue Sep 19 11:39:23 CEST 2017&lt;/PRE&gt; 
&lt;P&gt;The only options for the createJob command are&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;talend&amp;gt; help createJob
+--------------------------------------------------------------------------------------------------+
|Talend Commandline Plugin :                                                                       |
| * arguments can be surrounded by (") or (') characters                                           |
| * the semi-colon (;) character can be used to separate commands from each other                  |
| * special characters (space \ " ' &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; can be escaped using the character (\)                      |
+--------------------------------------------------------------------------------------------------+
|  createJob jobName                   create job from script file                                 |
|      -o (--over_write)               to overwrite if job existed                                 |
|      -sf (--script_file) file path   job of script file                                          |
+--------------------------------------------------------------------------------------------------+
| Copyright (C) 2006-2016 Talend - www.talend.com                                                  |
+--------------------------------------------------------------------------------------------------+&lt;/PRE&gt; 
&lt;P&gt;So I guess it's not possible at the moment..&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks again for your reply!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 19 Sep 2017 10:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-multiple-jobs-from-Jobscript/m-p/2347243#M114520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-19T10:46:16Z</dc:date>
    </item>
  </channel>
</rss>

