<?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: to generate an alphanumeric counter in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304418#M76194</link>
    <description>&lt;P&gt;Hello Sabrina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried but i was not able to achieve, could you pls help with an example on how this can be achieved?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2020 08:02:08 GMT</pubDate>
    <dc:creator>nnaren</dc:creator>
    <dc:date>2020-11-05T08:02:08Z</dc:date>
    <item>
      <title>to generate an alphanumeric counter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304416#M76192</link>
      <description>&lt;P&gt;I am trying to figure out a way in talend to generate an alphanumeric counter that creates numbers in the following way:&lt;/P&gt;&lt;P&gt; YYXXXXXXXX Where YY is calendar year XXXXXXXX is id which is alphanumeric counter (starting sequence number 00000001 to ZZZZZZZZ every year)&lt;/P&gt;&lt;P&gt;Every new year, 8 character ID should be reset and start again with 00000001&lt;/P&gt;&lt;P&gt;Sequence should appear like 00000001 00000002 00000003 ... 99999999&lt;/P&gt;&lt;P&gt;A0000001 A0000002 A0000003 ... A9999999&lt;/P&gt;&lt;P&gt;B0000001 B0000002 B0000003 ... B9999999&lt;/P&gt;&lt;P&gt;Z0000001 Z0000002 Z0000003 ... Z9999999 ...&lt;/P&gt;&lt;P&gt;ZA000001 ZA000002 ZA000003 ... ZA999999&lt;/P&gt;&lt;P&gt;...... ZZZZZZZZ The last number would be ZZZZZZZZ. So it would 1-9 first, then A-Z after that.&lt;/P&gt;&lt;P&gt;And the year the last id that we can accommodate in a year will be 20ZZZZZZZZ&lt;/P&gt;&lt;P&gt;kindly suggest a way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304416#M76192</guid>
      <dc:creator>nnaren</dc:creator>
      <dc:date>2024-11-16T01:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: to generate an alphanumeric counter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304417#M76193</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;Please take a look at component: &lt;A href="https://help.talend.com/reader/9YnTkIWsjt1mTp8RRX1_pA/XFbmIzmdSPpoVQArzXMk4Q" alt="https://help.talend.com/reader/9YnTkIWsjt1mTp8RRX1_pA/XFbmIzmdSPpoVQArzXMk4Q" target="_blank"&gt;TalendHelpCenter: tRowGenerator&lt;/A&gt; which generates as many rows and fields as are required using random values taken from a list.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 03:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304417#M76193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-05T03:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: to generate an alphanumeric counter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304418#M76194</link>
      <description>&lt;P&gt;Hello Sabrina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried but i was not able to achieve, could you pls help with an example on how this can be achieved?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 08:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304418#M76194</guid>
      <dc:creator>nnaren</dc:creator>
      <dc:date>2020-11-05T08:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: to generate an alphanumeric counter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304419#M76195</link>
      <description>&lt;P&gt;I suggest you write a routine :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A0000002 = myRoutine.nextValue("A0000001")&lt;/P&gt;&lt;P&gt;B0000001&amp;nbsp;= myRoutine.nextValue("A9999999")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should not be difficult to handle it with java&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;extract the 7 last char of the input param, &lt;/P&gt;&lt;P&gt;then convert to integer&lt;/P&gt;&lt;P&gt;if value &amp;lt;&amp;gt; 9999999 then add 1, complete with 0 and append to the first&lt;/P&gt;&lt;P&gt;else you handle using the first char ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 09:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304419#M76195</guid>
      <dc:creator>wcfsmart</dc:creator>
      <dc:date>2020-11-05T09:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: to generate an alphanumeric counter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304420#M76196</link>
      <description>&lt;P&gt;Hello nnaren&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have you tried using a routine?&lt;/P&gt;&lt;P&gt;is it working?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 08:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304420#M76196</guid>
      <dc:creator>wcfsmart</dc:creator>
      <dc:date>2020-11-06T08:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: to generate an alphanumeric counter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304421#M76197</link>
      <description>&lt;P&gt;I am not much aware about routines.. I am new to talend&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 08:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/to-generate-an-alphanumeric-counter/m-p/2304421#M76197</guid>
      <dc:creator>nnaren</dc:creator>
      <dc:date>2020-11-06T08:37:59Z</dc:date>
    </item>
  </channel>
</rss>

