<?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: How to add unique batch ID to a job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226359#M18289</link>
    <description>Hi Shong, 
&lt;BR /&gt;This is where I am stuck. The source file does not contain any Batch_ID. I had to add two new fields while mapping using tMap and again add an additional tMap to map those two newly added fields. 
&lt;BR /&gt;I am successfull till producing a batch_id derieved from the "job run date" column, but I am unable to add a unique number in front of this&amp;nbsp; derieved column which is same for all the rows mapped for that particular run. 
&lt;BR /&gt;Thanks though. I wish someone else might have faced this issue and came out with something innovative.</description>
    <pubDate>Thu, 23 Apr 2015 04:37:53 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2015-04-23T04:37:53Z</dc:date>
    <item>
      <title>How to add unique batch ID to a job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226357#M18287</link>
      <description>Hi,
&lt;BR /&gt;I want to add an Batch_ID to my job which runs daily. But this Batch ID should be unique for each run and needs to be incremental.
&lt;BR /&gt;I created a variable which converts my job run start date into integer and gives me output in form of "yyyyMMdd". Now I want to add a unique number in front of this "yyyyMMdd", so that it serves as a BATCH_ID for that particular run. Point to be noted is, it should add only one number in front of "yyyyMMdd" for each run of the job, and should be incremental for the subsequent runs. I hope i have written my query very clearly.
&lt;BR /&gt;I willbe grateful if someone could help me out.</description>
      <pubDate>Wed, 22 Apr 2015 14:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226357#M18287</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-04-22T14:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to add unique batch ID to a job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226358#M18288</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;If you want the batch_Id to be incremental for each run, you need to write batch_Id to somewhere such as file or database, read this batch_Id at the beginning of job, use this batch_id in the job and update it to the destination at the end of job. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 22 Apr 2015 14:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226358#M18288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T14:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to add unique batch ID to a job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226359#M18289</link>
      <description>Hi Shong, 
&lt;BR /&gt;This is where I am stuck. The source file does not contain any Batch_ID. I had to add two new fields while mapping using tMap and again add an additional tMap to map those two newly added fields. 
&lt;BR /&gt;I am successfull till producing a batch_id derieved from the "job run date" column, but I am unable to add a unique number in front of this&amp;nbsp; derieved column which is same for all the rows mapped for that particular run. 
&lt;BR /&gt;Thanks though. I wish someone else might have faced this issue and came out with something innovative.</description>
      <pubDate>Thu, 23 Apr 2015 04:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226359#M18289</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-04-23T04:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to add unique batch ID to a job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226360#M18290</link>
      <description>For the first run, the source file doesn't contain any batch_id, you can initialize a default value, and then, concatenate it with the 'job run date' string.</description>
      <pubDate>Thu, 23 Apr 2015 05:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226360#M18290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-23T05:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to add unique batch ID to a job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226361#M18291</link>
      <description>Thank you shong.</description>
      <pubDate>Thu, 23 Apr 2015 11:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226361#M18291</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-04-23T11:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to add unique batch ID to a job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226362#M18292</link>
      <description>&lt;P&gt;Hi Friend,&lt;/P&gt;&lt;P&gt;My name is shamly.&lt;/P&gt;&lt;P&gt;Could you please share a screenshot of this operation?&lt;/P&gt;&lt;P&gt;My source files don't have batch id. But I want to generate batch id for every file.&lt;/P&gt;&lt;P&gt;How can I achieve those?? Any screenshots please. I am very new to talend.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 06:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-add-unique-batch-ID-to-a-job/m-p/2226362#M18292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-12T06:26:06Z</dc:date>
    </item>
  </channel>
</rss>

