<?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: Exporting environmental variables through shell script for talend job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Exporting-environmental-variables-through-shell-script-for/m-p/2316922#M87429</link>
    <description>Hi this issue occurs only while running it on a linux sever but in talend&lt;BR /&gt;studio error does not occur.&lt;BR /&gt;</description>
    <pubDate>Mon, 28 Aug 2017 16:32:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-28T16:32:38Z</dc:date>
    <item>
      <title>Exporting environmental variables through shell script for talend job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exporting-environmental-variables-through-shell-script-for/m-p/2316920#M87427</link>
      <description>&lt;P&gt;I am using the below shell script to run a job in Talend.&lt;/P&gt;
&lt;P&gt;export DATE=`date +%Y%m%d`&lt;BR /&gt;./job1.sh&lt;/P&gt;
&lt;P&gt;but i receive the below error:&lt;/P&gt;
&lt;P&gt;Processing Date : null&lt;BR /&gt;Exception in component tMysqlInput_2 (job1)&lt;BR /&gt;java.lang.NumberFormatException: null&lt;BR /&gt;at java.lang.Integer.parseInt(Integer.java:542)&lt;BR /&gt;at java.lang.Integer.parseInt(Integer.java:615)&lt;/P&gt;</description>
      <pubDate>Sat, 26 Aug 2017 02:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exporting-environmental-variables-through-shell-script-for/m-p/2316920#M87427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-26T02:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting environmental variables through shell script for talend job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exporting-environmental-variables-through-shell-script-for/m-p/2316921#M87428</link>
      <description>Can you share tMysqlInput_2 configuration or other component configuration which interact with the environment variable?</description>
      <pubDate>Sat, 26 Aug 2017 18:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exporting-environmental-variables-through-shell-script-for/m-p/2316921#M87428</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-08-26T18:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting environmental variables through shell script for talend job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exporting-environmental-variables-through-shell-script-for/m-p/2316922#M87429</link>
      <description>Hi this issue occurs only while running it on a linux sever but in talend&lt;BR /&gt;studio error does not occur.&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Aug 2017 16:32:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exporting-environmental-variables-through-shell-script-for/m-p/2316922#M87429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-28T16:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting environmental variables through shell script for talend job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exporting-environmental-variables-through-shell-script-for/m-p/2316923#M87430</link>
      <description>&lt;P&gt;This job works in talend studio, in windows as a batch script but not in linux.&lt;/P&gt;
&lt;P&gt;I changed my variable and now I am able to see the date but still face an error:&lt;/P&gt;
&lt;P&gt;script:&lt;/P&gt;
&lt;P&gt;export DATE=`date +%Y%m%d`&lt;BR /&gt;./job1.sh&lt;/P&gt;
&lt;P&gt;output:&lt;/P&gt;
&lt;P&gt;Processing Date : 20170828&lt;BR /&gt;Exception in component tMysqlInput_2 (job1)&lt;BR /&gt;"ava.lang.NumberFormatException: For input string: "20170828&lt;BR /&gt;at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)&lt;BR /&gt;at java.lang.Integer.parseInt(Integer.java:580)&lt;BR /&gt;at java.lang.Integer.parseInt(Integer.java:615)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 17:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exporting-environmental-variables-through-shell-script-for/m-p/2316923#M87430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-28T17:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting environmental variables through shell script for talend job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exporting-environmental-variables-through-shell-script-for/m-p/2316924#M87431</link>
      <description>&lt;P&gt;The input reads data WHERE Date="+Integer.parseInt(System.getenv(DATE))&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 17:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exporting-environmental-variables-through-shell-script-for/m-p/2316924#M87431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-28T17:03:12Z</dc:date>
    </item>
  </channel>
</rss>

